ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Search

 Search found 6 matches
Author Message
  Topic: Set SOAP body in Java
mqqqqqq

Replies: 10
Views: 7733

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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)
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.