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 modify repsonse namespace in soap nodes

Post new topic  Reply to topic
 how to modify repsonse namespace in soap nodes « View previous topic :: View next topic » 
Author Message
adars1
PostPosted: Sat Sep 25, 2010 10:54 am    Post subject: how to modify repsonse namespace in soap nodes Reply with quote

Apprentice

Joined: 13 Jun 2010
Posts: 39

I have soap input node, after receiving web service request, depending on the condition i will call different web service end points hosted on app server.

If I call the soap node web service from my client and from broker soap node
if i call same web service end point on app server i received from request, client works fine.
If I change the end point(what I received from client) to point to another end point service on app server and I send response I got from app server to client, client complains about different namespace in response(since soap node sends the same response it got from app server web service).

Is there a way to change the response namespace received from app server response to point it back to the namespace of client web service request.
Iam using java for all coding on MB v6.1.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sat Sep 25, 2010 12:04 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Yes, you use a method on the MbElement class.
Back to top
View user's profile Send private message
adars1
PostPosted: Sat Sep 25, 2010 12:13 pm    Post subject: Reply with quote

Apprentice

Joined: 13 Jun 2010
Posts: 39

I tried to get namespace of response using MBMessqage.getRootElement.getElement of '/SOAP/Envelope/SOAP/Context/nameSpacePort', but it is returning null. could you please put code snippet if you have one.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sat Sep 25, 2010 4:23 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What does getElement() return?

What kind of object?

What are the methods of that object, according to the documentation?

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 » how to modify repsonse namespace in soap nodes
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.