aspose file tools*
The moose likes Web Services and the fly likes Accessing webservice using dynamic proxies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Accessing webservice using dynamic proxies" Watch "Accessing webservice using dynamic proxies" New topic
Author

Accessing webservice using dynamic proxies

Bala Gangadhar
Ranch Hand

Joined: Oct 07, 2008
Posts: 83
    
    1
Hi All,
I have to invoke web service provided by a vendor.
He has provided me wsdl and thier services location. But i could not access the wsdl by appending ?wsdl to service url.
I have placed the wsdl given by him in a jar file in my project.

I am using the following code to get the service.



So as a first parameter to create service, i need to pass URL object pointing to the location of wsdl. How can i point to wsdl which is in my local machine's jar file rather than at some url location


Regards,
Bala Gangadhar
Ranch Hand

Joined: Oct 07, 2008
Posts: 83
    
    1
Hi I got the solution..

We can load the local wsdl by pointing to its location in jar...


and can use the above specified code to get the servcie...

Thanks.
 
Don't get me started about those stupid light bulbs.
 
subject: Accessing webservice using dynamic proxies