cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SOAP request syntax in content modifier

Former Member
0 Likes
1,935

I'm getting this error while making a simple soap call in request-reply step. request is captured using Content modifier.

java.lang.IllegalArgumentException: The PayLoad elements cannot fit with the message parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage. Please let me know the syntax of the request in the content modifier step? see attached/below screenshots.

View Entire Topic
former_member666312
Active Participant

Hi,

seems the Namespaces are missing that's why it is failing. Please check the below payload which is working with the timer.

<web:NumberToDollars xmlns:web="http://www.dataaccess.com/webservicesserver/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<web:dNum>10</web:dNum>
</web:NumberToDollars>
Former Member
0 Likes

Tried with Namespace, didn't work. The following below are the different options that I tried. Getting same error.

1.**************************************************

<web:NumberToDollars>
<web:dNum>1000000</web:dNum>
</web:NumberToDollars>

2.**************************************************

<web:dNum>1000000</web:dNum>

3.**************************************************

1000000

4.**************************************************

<web:NumberToDollars xmlns:web="http://www.dataaccess.com/webservicesserver/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<web:dNum>1000000</web:dNum>
</web:NumberToDollars>

5. Changed the Type to Constant vs Expression within the modifier. Per say, tried 8-9 combinations with the above.

Former Member
0 Likes

Thanks, it worked with your content. There was a type mistake in my earlier code. This piece ":web" was missing in my namespace which killed me around 2 days in troubleshooting :(. Searched everywhere(google, forums and etc) for help.

xmlns="http://www.dataaccess.com/webservicesserver/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:web="http://www.dataaccess.com/webservicesserver/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"