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 » WebSphere Message Broker (ACE) Support » How to create SOAP request in ESQL using <soapenv:Envelop

Post new topic  Reply to topic
 How to create SOAP request in ESQL using <soapenv:Envelop « View previous topic :: View next topic » 
Author Message
tchan
PostPosted: Thu Feb 16, 2012 9:27 am    Post subject: How to create SOAP request in ESQL using <soapenv:Envelop Reply with quote

Newbie

Joined: 16 Feb 2012
Posts: 8

Does anyone know how to create a SOAP request in ESQL as an output message to a SOAPRequest node?

I created the message set and message definition based on a WSDL. I used "SOAP" as the domain. The broker (v.7) automatically provided the "soap.mxsd" and "soapenv11.mxsd".

In the ESQL code I set the MessageSet, the MessageType, and the MessageFormat ("XML1"). I aslo set the namespaces for "soapenv" and for the web service. I used "OutputRoot. SOAP.BODY.myns:" to set up the message body.

However, the web service sent me back a SOAP fault because it said the SOAP request is invalid. I put a trace node and I noticed that the root tag of the SOAP request used "<SOAP_Domain_Msg>" instead of "<soapenv:Envelope>". The broker generated "<SOAP_Domain_Msg>" using the "soap.mxsd", but how can I tell the broker in my esql code to use "<soapenv:Envelope>" instead?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Feb 16, 2012 9:37 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Please attend the WM663 class. They will show you how to do this.

http://www-304.ibm.com/jct03001c/services/learning/ites.wss/us/en?pageType=course_description&courseCode=WM663
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to create SOAP request in ESQL using <soapenv:Envelop
Jump to:  



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
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.