![]() | ||||||||
![]() Library Categories
Popular Content
| i
Axis2's WSDL 2.0 HTTP Code generation (Take II) a.k.a Try Yahoo REST Search API using Axis2Step #1: Download Axis2 1.2 and set AXIS2_HOME Step#2: Run WSDL2Java against the WSDL2.0 document we have come up for Yahoo REST API (See attached YahooV2Search.WSDL) as shown below: wsdl2java.bat -u -wv 2.0 -uri YahooV2Search.wsdl Step #3: Write some code to execute the generated stub (see attached Main.java). Drop the Main.java into src directory. Step #4: Run "ant jar.client", set up your classpath with all axis2 jars and the generated service client jar and execute it. Here's my run. C:\axis2-1.2\samples\yahoo>java Main PS: Many Thanks to David Orchard for the inspiration
|
![]() Tag Cloud
|
||||||