Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Stand alone client file for Web services
Stand alone client file for Web services [message #167932] Fri, 28 April 2006 16:12 Go to next message
Eclipse UserFriend
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 12:46 Go to previous message
Eclipse UserFriend
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: Wed Jul 16 09:23:52 EDT 2025

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

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

Back to the top