wsimport

JAX-WS Loading WSDL from jar

微笑、不失礼 提交于 2019-11-26 08:04:35
问题 I\'m writing a fat client that makes use of a SOAP service for some features (bug reporting etc.) I\'ve got JAX-WS working fine, but by default (in netbeans at least) it fetches the WSDL from the remote server every time the service is initialized. I expect this helps provide some versioning support etc., but it\'s not what I want. I\'ve added the wsdllocation arg to wsimport to point the generated classes to a local resource. The following snippet is the URL loading for the WSDL resource