INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

invalid or unsupported code page type

invalid or unsupported code page type

(OP)
I have a web service that's called from a desktop application.  For all but one user of the application, it works perfectly.  This user continually gets an ArgumentException thrown with "invalid or unsupported code page type" error on each call to the web service.  I've searched the web now for several hours and cannot find a solution.  Any ideas?

RE: invalid or unsupported code page type

SOAP headers can optionally contain Locale information:

CODE

<soap:Envelope
   xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
   soap:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'>
 <soap:Header>
  <x:Locale
    xmlns:x='http://example.org/Extensions/Locale'>
   <language>en</language>
   <sublang>uk</sublang>
  </x:Locale>
 </soap:Header>
 <soap:Body>
  <!-- message payload goes here -->
 </soap:Body>
</soap:Envelope>

So I would ask that user to tell you what their Locale preferences are set to in their browser (since it's likely that they're being picked up from there when they make a request).

In IE7, you go to Tools | Internet Options | Languages

____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244: How to get the best answers first

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close