Webservice Encoding

  • Thread starter Jeroen De Brabander
  • Start date
J

Jeroen De Brabander

Hi,

I have a webservice that accepts an xml in string format (the application
that consumes the ws only understands strings)
The format of the XML is UTF-16 (character like é and à are needed). It is
valid and wellformed.

When I read the string-input and check what is accepted by the webmethod, I
see ??-symbols for every special character, meaning that the webservice
accepts the string as UTF-8 instead of UTF-16.

My idea to solve this problem was changing the requestEncoding (and
ResponseEncoding) to UTF-16. This wasn't a good idea because this results in
an invalid web.config.

The information on this encoding-topic is quite cryptic (for me). I even
read that 'it is not yet supported'.

How do I solve this issue?

Kind regards,

Jeroen db
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,809
Latest member
moe77

Latest Threads

Top