title: Automatically pass a cookie with each web-service call
body: <p>I have a standalone web-service client. When invoking any of the web-methods an additional "cookie" string must be <strong>implicitly</strong>(not as a web-method parameter) passed to the WS. The WS on the other end must be able to obtain the string and use it. How can this be achieved?</p>
  
  <p>I invoke the service in the following way:</p>
  
  <pre><code>Service srv = Service.create(new URL(WSDL), QNAME);
  myClassPort = srv.getPort(MyClass.class);
  </code></pre>
  
  <p>What I need is to put some code before the first line, which would make the client send this "cookie" string every time I invoke some remote method via myClassPort. Thx.</p>