Solved

Invoking web services

Posted on 2004-04-14
2
170 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
countX 22 70
What is the latest versions eclipse neon 2 122
maven example error 3 36
Java Server Faces parameter pass? 6 22
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now