|
Title: Passing a unicode character in a Soap Request Post by: Jim on November 30, 2007, 04:05:17 am I have a request that I would like to pass a unicode character as part of the string. Is this possible to do using SoapUi?
Here is my element. <ind:data>cid:320147697557</ind:data> I want to pass in something similar to this C# statement: String search = "This string contains the unicode character Pi(\u03a0)" Where the Pi create a unicode character in the string. Thanks. Title: Re: Passing a unicode character in a Soap Request Post by: omatzura on November 30, 2007, 10:26:47 am Hi Jim,
have you tried to just enter/paste the unicode character into one of the editors? As far as I know, this should work ok.. messages are by default UTF-8 encoded (you can change to another encoding in the bottom left properties table for your request..) Hope this helps! regards, /Ole eviware.com Title: Re: Passing a unicode character in a Soap Request Post by: Jim on November 30, 2007, 08:06:48 pm I created a text file and added the following:
This string contains the unicode character &#xu03a0 for the contents of the file. Then I mad an attachment to the CID:##### tag. I read that the &#xXXXX syntax is what to use in XML. I still have to verify it works. I think your suggestion will work as well. thanks Title: Re: Passing a unicode character in a Soap Request Post by: omatzura on December 01, 2007, 01:31:02 am ok.. let me know how it goes so we can fix this if necessary!
regards, /Ole eviware.com |