Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9055161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T13:52:41+00:00 2026-06-16T13:52:41+00:00

I have imported an online service which is WSDL. When calling the service methods

  • 0

I have imported an online service which is WSDL.

When calling the service methods I get the following exception:

System.ServiceModel.ProtocolException: The content type text/xml; charset=ISO-8859-1 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 617 bytes of the response were < ?xml version=”1.0″ encoding=”ISO-8859-1″?>< SOAP-ENV:Envelope SOAP-…

I believe this means that my client expects the service to return data in UTF-8 encoding, while the service returns it in ISO-8859-1. Is there a way for me to alter the client’s expected content type to match the one of the service?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T13:52:43+00:00Added an answer on June 16, 2026 at 1:52 pm

    If your client is .net you can set it as shown here

    This is how you would do it in code

    wsHttpBinding.TextEncoding = Encoding.UTF8;
    

    https://stackoverflow.com/a/8925516/57883

    let me see if I can find an example of setting it in the config file directly.

    Ah here it is in the question is a sample

    WCF: How to use client proxy and config files on client?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have imported a JSF/Facelets project from SVN into Netbeans. Any change which I
I have imported a SQL Server stored procedure into the .edmx file. I'm calling
I have several service contracts exposed over WCF, which use multiple datacontracts. The service
I have imported the pdf.h file in my view controller class and tried calling
I have #imported the FirstViewController.h and i get the error expected ':' before '.'
I have the following scenario, with exception being thrown when I try to cast:
I have imported video FLV Player(with no skin) in layer(flv1) The flv Player instance
i have imported a c++ native dll method in c#. below is how the
I have imported the data into an database. Patient(pt_id,pt_name,pt_type,pt_loc) Now , I want to
I have imported our SVN repository into Mercurial and now we have entries for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.