wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 82
    
    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: 82
    
    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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing webservice using dynamic proxies
 
Similar Threads
Dynamic Proxy client runtime error - Cannot find the web service method?
problem calling a remote webservice [ Algo Error]
Dynamic Proxy Client
Compilation of a Dynamic Proxy Client
problem with webservice dynamic proxyclient