Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Invoking a web service problem

Posted on 2009-05-10
2
Medium Priority
?
203 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

Cyber Threats to Small Businesses (Part 1)

This past May, Webroot surveyed more than 600 IT decision-makers at medium-sized companies to see how these small businesses perceived new threats facing their organizations.  Read what Webroot CISO, Gary Hayslip, has to say about the survey in part 1 of this 2-part blog series.

Question has a verified solution.

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

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

610 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