Solved

Invoking web services

Posted on 2004-04-14
2
175 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
[X]
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
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Running JavaFX on JDeveloper 12C 1 112
jsp insert to database example 2 89
restrict decimal places for double datatype 10 49
learn programming 8 94
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
The viewer will learn how to implement Singleton Design Pattern in Java.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

732 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