cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

How to generate stub code.

18
Views
0
Helpful
0
Comments
This document was generated from CDN thread

Created by: Tan An Chen on 08-06-2010 12:10:04 AM
You can use Axis2 WSDL2Java tool to generate stub code.
 
Here is the sample target for build.xml using ant.
 
    <target name="axis2wsdl2java" description="Converts AXIS2 WSDL files to Java">
           <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true" maxmemory="512m">
               <classpath refid="myaxis.classpath"/>
               <arg line="-ss"/>
               <arg line="-sd"/>
               <arg line="-or"/>
               <arg line="-g"/>
               <arg line="-uw"/>
               <arg line="-ns2p [url=http://object.api.adapter.scheduler.ts.cisco.com/xsd=com.cisco.ts.scheduler.soap.adapters.api.object.xsd"/]http://object.api.adapter.scheduler.ts.cisco.com/xsd=com.cisco.ts.scheduler.soap.adapters.api.object.xsd"/>
               <arg line="-o ${src.dir}"/>
               <arg line="-uri ${dev.dir}/wsdl/SchedulingAPI.wsdl"/>
           </java>
    </target>
 
If you are using Eclipse IDE, please refer "Put it together for Eclipse IDE" subject. This subject will show you step by step instruction also include screen shot. It also included all the required files to get the first SchedulingAPI result.
CreatePlease to create content