|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
how to modify repsonse namespace in soap nodes |
« View previous topic :: View next topic » |
Author |
Message
|
adars1 |
Posted: Sat Sep 25, 2010 10:54 am Post subject: how to modify repsonse namespace in soap nodes |
|
|
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 |
|
 |
mqjeff |
Posted: Sat Sep 25, 2010 12:04 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Yes, you use a method on the MbElement class. |
|
Back to top |
|
 |
adars1 |
Posted: Sat Sep 25, 2010 12:13 pm Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Sat Sep 25, 2010 4:23 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|