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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.