Answer to my question #3:  Use the Ant java task.  This behaves the same way
as the User Guide example (no Skeleton Interface, nor references to it) and,
best of all, the Client successfully executes against the resulting aar.

Here are the tasks for generating the service aar file.  Note the copied
Skeleton containing method logic.  The ant task kicks off the build script
created by wsdl2java:

        <java classname="org.apache.axis2.wsdl.WSDL2Java">
            <arg line="-uri ${wsdl.file} -p ${package.name} -o ${service.dir} -d
${binding} -s -wv 1.1 -ss -sd" />
            <classpath refid="axis2.classpath" />
        </java>
        <copy file="${basedir}/Axis2UserGuideServiceSkeleton.java" 
            toDir="${service.dir}/src/org/apache/axis2/axis2userguide/"
overwrite="yes">
        </copy>
        <ant dir="${service.dir}" />

Here are the tasks for generating the client jar file.  The ant task kicks
off the build script created by wsdl2java:

        <java classname="org.apache.axis2.wsdl.WSDL2Java">
            <arg line="-uri ${wsdl.file} -p ${package.name} -o ${client.dir} -d
${binding} -s" />
            <classpath refid="axis2.classpath" />
        </java>
        <ant dir="${client.dir}" />
-- 
View this message in context: 
http://www.nabble.com/Ant-wsdl2java---command-line-WSDL2Java-generate-different-code-tf3481674.html#a9718427
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to