예제 #1
0
    public CompositeType GetDataUsingDataContract(CompositeType composite)
    {
        GetDataUsingDataContractRequest  request  = new GetDataUsingDataContractRequest(composite);
        GetDataUsingDataContractResponse response = this.GetDataUsingDataContract(request);

        return(response.GetDataUsingDataContractResult);
    }
예제 #2
0
    private GetDataUsingDataContractResponse GetDataUsingDataContract(GetDataUsingDataContractRequest request)
    {
        CFInvokeInfo info = new CFInvokeInfo();

        info.Action            = "http://tempuri.org/IStockService/GetDataUsingDataContract";
        info.RequestIsWrapped  = true;
        info.ReplyAction       = "http://tempuri.org/IStockService/GetDataUsingDataContractResponse";
        info.ResponseIsWrapped = true;
        GetDataUsingDataContractResponse retVal = base.Invoke <GetDataUsingDataContractRequest, GetDataUsingDataContractResponse>(info, request);

        return(retVal);
    }