1 Reply Latest reply on Jul 30, 2009 5:42 PM by bmsantos

    METRO stack fails to map system id to uri from jax-ws-catalo

    bmsantos

      Hi all!

      We've created an end-point under MS windows. When deploying it on Linux we get the following error:


      Caused by: javax.xml.ws.WebServiceException: Failed to access the WSDL at: file:/C:/path/to/client//META-INF/wsdl/Webservice.wsdl. It failed with:
      /C:/path/to/client//META-INF/wsdl/Webservice.wsdl.


      The same error appear on MS platform but the addition of the jax-ws-catalog.xml was enough to fix it and everything works just fine under windows.

      Here is the META-INF/jax-ws-catalog.xml data:

      <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
       <system systemId="file:/C:/path/to/client//META-INF/wsdl/Webservice.wsdl" uri="wsdl/Webservice.wsdl"/>
      </catalog>
      


      We are running JBoss 4.2.3 GA with METRO 3.1.1 GA WS stack.

      Is there any work around for this? Am I missing anything?

      Thanks,
      Bruno