This content has been marked as final.
Show 1 reply
-
1. Re: jax-ws-catalog.xml fails on Linux
bmsantos Aug 4, 2009 5:15 PM (in response to bmsantos)Just for prosperity... a possible workaround.
As it seems there might be some issues handling the "file:/" URL. The workaround solution is to have ANT or wsimport "wsdlLocation" parameter point to a fake 'http://' URL and then have it mapped in the catalog.
For example, if we set the wsdlLocation from in the ANT script to "http://my.fake.address/to/interface.wsdl" then the catalog will look like:<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system"> <system systemId="http://my.fake.address/to/interface.wsdl" uri="wsdl/Webservice.wsdl"/> </catalog>
Another possible workaround is to have the jars exploded and the wsdlLocation set to relative path... but its a wii bit messed up.