title: How to set WebService annotattion with wsdlLocation set to a URL
body: <p>I have a WebService class:</p>
  
  <pre><code>@javax.jws.WebService(endpointInterface="Test",
      targetNamespace="http://www.test.com/test/",
      wsdlLocation="")
  public class TestImpl implements Test{
    //...
  }
  </code></pre>
  
  <p>However the <code>wsdlLocation</code> only takes a String, but I need to get the wsdl file from a Resource URL:</p>
  
  <pre><code>url = getClass().getResource("/wsdl/Test.wsdl");
  </code></pre>
  
  <p>which was packaged in a jar file. How can I properly set the <code>wsdlLocation</code> parameter in the annoatation?</p>