× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Jay,

Which ways are you thinking and what is your meaning about solutions using camel?

kf

-----Ursprüngliche Nachricht-----
Von: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] Im Auftrag von Jay Vaughn
Gesendet: Mittwoch, 10. Mai 2023 15:34
An: RPG programming on IBM i
Betreff: Re: How to debug a webservice? (RPGLE on IWS)

First off this has nothing to do with IWS..,

I developed a webservice api framework a few years ago that really shines in areas like this.

An sqlrpgle pgm sits between Apache and my sqlrpgle webservice pgms. It handles a the http stuff.

Because of that I can test any of them locally but it’s also easy to debug remote requests as well.

The request and response jsons get logged along with the cgi job name. So just find the last api transaction and tell it to start a service job and debug the associated webservice pgm. The next off platform request triggers the debug.

There ARE ways other than IWS to implement and IBM i api webservice framework, which can give you a whole lot more flexibility, especially if you know the IBM i architecture well.

Jay

On May 10, 2023, at 9:09 AM, Eric Hill via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:

Maybe this will help. I've debugged web service programs using this with no problems....

https://www.itjungle.com/2012/10/03/fhg100312-story01/

Eric Hill
Senior Software Developer
Integrated Corporate Solutions
ehill@xxxxxxxxxxxxx
256-760-8239


NOTICE:
This message may contain privileged or otherwise confidential information.
If you are not the intended recipient, please immediately advise the sender
by reply e-mail and delete the message and any attachments without using,
copying or disclosing the contents.

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Martin Neugebauer via RPG400-L
Sent: Wednesday, May 10, 2023 1:09 AM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Cc: Martin Neugebauer <neugebauer_m@xxxxxxxxx>
Subject: How to debug a webservice? (RPGLE on IWS)

CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hello all experts.
I installed my webservice on the https://urldefense.proofpoint.com/v2/url?u=http-3A__IWS.It&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=vF4eKo1sCTNheR-l4fvgsym5TnbK2eSWXvTFhdOktpI&m=aOFacQL6OkeBC5K-ai_EE7J6cg_jXzb9tlICWbo1tco&s=7PE0UZ_Celoe0t7aSovVXintfj1XlqAsh-YrZxOvz4U&e='s an RPGLE program.
How can i debug it?
In RDi (9.6.0.12) i define a Service Entry Point (SEP), specifying the userid as defined in the webservice.When i test the webservice (with SOAP), the SEP never activates.I also tried defining the SEP with my userid, the userids the servers run (QH.....) to no avail.
What do i miss?
Thank you very much for hints!Best regards from Switzerland, Martin Neugebauer
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=vF4eKo1sCTNheR-l4fvgsym5TnbK2eSWXvTFhdOktpI&m=aOFacQL6OkeBC5K-ai_EE7J6cg_jXzb9tlICWbo1tco&s=bAgrJz3OZBJRDX-dJJKRJtMDjFEakZUhpO9UDHpYnxs&e=
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_rpg400-2Dl&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=vF4eKo1sCTNheR-l4fvgsym5TnbK2eSWXvTFhdOktpI&m=aOFacQL6OkeBC5K-ai_EE7J6cg_jXzb9tlICWbo1tco&s=XbLwVASu_wV8EnqB_iJ8b5zOSVcB2L4ZRnrONzgh7JY&e=.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.