|
(also posted same issue to IBM developerworks RPG forum)
I'm trying to get familiar with consuming webservices using IBM's WSDL2RPG tooling. Tried following the instructions in "Web Services Client for ILE Programming Guide" - Chapter 21, to generate the RPG stub code for the sample GetQuotes operation. When I try the wsdl2ws.sh command in qshell, I get rejected with:
"java.io.FileNotFoundException: /home/MKOESTER/QIBM/ProdData/OS/WebServices/V1/client/samples/getQuote/GetQuote.wsdl (a file or directory in the path name does not exist.)"
Okay, I deviated from the instructions where it said to create a library "MYGETQUOTE". The SysAdmin doesn't go for anyone creating libraries here, so I figured I could use my assigned development library, "MKOESTER" and substitute that into the command for the two occurrences of MYGETQUOTE.
I'll also confess to there being a folder named MKOESTER in the home directory on our IFS, but it seems like the tool generating the pieces and looking for the pieces should keep to its own sandbox.
The command I used in qshell is:
/QIBM/ProdData/OS/WebServices/V1/client/bin/wsdl2ws.sh
-o/MKOESTER/RPG -lrpg -ms256 -ma5
-s/qsys.lib/MKOESTER.lib/wsrpg.srvpgm
QIBM/ProdData/OS/WebServices/V1/client/samples/getQuote/GetQuote.wsdl
(and I tried modifying the o- parameter to -o/qsys.lib/MKOESTER.lib/RPG as well as a few other variations. Same error.) I've confirmed with Navigator that the path to wsdl2ws.sh is correct, as is the path to GetQuote.wsdl.
We've been running 7.1 for a couple months here, and I'm told we're pretty current with PTF's, but no promises there. I've programmed in RPG for a few decades, but have no C++ experience and I'm new to QSH as well. I'd appreciate all insights anyone can offer.
Many thanks.
Michael Koester
As an Amazon Associate we earn from qualifying purchases.
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.