Hi,

I publish web services to Tomcat following the guide at
http://cwiki.apache.org/CXF20DOC/servlet-transport.html.
There is an example,

Endpoint.publish("/Greeter", new GreeterImpl());

I would like to know if the address contains invalid characters, does
it need to be escaped?

For example,
Endpoint.publish("/Greet er", new GreeterImpl());
or
Endpoint.publish("/Greet+er", new GreeterImpl());
or
Endpoint.publish("/Greet%20er", new GreeterImpl());

And in the WSDL, the service location should be
<soap:address location="http://localhost:9090/context/Greet er" />
or
<soap:address location="http://localhost:9090/context/Greet+er"; />
or
<soap:address location="http://localhost:9090/context/Greet%20er"; />

Any comment will be appreciated!

-tong

Reply via email to