How to convert wsdl to java?

前端 未结 3 1194
醉酒成梦
醉酒成梦 2020-12-06 02:42

I\'ve a WSDL file and i need to convert it into java, so for this i use step by step procedure from below link

http://axis.apache.org/axis2/java/core/tools/eclipse/w

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-06 03:31

    There are two things you can do here. You can use that plugin or use web service wizard(which is available in Eclipse 3.3 also).

    (i) Using the plugin:: You can download the latest Eclipse WSDL2JAVA Codegen plugin, paste it in the plugins folder of eclipse folder. Start the eclipse and you can find the Axis Codegen plugin on pressing ('Ctrl+N') or under 'File/New/Other/Axis'

    (ii) Using the Web Service plugin: Press 'Ctrl+N ', and go to Web Service/Web Service Client. Paste the url(WSDL), select the client project you are working on, press next, specify the output folder and press finish.

    Any of these two steps will generate the client stub(java code) for the wsdl you have given.

提交回复
热议问题