You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Eric Johnson <er...@progress.com> on 2008/12/19 01:46:44 UTC

JAX-WS Catalog Question

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