Am Mittwoch, den 28.03.2007, 10:12 -0700 schrieb david2: > I also noticed that the ant wsdl2java task generated an > Axis2UserGuideServiceSkeletonInterface class which was never generated by > the invocation of WSDL2Java as a Java class.
According to the docs[1], it appears that that's because you did not set the -ssi option for the CLI, or equivalently because you set the "serverSideInterface" option with the Ant task. Glen [1] http://ws.apache.org/axis2/tools/1_1/CodegenToolReference.html > > Command line service code generation (all on one line): > ======================================================= > > java org.apache.axis2.wsdl.WSDL2Java > -uri Axis2UserGuide.wsdl > -p org.apache.axis2.axis2userguide > -o service > -d adb > -s > -wv 1.1 > -ss > -sd > > Ant task service code generation (all on one line): > =================================================== > > <taskdef name="wsdl2java" > classname="org.apache.axis2.tool.ant.AntCodegenTask" > classpathref="axis2.classpath"/> > <wsdl2java wsdlFilename="${wsdl.file}" > output="${service.dir}" > packageName="org.apache.axis2.axis2userguide" > language="java" > databindingName="adb" > synconly="true" > serverside="true" > serverSideInterface="true" > > namespaceToPackages="http://apache.org/axis2/Axis2UserGuide=org.apache.axis2.axis2userguide" > generateservicexml="true" > /> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
