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 SE Web Service Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Java SE Web Service Client" Watch "Java SE Web Service Client" New topic

Java SE Web Service Client

Debojit Sinha
Ranch Hand

Joined: Mar 13, 2010
Posts: 66


I've created a web service using Axis2 on eclipse, and now I'm trying to test it via a Java SE client. Axis2, it seems doesn't work that way. So, could someone please sugest a way for me to achieve this?
Tim Moores

Joined: Sep 21, 2011
Posts: 2413
Axis2 comes with a tool that can create client-side code to access a WS as defined by a WSDL; it's called wsdl2java, and is probably the simplest way to create your client code. The code it generates runs fine in Java SE.

If that's not what you're using, tell us how you created your client code, and what "Axis2, it seems doesn't work that way." means.
I agree. Here's the link:
subject: Java SE Web Service Client
It's not a secret anymore!