File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Problem in web service client while trying to consume a service exposed on the net 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 » Products » JBoss/WildFly
Bookmark "Problem in web service client while trying to consume a service exposed on the net" Watch "Problem in web service client while trying to consume a service exposed on the net" New topic
Author

Problem in web service client while trying to consume a service exposed on the net

Prasad Shindikar
Ranch Hand

Joined: Feb 18, 2007
Posts: 114
this is the link for the WSDL file of an exposed web service on the internet.
http://www.freewebs.com/jimmy_cheng/CurrencyExchangeService.wsdl

I have tried to write a java web service client for the same.

However, the code gives an error.
The error stack is as shown below.

I am using Eclipse Europa, JDK 1.5

Prasad Shindikar
Ranch Hand

Joined: Feb 18, 2007
Posts: 114
The code for my client is :



The web service interface that i defined :
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem in web service client while trying to consume a service exposed on the net
 
Similar Threads
Problem in web service client while trying to consume a service exposed on the net
"setProperty must be overridden by all subclasses of SOAPMessage" error
How to implement certificate/security into web service client
JAX-RPC Client invoking Document based web service
conflict Jboss+WebLogic web service