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 » Implementing SOAP nodes(envelope & extract) for WBIMB fl

Post new topic  Reply to topic
 Implementing SOAP nodes(envelope & extract) for WBIMB fl « View previous topic :: View next topic » 
Author Message
Sam Uppu
PostPosted: Mon Aug 31, 2009 7:57 am    Post subject: Implementing SOAP nodes(envelope & extract) for WBIMB fl Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

Hi Guys,
We are planning to migrate our WBIMB 5.0 flows to 6.1 and implement SOAP envelope and extract nodes for handling SOAP msgs.

The problem is we have multiple msg flows to handle the msg.

In the first msg flow we will remove the SOAPEnvelope to the incoming SOAP msg and do the manipulations and send the same XMLNS msg to another flow where we add some more business logic and attach the SOAPHeader again by using SOAPEnvelope node and send it to the source app.

We are saving the SOAP Header to the Environmental variable and saving in a queue. When we again attach the SOAP header with SOAPEnvelope node, we will get the SOAPEnvelope saved in the queue by using a GET node.

The below is the sample msg used:
................................................

<?xml version="1.0"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://ws3.st.mqsi.ibm.com/App/DocLiteral1"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<tns:requestHeader>
<tns:assessorUrl>header1</tns:assessorUrl>
</tns:requestHeader>
</soapenv:Header>
<soapenv:Body>
<tns:requestAvailability>
<tns:carDetails>body1</tns:carDetails>
<tns:claimID>body2</tns:claimID>
<tns:location>body3</tns:location>
<tns:reqDate>body4</tns:reqDate>
</tns:requestAvailability>
</soapenv:Body>
</soapenv:Envelope>

..................................................................

In the output msg of the SOAPEnvelope, we are getting the NS1, NS2 extra to each of the XML tag. Not sure how to avoid them.

<NS1:Envelope xmlns:NS1="http://schemas.xmlsoap.org/soap/envelope/">
<NS1:Header>
<NS2:requestHeader xmlns:NS2="http://ws3.st.mqsi.ibm.com/App/DocLiteral1">
<NS2:assessorUrl>header1</NS2:assessorUrl>
</NS2:requestHeader>
</NS1:Header>
<NS1:Body>
<NS1:requestAvailability xmlns:NS1="http://ws3.st.mqsi.ibm.com/App/DocLiteral1">
<NS1:carDetails>body1</NS1:carDetails>
<NS1:claimID>body2</NS1:claimID>
<NS1:location>body3</NS1:location>
<NS1:reqDate>body4</NS1:reqDate>
</NS1:requestAvailability>
</NS1:Body>
</NS1:Envelope>
...............................................

Any thoughts would be appreciated.

Thanks.
Back to top
View user's profile Send private message
AkankshA
PostPosted: Mon Aug 31, 2009 9:31 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

in order to avoid NS1, NS2 etc u need to declare the namespaces in a variable and then use the same
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
WMBDEV1
PostPosted: Tue Sep 01, 2009 12:53 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

Are you working with mqexplorer because your post is very similar to this recent thread:
http://www.mqseries.net/phpBB2/viewtopic.php?t=50643&postdays=0&postorder=asc&start=0

Which leads me to suspect you pair are either double posting or you're not doing your searches up front?
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Tue Sep 01, 2009 6:19 am    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

WMBDEV1 wrote:
Are you working with mqexplorer because your post is very similar to this recent thread:
http://www.mqseries.net/phpBB2/viewtopic.php?t=50643&postdays=0&postorder=asc&start=0

Which leads me to suspect you pair are either double posting or you're not doing your searches up front?


Yes. We are working together and we were desperate to get it resolved..

Anyway I see your responses to mqxplorer..thanks.
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 » Implementing SOAP nodes(envelope & extract) for WBIMB fl
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.