|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SOAP Error : No operation found matching payload in IIB V10 |
« View previous topic :: View next topic » |
Author |
Message
|
bab |
Posted: Tue Jul 05, 2016 11:01 pm Post subject: SOAP Error : No operation found matching payload in IIB V10 |
|
|
Novice
Joined: 05 Jul 2016 Posts: 17
|
Hi,
I am new to IIB. I am trying to implement SOAP web service using Java Compute Node.
Flow :
SOAP Input -> Java Compute -> SOAP Reply
I am adding two numbers and returning the response.
I am able to receive SOAP Input and process it. Also I have generated output as follows:
SOAP
->Body
-->addResponse
------>return : 10
I have created the above response using java in the following way:
Code: |
MbElement outputSOAPElement = outputRootElement.createElementAsLastChild(inputSOAPRootElement.getParserClassName());
MbElement outputBodyElement = outputSOAPElement.createElementAsLastChild(MbElement.TYPE_NAME,"Body",null);
MbElement responseElement = outputBodyElement.createElementAsLastChild(MbElement.TYPE_NAME,"addResponse",null);
responseElement.createElementAsLastChild(MbElement.TYPE_NAME,"return",sum); // sum = 10
|
When sending the above response to SOAP Reply node, it will throw the SOAP tree cannot be serialized - No operation found matching payload error.
How to rectify this error? Am i doing correctly in java? Is there any other process need to before sending to SOAP Reply?
I have been stuck up with this. Please help.
Thanks in advance... |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jul 06, 2016 3:49 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Use a trace node to view the contents of the logical message tree. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jul 06, 2016 7:44 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Maybe you are missing some namespaces for the response?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|