将对象传递给WCF服务调用C#

将对象传递给WCF服务调用C#,c#,wcf,C#,Wcf,我很难理解如何调用以下WCF服务 public class Product : Proactive.Product.ProductDataServiceClient { public GetProductSellableResponse getProductSellable(GetProductSellableRequest _GetProductSellableRequest) { GetProductSellableResponse rep = new Ge

我很难理解如何调用以下WCF服务

public class Product : Proactive.Product.ProductDataServiceClient
{
    public GetProductSellableResponse getProductSellable(GetProductSellableRequest _GetProductSellableRequest)
    {

        GetProductSellableResponse rep = new GetProductSellableResponse();

        return rep;
    }
}

如何将GetProductSellableRequest对象传递给调用?我只是发送XML吗?

在WCF服务中看到请求和响应对象是很奇怪的。这可能只是命名的问题,但更好地发布(部分)服务合同。此外,了解什么是您的客户(C#应用程序或其他东西)也很好。但我们也在尝试JQuery中的选项,很好,这是C#。现在我支持我们也希望看到合同(app.config的一部分可能有助于了解您如何公开WCF服务)。