views:

53

answers:

0

Hi,

I created a simple web service client using the C# tool wsdl.exe. It works fine except for one thing. It seems that UTF8 strings returned in response are converted to ascii. Using SOAPUI I can see normal UTF8 encoded strings being returned by the web service. But when I debug the response I received the UTF8 content seems to have already been converted to ascii and is completely garbled. Where I should see a string containing Japanese characters I'm seeing a list of '?'.

  1. Is there a way to convert back the string to Unicode so that seen in the debugger is the original response string ?
  2. Is there a way to prevent the string from getting garbled in the service response ?

Cheers, Pascal.