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 » URL Encoded Message to a third party as web service call

Post new topic  Reply to topic
 URL Encoded Message to a third party as web service call « View previous topic :: View next topic » 
Author Message
selvaetkt
PostPosted: Fri Aug 30, 2013 1:26 am    Post subject: URL Encoded Message to a third party as web service call Reply with quote

Novice

Joined: 25 Jun 2013
Posts: 16
Location: chennai

Hi ,

I want to deliver url encoded message as a webservice call to a third party .

i assume java.net.URLEncoder.encode(String,'UTF-8') using this in java compute node we can do the url encoding .

For a webservice call is it possible to use java compute node withh http request node .
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Fri Aug 30, 2013 10:59 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

It is 'possible' to use any of the Compute Nodes in the scenario you describe.

Indeed, some of the sample flows do just that.

The question is then, 'Why?"

an ordinary compute node does the job very well.

Please don't say, 'I've been told not to use ESQL Compute Nodes' (or anything similar)
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Sep 02, 2013 12:45 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
The question is then, 'Why?"
an ordinary compute node does the job very well.
I think the OP wants to use java.net.URLEncoder to construct the outgoing web service request.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
mgk
PostPosted: Mon Sep 02, 2013 4:49 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

If you are making a request with the HTTPRequest node, this node can automatically build a QueryString for you (url encoded) if you fill in the correct part of the LocalEnvironment before the node. See the infocenter for more details...

Kind regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
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 » URL Encoded Message to a third party as web service call
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.