axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex <>
Subject Re: axis2 1.5.1 wsdl2java --all-ports
Date Thu, 10 Dec 2009 07:04:17 GMT
hi all,

as I read on the web, there is no posibility to generate server skeleton 
from an wsdl which has multiple ports defined, is this correct?

Is there an other possibility to combine all ports in one webService, or 
is it better to generate one service for each 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" />

        <!-- Move the schema folder to classpath-->
        <move todir="${build.classes}">
            <fileset dir="${output}/resources">
                <include name="**/*schema*/**/*.class" />
                <include name="**/*schema*/**/*.xsb" />


as you can see i use the -ap or --all-ports option but only one port is

I am using axis2 1.5.1 and tomcat 6.0.20

thank you, so long alex

View raw message