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 » Question about HTTP Request node

Post new topic  Reply to topic
 Question about HTTP Request node « View previous topic :: View next topic » 
Author Message
rk1891
PostPosted: Wed Feb 08, 2017 6:55 am    Post subject: Question about HTTP Request node Reply with quote

Apprentice

Joined: 12 Oct 2011
Posts: 42

This is about the properties of HTTP request node

Why {http://schemas.xmlsoap.org/soap/envelope/}:Envelope is working in 'Message' property under 'Response Message Parsing'
and
Why InputRoot.{http://schemas.xmlsoap.org/soap/envelope/}:MRM is NOT working in 'Request message location in tree' under 'Advanced'.

I had to put InputRoot.{'http://schemas.xmlsoap.org/soap/envelope/'}:MRM

Notice the difference between how the namespace is defined. First one without quotes and the second one with quotes.

PS: I'm using WMB tool kit 8.0.0.7.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 08, 2017 7:09 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The MRM parser is not a SOAP Envelop. It does not belong to the SOAP namespace.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
rk1891
PostPosted: Wed Feb 08, 2017 7:55 am    Post subject: Reply with quote

Apprentice

Joined: 12 Oct 2011
Posts: 42

We are using generated message set out of the wsdl.

And in the preceding Java compute node, we've the code as below to construct the SOAP envelope, hence I was trying to use that value for 'Request message location in tree' of HTTP request node.

MbElement mrm=outRoot.createElementAsLastChild("MRM");
outRoot.evaluateXPath("string(./MRM[set-namespace-uri('http://schemas.xmlsoap.org/soap/envelope/')])");
MbElement body =mrm.createElementAsLastChild(MbElement.TYPE_NAME,"Body",null);
body.setNamespace("http://schemas.xmlsoap.org/soap/envelope/");
MbElement sendMessage=body.createElementAsLastChild(MbElement.TYPE_NAME,"SendMessage",null);
sendMessage.setNamespace("http://com.xyz.abc/order/");
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 08, 2017 8:04 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

rk1891 wrote:
outRoot.evaluateXPath("string(./MRM[set-namespace-uri('http://schemas.xmlsoap.org/soap/envelope/')])");


This is invalid.

MRM is a parser, not an element that can have a namespace.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
rk1891
PostPosted: Thu Feb 09, 2017 1:00 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Oct 2011
Posts: 42

Hmm...Ok, Thanks.
It was some legacy code written by someone almost a decade ago.
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 » Question about HTTP Request node
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.