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: 3879
posted
0
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
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: 3879
posted
0
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
posted
0
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
posted
0
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
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
posted
0
Thanks now i will start learning Apache axis. Thanks Jawwad Ahmed