Except even IBM says "wsdl2rpg"...

"OSP-IWS WSDL2RPG Web service client support"

"The wsdl2rpg.sh tool enables users to generate RPG Web
service client stubs that can be used by an RPG application
to consume a Web service."

https://www-01.ibm.com/support/docview.wss?uid=nas3SI42234

I still blame IBM...there's no reason to have used such a short name! :D ;)

Charles

On Tue, Mar 13, 2018 at 2:43 PM, Scott Klement <web400@xxxxxxxxxxxxxxxx>
wrote:

...but... IBM didn't name their tool "WSDL2RPG". They named their tool
Integrated Web Services (IWS) client, and it happens to have a shell script
named "wsdl2rpg.sh" inside the tool.

Sort of like how the operating system is named IBM i, but yet has a
command named WRKOBJ. That doesn't mean we call the operating system
"WRKOBJ".

To me the frustrating bit is that users (not IBM) keep referring to the
IWS client as "wsdl2rpg" despite that it's not it's name!! And, yes, there
is another tool (that has been around longer) called WSDL2RPG. But, this
wouldn't be confusing if people referred to the IBM tool by it's actual
name.

-SK



On 3/13/2018 11:38 AM, Jon Paris wrote:

Not aimed at you specifically Nick but for the reference of others ...

There are AT LEAST TWO RPG oriented tools with the name WSDL2RPG. The
original one from Thomas Raddatz which is based on Scott Klement's HTTPAPI
under the covers. The second one is from IBM who apparently did not check
the market before naming theirs.

It sounds as if you are talking about the IBM version. If that is the
case it sounds to me as if you should be talking to IBM support - assuming
you've already checked PTF levels etc.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Mar 12, 2018, at 3:13 PM, Nick Stoltzfus <magnum8930@xxxxxxxxx> wrote:

I'm trying to consume a SOAP API web service WSDL using WSDL2RPG. To
test the concept, I did it for a couple simple web services and it worked
well. The WSDL that I need to consume is for an integration to NetSuite.
When I run the command to create the objects on the IBM i it gets stuck on
the creation of the service program.
It's been stuck there for 2 days. It tells me to be patient, but I have
my limits. Looking at the job log the last thing it's doing is trying to
do a Client request - run command QSYS/CRTRPGMOD. My QSH commands are
below. Any ideas?
/QIBM/ProdData/OS/WebServices/V1/client/BIN/wsdl2rpg.sh
-o/home/nstoltzfus/nsapi
-s/QSYS.LIB/NSPGMX.LIB/NSAPI.SRVPGM

nsapi/wsdl/netsuite.wsdl

Attempting to generate stub code...

Code generation completed. Generated files in directory
'/home/nstoltzfus/nsapi'.

Attempting to create service program, please
be patient...

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



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.