I'm having some issues accessing a WCF Web service that returns Json. Usign the WCF Test Client, I figured what config to use but this config is for .Net 4.0 and my client app is in .Net 3.5 (with no possibility for upgrade for now). This is the configuration of my behavior in .Net 4.0:
<behaviors>
<endpointBehaviors>
<behavior name="web">
<webHttp defaultBodyStyle="Wrapped" defaultOutgoingResponseFormat="Xml" />
</behavior>
</endpointBehaviors>
</behaviors>
Unfortunately, these 2 attributes don't exist in .Net 3.5. What can I do to specify this for my client (code or other configurations) ?
Thanks