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 » Newbie question on Version 6 http nodes

Post new topic  Reply to topic
 Newbie question on Version 6 http nodes « View previous topic :: View next topic » 
Author Message
yonny
PostPosted: Tue Oct 13, 2009 4:01 pm    Post subject: Newbie question on Version 6 http nodes Reply with quote

Apprentice

Joined: 08 Jul 2001
Posts: 49
Location: Santo Domingo

Hello all, I was hopping someone could help me with a newbie question regarding WMB 6. My last post here was from 2005, I am a user of these products since mqseries and integrator 1.1 (1999), and did some flows on WMB 5, but the new stuff on Version 6 is unknown for me.

I need to send a request to a Service which will return an xml. I have done this before where the request was also an xml message, but, for this case the "request message" is part of the url. Something like this:

Code:
https://www.somesite.com/services/someservice.dll?PARAM1=ABCDEF&param2=XML001&Param2=XXXXX&ParamUser=XXXX&ParamPaswd=XXXX&ParamNumber=99999999999


All in one line. I changed the site name and the names of the params, but the real URL is something very similar.

Any help about the correct Node to use inside the message flow? How do I pass the parameters to the service?

Too basic question, right? I hope to recieve answers other than only "read the documentation".

Thank you very much,

Yonny.
Back to top
View user's profile Send private message Send e-mail AIM Address
ovasquez
PostPosted: Tue Oct 13, 2009 7:53 pm    Post subject: Reply with quote

Centurion

Joined: 09 Dec 2005
Posts: 141
Location: Lima, Peru

Read the documentation

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac04595_.htm

. . .
QueryString Allows the setting of outbound query string parameters. Each parameter must be be set individually.
For example:
SET OutputLocalEnvironment.Destination.HTTP.QueryString.param1 = 'my"Value"1';
SET OutputLocalEnvironment.Destination.HTTP.QueryString.param2 = 'my"Value"2';

The above ESQL results in the following query string being encoded (according to http://tools.ietf.org/html/rfc3986) and sent with the outbound request:
?param1=my%22Value%221&param2= my%22Value%222

If the destination URL already has one or more query parameters, additional parameters specified here are appended to the end of the existing list.
. . .
_________________
Oscar Vásquez Flores
Back to top
View user's profile Send private message Send e-mail
mqmatt
PostPosted: Wed Oct 14, 2009 8:22 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

The queryString capabilities were only added in v6.1, so those parameters might not be of use.

MGK might want to comment on your options
Back to top
View user's profile Send private message
yonny
PostPosted: Wed Oct 14, 2009 5:45 pm    Post subject: Reply with quote

Apprentice

Joined: 08 Jul 2001
Posts: 49
Location: Santo Domingo

Could not test your solution yet, thank you.
The server where my broker is running still has no access to the WebServices' URL. The communications crew is working on it.

Best regards,

Yonny.

Edit: The version we are running is 6.1, so, the code suggested should work ok.
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Newbie question on Version 6 http 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.