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

currency converter webclient sourcecode..

 
jawwad ahmed
Ranch Hand
Posts: 179
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3892
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
jawwad ahmed
Ranch Hand
Posts: 179
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3892
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 179
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3150
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 179
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks now i will start learning Apache axis.
Thanks
Jawwad Ahmed
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic