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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.