Solved

Invoking web services

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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tomcat startup error 5 134
eclipse buid path vs tomcat lib path 10 37
Android development question 2 76
mysql jsp example issue 32 69
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
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 about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

740 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