WCF RESTful サービス内でXmlSerializerFormatとWebMessageFormat.Jsonになるようにサービス コントラクトを作成するにはどうすればよいですか。
私が必要とするのは、XML シリアル化が必要な ASP.Net 1.1 のコード ビハインドと、Json シリアル化された jQuery ajax から、「CallADSWebMethod」操作コントラクトを呼び出すことです。
サービス契約
[ServiceContract, XmlSerializerFormat]
    public interface IService
    {
        [OperationContract, XmlSerializerFormat]
        [WebInvoke(UriTemplate = "/CallADSWebMethod",
                   Method = "POST",
                   BodyStyle = WebMessageBodyStyle.WrappedRequest,
                   ResponseFormat = WebMessageFormat.Json)]
        VINDescription CallADSWebMethod(string vin, string styleID);
    }
エンドポイント情報
        <endpoint address="basic"
                  binding="basicHttpBinding"
                  name="httpEndPoint"
                  contract="ADSChromeVINDecoder.IService" />
        <endpoint address="json"
                  binding="webHttpBinding"
                  behaviorConfiguration="webBehavior"
                  name="webEndPoint"
                  contract="ADSChromeVINDecoder.IService" />
        <endpoint contract="IMetadataExchange"
                  binding="mexHttpBinding"
                  address="mex" />