String Serialization issue
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
Hello
Using Visual Studio, I created a WebService with the default
"HelloWorld" method. It all works fine but when I try to get the
method to return a French string, all the accented characters are
removed. ie. I changed the webservice implementation to:
<WebMethod()> _
Public Function HelloWorld() As String
Return "Hello décès"
End Function
and when I invoke it on my server I get
<?xml version="1.0" encoding="utf-8" ?>
<string xmlns="
http://tempuri.org/">Hello dcs</string>
Can somebody tell me what is going wrong?
BTW, it works fine on my development machine but not on the production
server.
Paul
.
Relevant Pages
- Exception aus einem WebService wird nicht angezeigt? HTTP Fehler 500
... Nun habe ich den WebService auf einem anderen Server installiert. ... Ereignisquelle: ISAG ... t context, String verb, String url, String filePath) ... (microsoft.public.de.german.entwickler.dotnet.asp) - Re: String Serialization issue
... I created a WebService with the default ... Public Function HelloWorld() As String ... Visual Studio does not save your files as utf-8 by default and there ... (microsoft.public.dotnet.xml) - Re: How to send String to Webservice
... created pipeline that uses the file dis-assemble to convert to XML. ... > I want to be able to pass that XML file to a webservice as a string. ... Yes the WSDL is defined. ... (microsoft.public.biztalk.general) - Re: How to send String to Webservice
... While I agree with Christof completely, if you are determined to do it your ... >> It is converted to an XML file. ... >> I want to be able to pass that XML file to a webservice as a string. ... (microsoft.public.biztalk.general) - Re: DateTime WebService Discrepancy.
... When the datetime is sent by the webservice, ... > Ofcourse I had not even though of just passing a string as a parameter ... > locally and cut out the call to the web service. ... (microsoft.public.dotnet.framework.compactframework) |
|