I wonder if you could help me out with an error I am getting.I am trying to connect to a web service with encoding ISO-8859-1.My binding states utf-8 and I get the following error message: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.I have googled and cannot find a good [EMAIL PROTECTED]
> Date: Thu, 28 Feb 2008 14:26:46 +0000> From: [EMAIL PROTECTED]> Subject: Re: > [ADVANCED-DOTNET] WCF WTF> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> > Hi > Paul,> > I know when I first started doing WCF work it was quite overwhelming > the> amount of config. But having been working with it for a few years now I > find> it pretty quick to create the necessary settings - it's not that > complex> once you get your head round the structure.> > There is a base set > of config that needs to be there - once you have the> base there the rest is > not that large I find> > This is pretty much the basic to get you running > (written in outlook so> sorry for typos)> > <system.serviceModel>> > <services>> <service name=[dotnet implementation class here]> > behaviorConfiguration="md" >> <host>> <baseAddresses>> <add > baseAddress="http://[rest of address] /> <!-- used for> metadata delivery > -->> </baseAddresses>> </host>> > <endpoint address=[relateive address to > base address here]> binding=[name of the binding you need to use]> > contract=[dotnet contract interface name here] />> </service>> > </services>> > <behaviours>> <serviceBehaviors>> <behavior name="md">> <serviceMetadata > httpGetEnabled="true"/>> </behaviour>> </serviceBehaviors>> </behaviours>> > </system.serviceModel>> > Regards> > Richard Blewett> DevelopMentor> > http://www.dotnetconsult.co.uk/weblog2> > > -----Original Message-----> > > From: Discussion of advanced .NET topics. [mailto:ADVANCED-> > [EMAIL > PROTECTED] On Behalf Of Paul Cowan> > Sent: 28 February 2008 14:02> > To: > ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> > Subject: [ADVANCED-DOTNET] WCF WTF> >> > > Too add to my earlier discussion.Has anybody done anything with WCF.The> > > amount of configuration is absolutely staggering.I am not doing> > anything > that [EMAIL PROTECTED]> > > _________________________________________________________________> > Telly > addicts unite!> > http://www.searchgamesbox.com/tvtown.shtml> > > ===================================> > This list is hosted by DevelopMentorR > http://www.develop.com> >> > View archives and manage your subscription(s) > at> > http://discuss.develop.com> > ===================================> This > list is hosted by DevelopMentorĀ® http://www.develop.com> > View archives and > manage your subscription(s) at http://discuss.develop.com _________________________________________________________________ Free games, great prizes - get gaming at Gamesbox. http://www.searchgamesbox.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com