Appendix H. Using JAX-RPC DII without a WSDL Document

The WS-I Basic Profile 1.0 requires that Web service endpoints make a WSDL document available. When you deal with non-conformant Web services, however, you may not have access to a Web service's WSDL document, in which case neither the generated stub nor dynamic proxy programming models are going to be much good to you. They depend on the availability of a WSDL document—but DII does not. You can use DII to invoke Web service operations without a WSDL document, although you'll need to know details about the operation style, operation names, parameters, and so on. Basically, you have to provide a Call object with all the information that is normally specified in the WSDL document. In Listing ...

Get J2EE™ Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.