How to write a Java client to access WSDL file?

后端 未结 7 1079
春和景丽
春和景丽 2020-12-17 03:16

How can I access the exposed methods in a .wsdl file using Java? Also, what are the steps involved in writing a Java client and consuming the webservices?

7条回答
  •  醉酒成梦
    2020-12-17 03:33

    I would recommend starting with the Web Service Explorer in Eclipse Java EE. This allows you to investigate any web service given the WSDL.

    The instructions to convert the WSDL to Java depends on which web service library you want to use. If you use Java 6 the Metro stack is built in.

提交回复
热议问题