I'm trying to modify the WSDL first sample to use a JAX-WS catalog for
WSDL resolution, but I cannot seem to get it to work.

This is my catalog:
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
prefer="system">
  <rewriteURI uriStartString="http://demos.cxf.apache.org/";
rewritePrefix="classpath:"/>
</catalog>

I've configured the server's wsdlLocation as follows:
<jaxws:endpoint name="{http://apache.org/hello_world_soap_http}SoapPort";
        wsdlLocation="http://demos.cxf.apache.org/hello_world.wsdl";
        createdFromAPI="true" />

But the server does not come up. The very long exception boils down to
cannot find http://demos.cxf.apache.org/hello_world.wsdl.

Does the catalog rewrite the Spring config?

I also modified the client to use
http://demos.cxf.apache.org/hello_world.wsdl
as the URI to load the WSDL from and has the same trouble.

I know I'm likely missing something silly...

TIA for any pointers

Eric

Reply via email to