开发者

Simple hello world webservice in Java

开发者 https://www.devze.com 2023-02-23 15:16 出处:网络
I have myeclipse 8.6.1 i want to build a simple helloworld webservice which i am unable to. in the myeclipse browser that appears when i have made the webservice it gives this path

I have myeclipse 8.6.1 i want to build a simple helloworld webservice which i am unable to. in the myeclipse browser that appears when i have made the webservice it gives this path

http://homepc:8088/HelloWorld/

i append a ?wsdl at the end and nothing happens

i want to know the following things

  1. how to make a wsdl for a java class?
  2. where to keep it in the directory so it appears in the ?wsdl and thus the webservice is discoverable
  3. What else is required to build an up and running webservice in myeclipse?

i have followed this http://www.myeclipseide.com/documentation/quickstarts/webservices_overview/

but it desnt tell how to proceed further it just tells you how to sta开发者_开发知识库rt in different ways

thanks


after all this researching i found out that myeclipse is not so good for web development atleast in java, so i shifted to netbeans, used version 6.9.1 and there you can just make a webservice in a few clicks, it takes care of the directories and deployment.

0

精彩评论

暂无评论...
验证码 换一张
取 消