Solved

Invoking web services

Posted on 2004-04-14
2
172 Views
Last Modified: 2010-03-31
Hi, i need to invoke a web service from a java program.
The web service is writen in .net and i have no stub for it.

I've been browsing the web for examples and they all use a stub to access the web service.

Is there a way to invoke a web service in java through the uri only????

Thanks.
0
Comment
Question by:jpedro
2 Comments
 

Accepted Solution

by:
Jens_Rosenthal earned 145 total points
ID: 10822134
Since I assume you can get a .wsdl file for your webservice (either ask the developer or try adding a '?wsdl' or '.wsdl' to the url)

you can easily generate a stub from it using the wsdl2java tool (e.g. from the jakarta-axis-package)

take a look at http://ws.apache.org/axis/java/user-guide.html (section "wsdl2java")

Greetings,
Jens
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
web application structure 18 77
hibernate example using maven 12 42
How do I remove an object from a 3 26
Is Applet the way to go for my drag and drop system? 8 14
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
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…
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…
The viewer will learn how to implement Singleton Design Pattern in Java.

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