File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Java standalone Client  for WebService Creation Problem" Watch "Java standalone Client  for WebService Creation Problem" New topic

Java standalone Client for WebService Creation Problem

Mohd Fuzail
Ranch Hand

Joined: Feb 20, 2002
Posts: 107
I need to use RAD (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.

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

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.
I agree. Here's the link:
subject: Java standalone Client for WebService Creation Problem
It's not a secret anymore!