Hi ,
I am trying to consume external web services "http://www.webserviceX.NET/CurrencyConvertor.asmx" in rpg program for currency conversion.
We followed the below steps
1. First generated C stubs using WSDL2SH tool from the WSDL file(attached the WSDL for the reference).
2. Tool generated C stubs Currency.C and CurrencyConvertorSoap.C only (but in Integrated Web service for i help from IBM,it has been mentioned that, it will generate C-stubs for input, port and result.....??????)
3. Created C objects using CRTCMOD using the stubs
4. Created RPG module (attached for reference) to consume web service
5. Created Program by binding RPG module and C module
If we call the program, we couldn't able to get the results , returned XML string is having some junk values. Attached the error also.
Please help us to resolve this issue
Thanks in advance
I am trying to consume external web services "http://www.webserviceX.NET/CurrencyConvertor.asmx" in rpg program for currency conversion.
We followed the below steps
1. First generated C stubs using WSDL2SH tool from the WSDL file(attached the WSDL for the reference).
2. Tool generated C stubs Currency.C and CurrencyConvertorSoap.C only (but in Integrated Web service for i help from IBM,it has been mentioned that, it will generate C-stubs for input, port and result.....??????)
3. Created C objects using CRTCMOD using the stubs
4. Created RPG module (attached for reference) to consume web service
5. Created Program by binding RPG module and C module
If we call the program, we couldn't able to get the results , returned XML string is having some junk values. Attached the error also.
Please help us to resolve this issue
Thanks in advance
Comment