Avatar of mauriff
mauriff
 asked on

Invoke Webservices Struts 2

Hi, I want invoke a Webservices from Action of Struts 2.
How I do this?
Java EEWeb Languages and Standards

Avatar of undefined
Last Comment
mauriff

8/22/2022 - Mon
Siva Prasanna Kumar

Just create a web service client jar, using the eclipse wizard and you can invoke them like normal java methods.

http://www.eclipse.org/webtools/jst/components/ws/1.5/tutorials/WebServiceClient/WebServiceClient.html

create a client project and then export all that code as jar file, and drop it in your web-inf/lib (with dependency jars) and that it you can invoke any of the operations of that web service like normal java methods.
mauriff

ASKER
ok, How I do this without wizard?,
I'm using Netbeans.
 
ASKER CERTIFIED SOLUTION
Siva Prasanna Kumar

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
mauriff

ASKER
thanks
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy