title: How to use Soap extensions at client application
body: <p>I crate one webservice using c#.For encrypting response, using the dll specified in this article </p>
  
  <p><a href="http://highcoding.blogspot.in/" rel="nofollow">http://highcoding.blogspot.in/</a></p>
  
  <p>WebMetod</p>
  
  <pre><code>[WebMethod]
  [EncryptionExtension(Decrypt = DecryptMode.None, Encrypt = EncryptMode.Response, Target = Target.Body)]
  [TracingExtension(TracingMode = TracingMode.Response, MethodName = "HelloWorld")]
  public string HelloWorld() {
      return "Hello World";
  }
  </code></pre>
  
  <p>I created one webservice client using c# windows application.</p>
  
  <pre><code>   ServiceReference1.ServiceSoapClient ob = new WindowsFormsApplication2.ServiceReference1.ServiceSoapClient();
          string st = ob.HelloWorld();
  </code></pre>
  
  <p>Here i getting an error "End element 'Body' from namespace 'http://schemas.xmlsoap.org/soap/envelope/' expected"</p>
  
  <p>Encryption is working.But i tried and dont able to find out a way to  decrypt data at client side .Anyone know how to handle this in client?</p>