cancel
Showing results for 
Search instead for 
Did you mean: 

CPI Soap Error: PayLoad elements cannot fit with the message parts of the BindingOperation

9,573

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?wsdl

Can anyone see what I need to change to make this work?

Thanks in advance!!!

View Entire Topic

I overcame the validation error by blanking out these four fields in the SOAP channel configuration:

0 Kudos

Hi, when I try to blank Service, Endpoint, OperationName and URL to WSDL...I receive an error:
org.apache.cxf.interceptor.Fault: Could not generate the XML stream caused by: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "ws"

at [row,col {unknown-source}]: [1,17]., cause: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "ws"
at [row,col {unknown-source}]: [1,17]

This is my WSDL (http://maurelli.catalistino.it/ws_catalistino2.php), please, can you help me ?