aspose 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
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