aspose file tools*
The moose likes Web Services and the fly likes currency converter webclient sourcecode.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "currency converter webclient sourcecode.." Watch "currency converter webclient sourcecode.." New topic
Author

currency converter webclient sourcecode..

jawwad ahmed
Ranch Hand

Joined: Dec 01, 2001
Posts: 179
Hi gurus;
I am very new to webservices.Well i have found the webservice available at http://www.shinkatech.com/interop/Interop.phtml
which convert money amount from one currency to an other currency.Can anybody please can send source code of its client in java.Will be very thank ful,waiting for reply.
Jawwad Ahmed
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Download a Java Web Services system like Apache Axis or the IBM Web Services Toolkit, and then use the WSDL2Java tool to generate the client stub from the WSDL on that page yourself!
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
jawwad ahmed
Ranch Hand

Joined: Dec 01, 2001
Posts: 179
Thanks,yes toolkit will generate stub and skeleton.I am using sun webservices toolkit but i can't write client (.java file to access webservice)??.Like in above url it is given source code in Microsoft plateform.If u can also send steps how to generate stub and sketeton from wsdl file ,because i have genereted wsdl file but not done reversed yet.Please help b/c i have to submit final year project after few days.Will be very thank ful.
E-mail-jawwad_33@yahoo.com
Jawwad Ahmed
[ October 08, 2002: Message edited by: jawwad ahmed ]
[ October 08, 2002: Message edited by: jawwad ahmed ]
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Read the documentation on the WSDL2Java tool. One of the command line options is to generate the client stub. That stub will allow you to call the web service (All you have to do is write another Java class with a main() method that invokes the stub methods).
Kyle
jawwad ahmed
Ranch Hand

Joined: Dec 01, 2001
Posts: 179
Thanks;
But i have read whole tutorial of sun on webservices available at java.sun.com,there is no material on how to convert wsdl to stub.If u can please tell where to find documentation to convert from wsdl to stub.Will be very thankful
Jawwad Ahmed
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by jawwad ahmed:
Thanks;
But i have read whole tutorial of sun on webservices available at java.sun.com,there is no material on how to convert wsdl to stub.

Hi Jawwad,
i do not know about sun package,but i guess it should such tool,meanwhile you can try apache axis,the concept that kyle explaining can be found at
Wsdl to Java using axis
HTH
Regards
Balaji


Spritle Software Blogs
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
I agree. The sun Web Services package is confusing, poorly documented, and not nearly as powerful as Apache Axis. Everything you need to do you can do very simply using axis. It's freely available at The Apache Website.
Kyle
jawwad ahmed
Ranch Hand

Joined: Dec 01, 2001
Posts: 179
Thanks now i will start learning Apache axis.
Thanks
Jawwad Ahmed
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: currency converter webclient sourcecode..