File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Java standalone Client  for WebService Creation Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Java standalone Client  for WebService Creation Problem" Watch "Java standalone Client  for WebService Creation Problem" New topic
Author

Java standalone Client for WebService Creation Problem

Mohd Fuzail
Ranch Hand

Joined: Feb 20, 2002
Posts: 107
Background
I need to use RAD 7.0.0.7 (cant use anything else ) to create standalone java client for Web Service, presently i am trying to create client for
WS-A : .NET Web Service whose WSDL location i have
WS-B : Another Webservice which was generated using WebSphere JAX-WS Runtime.

Problem
When i tried creating java client using the code SAAJ-CLIENT provided in FAQ. I am getting java.lang.reflect.InvocationTargetException for both WS-A and WS-B

For another Wed Service which was generated using WebPshere JAX-RPC runtime SAAJ-CLIENT is working fine

Goal
I need to create a utility program using which the user provides WSDL location and minimal information (like input parameter)and the utility will take care of rest like accessing web service, wrapping parameter and returning response.

I know RAD 7 allows you to create a Java Proxy Client for any given web service, but i dont want to deploy the client to be used. My primary requirement is to create a standalone java client. I know it can be done as i am able to Test the .NET webservice using Test Explorer in RAD. Since i am new to WS and RAD (4 week old) i am still facing issues in getting things in right perspective

Please help


Being defeated is often a temporary condition. Giving up is what makes it permanent.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java standalone Client for WebService Creation Problem
 
Similar Threads
How to generate a simple java proxy client for a .NET webservice using RAD7?
how to consume a webservice using axis2
Help Needed to create web service from WSDL
webservice client in J2SE
InstantiationException in WS client for abstract complexType with jax-ws 2.0