Пример #1
0
 public WebServiceCall(string endpointURL, string opLocation, HttpContentType contentType, string encoding, CallStyle style)
 {
     this.endpointURL       = endpointURL;
     this.operationLocation = opLocation;
     this.contentType       = contentType;
     this.encoding          = encoding;
     this.style             = style;
 }
Пример #2
0
 public WebServiceCall(string endpointURL, string WSDLTargetNamespace, string operationName, string soapAction, string encoding, CallStyle style, SoapVersion soapVersion)
 {
     this.endpointURL         = endpointURL;
     this.soapAction          = soapAction;
     this.encoding            = encoding;
     this.WSDLTargetNamespace = WSDLTargetNamespace;
     this.operationName       = operationName;
     this.style       = style;
     this.soapVersion = soapVersion;
     if (soapVersion == SoapVersion.SOAP12)
     {
         soapEnvNs = "http://www.w3.org/2003/05/soap-envelope";
         soapEncNs = "http:// www.w3.org/2003/05/soap-encoding";
     }
 }