This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Calling another webservice from within my code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Calling another webservice from within my code" Watch "Calling another webservice from within my code" New topic
Author

Calling another webservice from within my code

Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
I have a CXF running fine. From within my business logic, specifically my DAO, I need to make a call to another webservce. I only have access to the wsdl. Everything else is in a jar. How do I go about getting a reference to this service so that I can call its method. Specifically using CXF. Obviously, I would need to generate the client via the wsdl.

I would appreciate if the steps to achieve this can be outlined.

Cheers!


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Calling another webservice from within my code
 
Similar Threads
servicemix 4.3.2 camel cxf producer to cxf-nmr consumer Not Working
contract first web service
Websphere WSDL2java - how to connect to webservice
CXF/JAXB data binding problem
Doubt on WSDL checkin and proxy creation in cxf