on 2020 Jan 10 8:22 PM
I'm getting an error running a simple iflow to perform a SOAP call using a Timer, Content Modifier, and Request/Response:
java.lang.IllegalArgumentException: The PayLoad elements cannot fit with the message parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage.
This error seems to be saying thay that CPI is validating the XML payload and the validation is failing before it calls the web service. I see this problem has been posted several times and several answers given and I've tried many solutions but none have corrected the problem for me.
I successfully used SOAPUI to call the same webservice method and it worked and returned a token:
When creating the iFlow I uploaded the WSDL as a resource, and in the SOAP channel I selected the LOGIN operation and SAP auto-populated the channel operation and added the namespace to the Runtime Configuration:
The SOAP connection:
I traced the payload sent to the webservice and it looked ok:
This is the error as it appeared in the log:
The WSDL is located here:
https://test.c3reservations.com/BreakthruBev-WS/PurchaseOrderWebService?wsdlCan anyone see what I need to change to make this work?
Thanks in advance!!!
Request clarification before answering.
Hello Ken,
Create a message mapping just before making call to your SOAP Service having target structure as target systems WSDL to make sure all the required namespaces are sent then it should resolve your issue
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Sriprasad. I attempted this but when creating the mapping in CPI the list of structures from the WSDL does not list the login message so it seems I cannot map it using the Create message mapping function. Could this be a problem with the WSDL? The WSDL is attached.
The WSDL is located here:
https://test.c3reservations.com/BreakthruBev-WS/PurchaseOrderWebService?wsdl
User | Count |
---|---|
72 | |
21 | |
9 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.