Call services with 2 different operation
Posted: Fri Dec 01, 2023 11:58 am
Hi everyone!
I need to call a SOAP service from an RPGLE program.
By verifying the call with SOAPUI the endpoint responds correctly while from AS400 it does not.
I already call other services without problems but I see that there is a difference if I look at the SOAPUI and that is that I have 2 different operation.
Could this be the problem?
My call is as follows:
http_setOption('SoapAction': '""') ;
http_stmf('POST':URL:%Trim(IFSRcv):%Trim(IFSSnd):'text/xml');
What do I need to change to specify which operation to use?
thanks so much for the help
Cinzia
I need to call a SOAP service from an RPGLE program.
By verifying the call with SOAPUI the endpoint responds correctly while from AS400 it does not.
I already call other services without problems but I see that there is a difference if I look at the SOAPUI and that is that I have 2 different operation.
Could this be the problem?
My call is as follows:
http_setOption('SoapAction': '""') ;
http_stmf('POST':URL:%Trim(IFSRcv):%Trim(IFSSnd):'text/xml');
What do I need to change to specify which operation to use?
thanks so much for the help
Cinzia