J
joep
We have a Web Service that appears to handle some Unicode data properly. We
have our web.config file set for Unicode encoding of socket messages to our
backend server application (i.e., Encoding.Unicode) and we have the
globalization settings for requestEncoding and responseEncoding set to utf-8.
I have successfully sent and received utf-8 data via a C++ client using gSoap
thru the Web Service and backend server. I have done the same via ASP.NET C#
web samples as well.
However, I tried changing the requestEncoding and responseEncoding of the
web.config file for the Web Service to utf-16 and started running into
issues. One thing I noticed is that with this setting, I can display the Web
Service in IE (navigating to http://localhost/MyService/MyService.asmx), but
when I try to view the WSDL (via the Service Desription link,
http://localhost/MyService/MyService.asmx?WSDL) it doesn't load it. I'm not
able to get the clients to work with these utf-16 settings either. What all
needs to be changed to handle utf-16 (all file encodings are utf-8 but I
don't know if that matters...)?
Thanks.
have our web.config file set for Unicode encoding of socket messages to our
backend server application (i.e., Encoding.Unicode) and we have the
globalization settings for requestEncoding and responseEncoding set to utf-8.
I have successfully sent and received utf-8 data via a C++ client using gSoap
thru the Web Service and backend server. I have done the same via ASP.NET C#
web samples as well.
However, I tried changing the requestEncoding and responseEncoding of the
web.config file for the Web Service to utf-16 and started running into
issues. One thing I noticed is that with this setting, I can display the Web
Service in IE (navigating to http://localhost/MyService/MyService.asmx), but
when I try to view the WSDL (via the Service Desription link,
http://localhost/MyService/MyService.asmx?WSDL) it doesn't load it. I'm not
able to get the clients to work with these utf-16 settings either. What all
needs to be changed to handle utf-16 (all file encodings are utf-8 but I
don't know if that matters...)?
Thanks.