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 IndexWebSphere DataPowerspecial characters handling in datapower

Post new topicReply to topic
special characters handling in datapower View previous topic :: View next topic
Author Message
srk31
PostPosted: Fri Jul 10, 2015 1:17 pm Post subject: special characters handling in datapower Reply with quote

Apprentice

Joined: 01 Sep 2010
Posts: 39

Hi,
i have mpg which hosts restful service. The client is sending special characters in request like "lastName":"ýez" . i don't have problem in parsing the request .
But when i save the request in the context variable, it is saving as "ýez". how can i save it as "lastName":"ýez"

here is my code base which saving payload in context variable.


Code:

<dp:input-mapping href="store:///pkcs7-convert-input.ffd" type="ffd"/>
<xsl:output omit-xml-declaration="yes" encoding="UTF-8" method="text"/>
<xsl:variable name="msgBody" select="dp:decode(dp:binary-encode(/object/message/child::node()),'base-64')"/>
<dp:set-variable name="'var://context/header/msgBody'" value="$msgBody"/>
Back to top
View user's profile Send private message
MrSmith
PostPosted: Wed Jul 22, 2015 2:18 pm Post subject: be tha Reply with quote

Master

Joined: 20 Mar 2008
Posts: 215

could it be that the character does not appear in the base64 character set??
_________________
-------- *
“Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.”
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere DataPowerspecial characters handling in datapower
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.