Hello All,

I would like my CXF service to be able to run standalone or within a web
container, depending on the environment...  I am using Spring to do my
configuring.  My problem is this:

In the <jaxws:endpoint> config tag, the "address" attribute means
different things depending on how the service is deployed:

- In a standalone deployment, it wants the full address with protocol
  Ex. address=http://localhost:8080/MyService/services/MyService1

- Using CXFServlet, it wants the address relative to the servlet mapping
  Ex. (with servlet mapping to /services/*) address="/MyService1"

This isn't a super huge big deal, but it looks like I'm going to need to
create a separate config file for each deployment type, and they'll only
differ in the "address" attribute.  Is there another way?

-Chris

Reply via email to