Solved

Invoking web services

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
solarwind tftp server 2 44
eclipse formatting 6 71
session migration servlets 2 24
servlet  URL Rewriting 1 25
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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 how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

914 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

17 Experts available now in Live!

Get 1:1 Help Now