Author |
Message |
Topic: Set SOAP body in Java |
mqqqqqq
Replies: 10 Views: 7733
|
Forum: IBM MQ Java / JMS Posted: Wed Feb 01, 2012 7:05 am Subject: Set SOAP body in Java |
Thats what I thought but when I tried that, the Body node changed to the XMLNSC domain for some reason. |
Topic: Set SOAP body in Java |
mqqqqqq
Replies: 10 Views: 7733
|
Forum: IBM MQ Java / JMS Posted: Wed Feb 01, 2012 6:51 am Subject: Set SOAP body in Java |
Thanks. For anybody else wanting to know how to do this, all you need to do is detach the old body, then:
MbElement soapRoot = outMessage.getRootElement().createElementAsLastChild(&qu ... |
Topic: Set SOAP body in Java |
mqqqqqq
Replies: 10 Views: 7733
|
Forum: IBM MQ Java / JMS Posted: Tue Jan 31, 2012 7:21 am Subject: Set SOAP body in Java |
Perhaps the only things we know that you've done are the things that you've explicitly stated here?
Agreed. And the code I pasted here copies the incoming messages body to a new element Body withi ... |
Topic: Set SOAP body in Java |
mqqqqqq
Replies: 10 Views: 7733
|
Forum: IBM MQ Java / JMS Posted: Tue Jan 31, 2012 6:11 am Subject: Set SOAP body in Java |
Perhaps I've already tried looking for an example in the documentation, and not found anything. And perhaps after that I looked on the web and still couldn't find an example?
I haven't signed up he ... |
Topic: Set SOAP body in Java |
mqqqqqq
Replies: 10 Views: 7733
|
Forum: IBM MQ Java / JMS Posted: Tue Jan 31, 2012 5:43 am Subject: Set SOAP body in Java |
So is there no way to create a new soap message using the incoming message body, and I will have to continue using ESQL?
I just need to be able to replicate whatever "SOAP.Body" does. |
Topic: Set SOAP body in Java |
mqqqqqq
Replies: 10 Views: 7733
|
Forum: IBM MQ Java / JMS Posted: Tue Jan 31, 2012 5:05 am Subject: Set SOAP body in Java |
Hello,
I need some java code that replicates this ESQL.
SET OutputRoot.SOAP.Body = InputBody;
Help would be much appreciated!
(Using version 6.1) |