Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

how to create a Web Service using Java ?

Posted on 2011-03-04
12
471 Views
Last Modified: 2012-05-11
Hi,
Can you please let me know how to create a Web Service using Java?

I have the wsdl. The methods that I want to use in the wsdl are lockGeck and saveGeck. Once I do lockGeck, I will modify a field and then I will save it.

If you can let me know how I can do it in general with a simple example, I would really appreciate.

Thanks,
0
Comment
Question by:Tolgar
  • 4
  • 4
  • 2
12 Comments
 
LVL 47

Expert Comment

by:for_yan
ID: 35040698

I implemented it using Tomcat and Axis and it was pretty simple,
but I don't have my code at hand, but
this one which comes up one of the first on Google seems to be a simple example:

http://download.oracle.com/javaee/1.4/tutorial/doc/JAXRPC3.html
0
 
LVL 47

Accepted Solution

by:
for_yan earned 250 total points
ID: 35040735


And this one also looks like a step-by-step example using Tomcat and Eclipse on windows
http://www.roseindia.net/webservices/buildingsimplewebservice.shtml
0
 
LVL 20

Assisted Solution

by:Sathish David Kumar N
Sathish David  Kumar N earned 250 total points
ID: 35044371
What IDE your using ?

its wsdl to java means its generally called top-down web services .

WebSphere Studio

Elicpse

0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35071171
is that link give clear idea??
0
 

Author Comment

by:Tolgar
ID: 35071236
oh yes thank you.
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35071276
i am asking is foryan link only help you are my link also ?
0
 

Author Comment

by:Tolgar
ID: 35071318
Well I used Foryan link but your is also helpful. That's why I marked it as helpful.

Thanks,
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35071346
because ur not asign any point for me thats why i asking...
0
 

Author Comment

by:Tolgar
ID: 35071440
I can only select one of the m as the solution. And I select yours as helpful and graded it. Please contact the administrator if anything is wrong in the grading.

Thanks,
0
 

Author Comment

by:Tolgar
ID: 35090527
You can reopen it. I can give some point to dravidnsr as well.

Thanks,
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question