on ‎2020 Sep 14 10:37 AM
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.



Request clarification before answering.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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/"
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.