第一步打开Eclipse工具,创建一个java project,然后把要使用*.wsdl文件放到该工程下,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6462/600ed8a4-a45d-3b3f-952a-6507e6c0917f.png[/img]
第二步,创建一个“Web Service Client”,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6464/9358fd1a-0785-31ab-a764-627de2fa0755.png[/img]
第三步,点击“Next”如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6466/b1556313-7676-3c05-8108-ddb1d418cf69.png[/img]
第四步,点击“Browse”,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6468/682a770e-0f91-3999-a0ca-5ab8bc5e4050.png[/img]
第五步,点击“Browse”,选择*.wsdl文件,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6470/1da7f21d-911f-302e-b0dc-0fa1f825657d.png[/img]
第六步,点击“OK”,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6472/b4202b18-af2f-3362-9ca0-0a2bcce2515d.png[/img]
第七步,点击“OK”,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6474/42716e5c-198b-317a-a524-b29918516dff.png[/img]
第八步,如上图调整到“Install Client”,点击“Next”,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6476/5d2ec67a-0b4a-3c2b-8427-ee3b8f482791.png[/img]
第九步,点击“Next”,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6478/6bfb2509-748e-331f-8e93-6311660a9372.png[/img]
第十步,点击“Finish”,查看“HealthInsurance”工程如下:
[img]http://dl.iteye.com/upload/attachment/0080/6462/600ed8a4-a45d-3b3f-952a-6507e6c0917f.png[/img]
第二步,创建一个“Web Service Client”,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6464/9358fd1a-0785-31ab-a764-627de2fa0755.png[/img]
第三步,点击“Next”如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6466/b1556313-7676-3c05-8108-ddb1d418cf69.png[/img]
第四步,点击“Browse”,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6468/682a770e-0f91-3999-a0ca-5ab8bc5e4050.png[/img]
第五步,点击“Browse”,选择*.wsdl文件,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6470/1da7f21d-911f-302e-b0dc-0fa1f825657d.png[/img]
第六步,点击“OK”,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6472/b4202b18-af2f-3362-9ca0-0a2bcce2515d.png[/img]
第七步,点击“OK”,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6474/42716e5c-198b-317a-a524-b29918516dff.png[/img]
第八步,如上图调整到“Install Client”,点击“Next”,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6476/5d2ec67a-0b4a-3c2b-8427-ee3b8f482791.png[/img]
第九步,点击“Next”,如下图:
[img]http://dl.iteye.com/upload/attachment/0080/6478/6bfb2509-748e-331f-8e93-6311660a9372.png[/img]
第十步,点击“Finish”,查看“HealthInsurance”工程如下: