JSR-224, The JAX-WS 2.1 Spec, says in section 5.2.2:  Conformance (WSDL
Publishing): An Endpoint that uses the SOAP 1.1/HTTP binding (see 10)
MUST make its contract available as a WSDL 1.1 document at the
publishing address suffixed with "?WSDL" or "?wsdl".

When you wrap your web service in a WAR make sure to place the WSDL file
(along with any referenced XSD's) in the WEB-INF/wsdl directory.  My
WSDL-first tutorial may be of more assistance for you:
http://www.jroller.com/gmazza/date/20080417.

The answer to your other question is to google WSDL:import, I guess.

HTH,
Glen



2008-05-03 youhaodeyi wrote:
> I publish a web service by CXF. And I can get the wsdl by
> http://localhost:8080/hello?wsdl. I wander why "?wsdl" mean. How can I
> import this wsdl from other wsdl file?

Reply via email to