如何使用 Eclipse 在 Core Java 中使用 WSDL 文件(WSDL 文件使用 SOAP)创建 Web 服务?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17483795/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-01 02:08:34  来源:igfitidea点击:

How to create Web Service using WSDL file (WSDL file is using SOAP) in Core Java using Eclipse?

javawsdl

提问by Sekhar

i am very new to Web services please help for my problem,i dont know how to start and where to start to do for my problem so please help me.please provide in detail explanation how to do.

我是 Web 服务的新手,请帮助解决我的问题,我不知道如何开始以及从哪里开始解决我的问题,所以请帮助我。请提供详细说明如何做。

Actually "i have WSDL file with that i need to create a web service server in core java with Eclipse IDE"

实际上“我有 WSDL 文件,我需要使用 Eclipse IDE 在核心 Java 中创建一个 Web 服务服务器”

回答by user11011990

Basic hello world tutorial on webservics. You can go through this link. It might be good starting point .

关于网络服务的基本 hello world 教程。你可以通过这个链接。这可能是一个很好的起点。

回答by Thorbj?rn Ravn Andersen

Use wsimportin the jdk to generate Java classes you can use to invoke the web service.

wsimport在 jdk 中使用以生成可用于调用 Web 服务的 Java 类。

回答by fe3o4

There is a plugin in eclipse with which you can convert the wsdl file into java files

eclipse中有一个插件可以将wsdl文件转换成java文件