You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Alex <de...@gmail.com> on 2009/12/07 14:10:56 UTC
axis2 1.5.1 wsdl2java --all-ports
hi all,
i have a wsdl with 3 ports defined, when I build the service skleton
with wsdl2java i only get one port.
here is my ant-task
<target name="wsdl2java" depends="clean,prepare">
<delete dir="${output}" />
<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
<classpath refid="axis.classpath" />
<arg value="-d" />
<arg value="none" />
<arg value="-uri" />
<arg file="${PATH2WSDL}" />
<arg value="-ss" />
<arg value="-g" />
<arg value="-sd" />
<arg value="-or" />
<arg value="-o" />
<arg file="${output}" />
<arg value="-p" />
<arg value="${package}" />
<arg value="-ap" />
</java>
<!-- Move the schema folder to classpath-->
<move todir="${build.classes}">
<fileset dir="${output}/resources">
<include name="**/*schema*/**/*.class" />
<include name="**/*schema*/**/*.xsb" />
</fileset>
</move>
</target>
as you can see i use the -ap or --all-ports option but only one port is
generatet
do you have any idea, is it a bug?
thank you, so long alex