Solved

how to create a Web Service using Java ?

Posted on 2011-03-04
12
469 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTTPSessionBindingListernter not configured in deployment descriptor 2 53
tomcat administrtor 12 47
hibernate example issues from command prompt 10 41
ejb on wildfly 5 20
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

772 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