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 » Generating SOAP message

Post new topic  Reply to topic
 Generating SOAP message « View previous topic :: View next topic » 
Author Message
foggyguy
PostPosted: Fri Jan 12, 2007 6:49 am    Post subject: Generating SOAP message Reply with quote

Novice

Joined: 26 Aug 2003
Posts: 18
Location: Ireland

This is my first experience of SOAP messages. I need to create the following message in a Compute node and populate the <arg>,<key> and <value> aggregates. I would greatly appreciate any help!!!!!!!
<?xml version="1.0" encoding = "ISO-8859-1"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<invokeService soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<arg0 xsi:type="xsd:string"></arg0>
<arg1 xsi:type="xsd:string"></arg1>
<arg2 xsi:type="xsd:string"></arg2>
<arg3 href="#id0"/>
</invokeService>
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns1:Map" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://xml.apache.org/xml-soap">
<item>
<key xsi:type="xsd:string"></key>
<value xsi:type="xsd:string"></value>
</item>
<item>
<key xsi:type="xsd:string"></key>
<value xsi:type="xsd:string"></value>
</item>
<item>
<key xsi:type="xsd:string"></key>
<value xsi:type="xsd:string"></value>
</item>
<item>
<key xsi:type="xsd:string"></key>
<value xsi:type="xsd:string"></value>
</item>
</multiRef>
</soapenv:Body>
</soapenv:Envelope>
Back to top
View user's profile Send private message Send e-mail
gregop
PostPosted: Fri Jan 12, 2007 7:44 am    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2006
Posts: 81

Well you've several choices.

First have a look through the wmb documentation on SOAP. There's plenty of it!

You could of course just build your entire soap message in esql using XMLNS/XMLNSC parser.

If you're using WMB V6 then an easier approach could be to import the wsdl file associated with the soap message as a message definition file.

Use that message set for your MQ Output, messageType = 'Envelope'

Write some esql to load the Envelope/Body element. It will be easy to get the correct syntax using the completions funtion (ctrl->spacebar).

The message definition will contain the Envelope/Header stuff so you don't have to worry about that.
Back to top
View user's profile Send private message
vsr
PostPosted: Fri Jan 12, 2007 7:51 am    Post subject: Reply with quote

Centurion

Joined: 04 Apr 2006
Posts: 104

Refer Chapter4 :

http://www.redbooks.ibm.com/abstracts/sg246583.html?Open

If you are using V6 then there is are web service samples in the samples gallary to refer ..

And also have a look at Support Pack IA81

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27007197#5
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Generating SOAP message
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.