Solved

Invoking a web service problem

Posted on 2009-05-10
2
185 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
2 Comments
 
LVL 1

Accepted Solution

by:
sundar62 earned 125 total points
Comment Utility
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
Comment Utility
That pointed me in the right direction.
Thanks
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

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…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

762 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

10 Experts available now in Live!

Get 1:1 Help Now