title: Targeting inner directories within a .jar file -- java
body: <p>I have a web service client which works perfectly fine, within which there is a line that defines the location of the WSDL:</p>
  
  <pre><code>@WebServiceClient(name = "CReceiveMOMessageService", 
                    targetNamespace = "http://...", 
                    wsdlLocation = "CReceiveMOMessageService.wsdl")
  </code></pre>
  
  <p>The code piece should be exported as a runnable JAR and is intended to work on a remote location.</p>
  
  <p>When I define the location of the WSDL as above, it looks for a WSDL file at the directory in which I run the JAR file. Instead what I would like to do is to add the WSDL file to the project folder and export as JAR after that, and configure <code>wsdlLocation</code> parameter in a way that it points to the WSDL within the JAR file.</p>
  
  <p>How can this be achieved?</p>