Solved

Invoking a web service problem

Posted on 2009-05-10
2
192 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 125 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
use lov values 2 72
jboss wildfly 10.1 10 437
How do I remove an object from a 3 53
How to fix  socket closed error 11 32
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 …
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

730 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