473,396 Members | 1,816 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Webservice requestEncoding?

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
Nov 23 '05 #1
0 2136

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Davie | last post by:
I want to authorise a user of a web service by using the AuthHeaderValue for some reason I keep getting a null reference exception when I try to run the following code: It seems to work fine on a...
1
by: Nalaka | last post by:
Hi, I am testing with Visual studio 2005, web projects. Situation: I have one solution with two web projects, created as file system projects. (I am tesing using the built in server, not IIS)...
8
by: Ondrej Srubar | last post by:
Hello, in the Web.config I have <globalization requestEncoding="utf-8" responseEncoding="utf-8" />, but for one page I need to set the requestEncoding="windows-1250". If I use <%@Page...
7
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure...
0
by: JAA | last post by:
I have made a webservice which spits out some XML data. This data gets the processing-instruction: <?xml version="1.0" encoding="uft-8"?> Is it possible to change the encoding of this...
0
by: Mały Piotruœ | last post by:
Hello, (sorry for my English...) I am learnig programming in .NET. Could you help me please with one problem? I need to know in behind-code requestEncoding from Web.config. Of course I can read...
12
by: Mark | last post by:
In our web.config, we have changed the first line below to look like the second: OLD: <globalization requestEncoding="utf-8" responseEncoding="utf-8" /> NEW: <globalization...
0
by: Priyank M Bhat | last post by:
Hi, I am facing strange situation, where i am getting Message Expired error, while trying to using webservice to upload file to the remote webserver. I coded this using WSE2.0 and the code and...
0
by: =?Utf-8?B?UGF0cmljayBQYXF1aW4=?= | last post by:
Hi, I have the following settings in web.config because our database is in the charset Windows-1252 : <globalization requestEncoding="Windows-1252" responseEncoding="Windows-1252"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.