I have an endpoint defined via jaxws:endpoint just like the example
here:

  Declaring your server beans
  http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html

The only difference is the "address" attribute. I'm trying to avoid
specifying the host and port as part of the address, and I'm not sure
if I can also omit the Servlet's context path. The documentation
reads:

  Finally, the address property specifies the location which we want
  to host our service at. This can be either a full address with host
  & port or just a path.

If it's "just a path", must that path include the Servlet context
path?

My service should be published at

  http://<host>/<context path>/ws/<service name>

My web.xml defines a Servlet mapping URL pattern of "/ws/*" pointing
to the CXF Servlet.

I can't find the right value for the "address" attribute. Each request
results in the following error, given a Servlet context path of
"2007/04" and a service name of "my-service":

,----
| May 3, 2007 10:13:46 AM org.apache.cxf.transport.servlet.ServletController 
invoke
| WARNING: Can't find the the request for 
http://127.0.0.1:8888/2007/04/ws/my-service's Observer
`----

What Observer is this error referring to?

-- 
Steven E. Harris

Reply via email to