Java Reference
In-Depth Information
The binding element also identifies what SOAP encoding style and use the service employs.
See
Choosing Encoding, Use, and Parameter Styles
for more discussion on choosing an ap-
propriate encoding style, parameter style, and use.
With no customization, the WSDL will be available at:
http://localhost:8080/
CartEJBService/CartEJB?wsdl
.
NOTE
The use of
?wsdl
(or
?WSDL
—it's case-insensitive) appended to a service URL is only a convention;
most application servers—including Glassfish, WebLogic 10, and WebSphere 6.1—will make a
WSDL available this way, but they aren't required to. If you let JAX-WS generate your WSDL as
we've done here, the clients created with
wsimport
will point to this remote WSDL.