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 » reading the root tag of a soap message in MRM domain

Post new topic  Reply to topic
 reading the root tag of a soap message in MRM domain « View previous topic :: View next topic » 
Author Message
kimbert
PostPosted: Fri May 19, 2006 3:02 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I would like the root tag of the body. Here in the following example it is shown as roottag.

What is your question? Please tell us what you are trying to do, and what is going wrong.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri May 19, 2006 3:25 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
But the message is coming as MRM. thats the problem.
I have no idea what you mean.

- reserveAppointmentRequest is not the root tag of that message. It is two levels deep.
- What do you mean when you say ' the message is coming as MRM' ?
- What does the '-' mean in your message description?
Code:
- <soapenv:Envelope


Please take time to tell us
- Exactly what your input message looks like ( no '-'s and no careless typos, please).
- Exactly what ESQL you have written ( or whatever)
- Exactly what the message tree looks like ( put in a trace node if you don't know ).
Back to top
View user's profile Send private message
Tibor
PostPosted: Fri May 19, 2006 6:37 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Try this (not tested):
Code:
DECLARE soap NAMESPACE 'http://schemas.xmlsoap.org/soap/envelope/';
SET roottag = FIELDNAME(InputRoot.MRM.soap:Envelope.soap:Body)
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri May 19, 2006 12:33 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Tibor wrote:
Try this (not tested):
Code:
DECLARE soap NAMESPACE 'http://schemas.xmlsoap.org/soap/envelope/';
SET roottag = FIELDNAME(InputRoot.MRM.soap:Envelope.soap:Body)

Code:
DECLARE soap NAMESPACE 'http://schemas.xmlsoap.org/soap/envelope/';
SET roottag = FIELDNAME(InputRoot.MRM.soap:Body);
SET rootns = FIELDNAMESPACE(InputRoot.MRM.soap:Body);

Remember the root tag (here Envelope) gets eaten by the MRM parser

Enjoy
_________________
MQ & Broker admin
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 » reading the root tag of a soap message in MRM domain
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.