Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Stand alone client file for Web services
Stand alone client file for Web services [message #167932] Fri, 28 April 2006 20:12 Go to next message
Eclipse User
Originally posted by: nospam.nospam.com

hi..All,

I was able to generate the client side artifacts/classes for a web
service & at the same time I was able to test it using the JSP.

Now how do I write a stand alone java client to use the web service
client files.?

Any examples/pointers will be really helpful.

Regards.
Re: Stand alone client file for Web services [message #171913 is a reply to message #167932] Wed, 21 June 2006 16:46 Go to previous message
Chris Brealey is currently offline Chris Brealey
Messages: 104
Registered: July 2009
Senior Member
You'll need the same Java files that the JSPs use. More to the point,
your J2SE client simply needs to construct an instance of the generated
"...Locator" class, then call the appropriate "get..." method on it to
retrieve an instance of the service endpoint interface (which has your
business methods).

Provided the Axis jars are on the project's classpath, that should do
it.

Cheers - CB.

"news.eclipse.org" wrote:

> hi..All,
>
> I was able to generate the client side artifacts/classes for a web
> service & at the same time I was able to test it using the JSP.
>
> Now how do I write a stand alone java client to use the web service
> client files.?
>
> Any examples/pointers will be really helpful.
>
> Regards.
Previous Topic:Creating Top Down webservices in Document/literal style (newbie)
Next Topic:Free WSDL hosted for testing
Goto Forum:
  


Current Time: Sat Oct 25 23:01:04 GMT 2014

Powered by FUDForum. Page generated in 0.09851 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software