4

JAX-WS (wsimport) で生成されたクライアント スタブを使用して JAX-RPC Web サービスに接続できますか? JAX-WS クライアントを使用して JAX-RPC Web サービスを使用すると、どのような影響がありますか? 長所と短所はありますか?

4

1 に答える 1

5
  1. The tool wsimport works on a WSDL file which is an XML document describing the web service.
  2. The tool wsimport does not care to the style of the service (RPC/DOCUMENT) as described in the WSDL.
  3. If the WSDL has RPC-style, it will generate the client stubs for consuming RPC-style web services and similarly for document-style.
  4. 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.
  5. Here is an example of using wsimport for generating JAX-RPC client.

Hope this helps.

于 2012-09-11T06:15:03.857 に答える