?
Solved

Invoking a web service problem

Posted on 2009-05-10
2
Medium Priority
?
200 Views
Last Modified: 2012-05-06
Hi, I'm trying to invoke a web service from Java.

I was provided the following files created via wsdl2java:   xlist.java, xservice.java, xservicelocator.java, xsoapbindingstub.java, x_porttype.java

In the past I've only been given the stub file of which I invoked the service by using only this file.
Like
xstub ws;
ws = new xstub();
Response response = ws.getoperation();

I'm a little unsure how to invoke the service with the files provided.  I tried only using the stub file but that didn't seem to get it.

Can anyone give me an example?  

Thanks

0
Comment
Question by:vyork0869
[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
 
LVL 1

Accepted Solution

by:
sundar62 earned 375 total points
ID: 24349915
Not sure if this will help. But the attached link has a simple example.
http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=2
you will have to make a service and then get the stub to the service.
0
 

Author Comment

by:vyork0869
ID: 24371004
That pointed me in the right direction.
Thanks
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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.
Suggested Courses
Course of the Month10 days, 23 hours left to enroll

770 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