WSDL2RPG - change URL after creation of client pgm

Any IBM i topic that does not fit in another forum
Locked
chef
Posts: 3
Joined: Wed Nov 23, 2022 7:19 am

WSDL2RPG - change URL after creation of client pgm

Post by chef »

Several client programs (generated from Raddatz-WSDL2RPG) have been tested as aimed at one server, for which they were generated (according to each WSDL). Now I would like to aim the same client programs at a different server, without having to re-generate the client programs (using command WSDL2RPG). Is this as simple as changing the url in module WSS000x (the value of named constant cURL), re-compiling WSS000x, re-creating the service pgm using the new module, and re-creating the client pgm using the new service pgm? Or will that not suffice? If not, can this be done some other way? If so, how?

Thanks for your consideration.
Scott Klement
Site Admin
Posts: 658
Joined: Sun Jul 04, 2021 5:12 am

Re: WSDL2RPG - change URL after creation of client pgm

Post by Scott Klement »

This is a duplicate post. If you'd like to follow up, please do so in this thread:
https://www.scottklement.com/forums/viewtopic.php?t=352
Locked