Will I be able to connect to a JAX-RPC web service using a JAX-WS (wsimport) generated client stub? What are the effects of consuming a JAX-RPC web service using a JAX-WS client? Are there any advantages and disadvantages?
wsimport works on a WSDL file which is an XML document describing the web service. wsimport does not care to the style of the service (RPC/DOCUMENT) as described in the WSDL. JAX-WS (which provides wsimport) provides (or rather capable of generating ) both the style (RPC/Document) of web services and both work equally well with respective types of service end points. wsimport for generating JAX-RPC client. Hope this helps.