HighTechTalks DotNet Forums  

Re: Passing Unicode String as Web Method Parameter

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss Re: Passing Unicode String as Web Method Parameter in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Ben
 
Posts: n/a

Default Re: Passing Unicode String as Web Method Parameter - 07-09-2003 , 04:49 PM






All web requests and responses by default under ASP.NET are sent as unicode
and are encoded as unicode UTF8.

This can be changed in the web.config file if you see globalization element
at the very bottom.


"Vineet Kumar" <vineet.kum (AT) wipro (DOT) com> wrote

Quote:
Hi,

I have created web service having a web method with
string parameter. I have string which I got by calling
Unicode.GetString(). When I try to pass the string I get
SOAP error.
Can any one help me to know how to pass Unicode string to
a web method. Or how to specify the encoding for the web
service in Visual Studio .NET.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.