File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing webservice using dynamic proxies

 
Bala Gangadhar
Ranch Hand
Posts: 98
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 98
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic