Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2003

Tip: Looking for answers? Try searching our database.

webservice encoding - help!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
- 21 Nov 2003 10:59 GMT
Hi All,

I'm hoping someone can help as I'm pulling what little hair I have left from
my bald bonce! 8-)

I have a web service that returns a string depending upon the request -
however the encoding of the xml document produced is always UTF-8.  Due to
circumstances outside my control I have to change the webservice so it is
encoded as ISO-8859-1.

I've updated my web.config & machine.config Globalization requestEncoding
and requestResponse settings  to reflect this but whenever I test this
through the default asmx page the XML header always includes the UTF-8
directive, similarly when we test it using one of the web service clients (a
Delphi App) UTF-8 is always used for encoding.

Is there anybody out there that can help with this????????

Please!

Thanks in advance to anyone who can help me solve this,

Cheers

Paul.
MSFT - 24 Nov 2003 09:19 GMT
Hi Paul

We can only return UTF-8 format XML data from VS.NET web service.

Luke
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Paul York - 24 Nov 2003 13:59 GMT
Hi Luke,

Thanks for your response at least this settles it and I can stop hunting
around for ways to change my side and bounce the ball back to the Delphi
guys! :)

One last question then, what are the globalization paramaters for then? I
though the requestEncoding and requestResponse attributes were specially for
this?

Thanks for any answer,

Paul.

> Hi Paul
>
[quoted text clipped - 6 lines]
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
MSFT - 25 Nov 2003 10:25 GMT
Hi Paul,

Right now the responseencoding and requestencoding is not supported from
Web service.

Luke
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.