简体   繁体   English

使用JAX-WS的第一个客户端

[英]First Client with JAX-WS

I try to write the first application for this article http://docs.oracle.com/javaee/5/tutorial/doc/bnayn.html#bnayr . 我尝试为本文编写第一个应用程序http://docs.oracle.com/javaee/5/tutorial/doc/bnayn.html#bnayr

BUT I can not understand where this class and its methods. 但是我不明白这个类及其方法在哪里。

import helloservice.endpoint.HelloService; 导入helloservice.endpoint.HelloService;

HelloService is something generated from the wsgen tool, a so-called portable artifact . HelloService是从wsgen工具(即所谓的可移植工件)生成的 It gets generated by the build process. 它由构建过程生成。

But if you are trying to learn about java web services, then you might want to take the recent Java EE tutorial instead of the old version 5. 但是,如果您想学习Java Web服务,那么您可能想学习最新的Java EE教程而不是旧版本5。

Have a look at the HelloWorld Webservice Tutorial below .It contains detail steps with proper explanation as well as code. 请看下面的《 HelloWorld Web服务教程》。它包含详细步骤,正确的解释以及代码。

http://www.ibm.com/developerworks/webservices/library/ws-devaxis2part2/section3.html http://www.ibm.com/developerworks/webservices/library/ws-devaxis2part2/section3.html

http://www.ibm.com/developerworks/webservices/library/ws-devws-jsme/section3.html http://www.ibm.com/developerworks/webservices/library/ws-devws-jsme/section3.html

Hope this helps you! 希望这对您有所帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM