Hello,
I have a standalone java application that starts the CXF server using
serverFactory.create();
In my cxf.xml I have the following:

<jaxws:endpoint 
      id="HelloWorld" 
      implementor="com.package.impl.HelloWorldImpl"      
      address="http://localhost:9000/HelloWorld"; /> 

The above works.  In my spring context.xml i have the following:

<import resource="cxf.xml"/>

But I don't want to specify a full address in the endpoint.  I'd like to use
the below configuration:
<jaxws:endpoint 
      id="HelloWorld" 
      implementor="com.package.impl.HelloWorldImpl"      
      address="/HelloWorld" /> 

When I use the relative address="/HelloWorld  I get the Caused by:
java.net.MalformedURLException: no protocol: /HelloWorld

I'm sure I'm missing some line of configuration.  Please, let me know what
can I do!

Thank you!

--
View this message in context: 
http://cxf.547215.n5.nabble.com/jaxws-endpoint-specify-relative-address-tp4880494p4880494.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to