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 Encoding Function?

Post new topic  Reply to topic
 URL Encoding Function? « View previous topic :: View next topic » 
Author Message
DJN2
PostPosted: Tue Oct 25, 2011 3:28 pm    Post subject: URL Encoding Function? Reply with quote

Apprentice

Joined: 02 Jan 2009
Posts: 27
Location: New Jersey

Is there a URL encoding function in the message broker?

The requirements look like this....

URL Encoding
The XML request must be encoded using a MIME format called β€œx-www-form-urlencoded” format.
What this means is the following:
The ASCII characters β€œa” through β€œz”, β€œA” through β€œZ”, β€œ0” through β€œ9”, and β€œ.”, β€œ-β€œ, β€œ*”, β€œ_”
remain the same.
The space character (β€œ β€œ) is converted into a plus sign β€œ+”.
All other characters are converted into the 3-character string β€œ%xy”, where β€œxy” is the two-digit
hexadecimal representation of the lower 8-bits of the character.
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Oct 25, 2011 4:30 pm    Post subject: Re: URL Encoding Function? Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

DJN2 wrote:
Is there a URL encoding function in the message broker


Is there? It depends on what kind of compute node you are using and what you mean by "in" the message broker.
Back to top
View user's profile Send private message
DJN2
PostPosted: Tue Oct 25, 2011 4:44 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Jan 2009
Posts: 27
Location: New Jersey

Let me rephase. Is there a way to perform URL encoding on a data element in a message flow?

It seems this may be a routine conversion when working with web service.
Back to top
View user's profile Send private message Send e-mail
rekarm01
PostPosted: Wed Oct 26, 2011 12:18 am    Post subject: Re: URL Encoding Function? Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

DJN2 wrote:
The ASCII characters β€œa” through β€œz”, β€œA” through β€œZ”, β€œ0” through β€œ9”, and β€œ.”, β€œ-β€œ, β€œ*”, β€œ_” remain the same.
The space character (β€œ β€œ) is converted into a plus sign β€œ+”.
All other characters are converted into the 3-character string β€œ%xy”, where β€œxy” is the two-digit hexadecimal representation of the lower 8-bits of the character.

That's not quite how URL Encoding works.

DJN2 wrote:
Let me rephase. Is there a way to perform URL encoding on a data element in a message flow?

The message flow has access to a variety of transformation interfaces, including Java and PHP, which can perform URL Encoding.
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 Encoding Function?
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.