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 "javafuns@baturu.com" <ja...@baturu.com> on 2008/08/07 10:02:14 UTC

generate code for UDDI wsdl files via axis2-1.3

hi all
    I tried to use axis2-1.3 to generate code for UDDI WSDL files, but 
failed.
This is the error message:
    AxisFault: There is no port type associated with the binding


I'm sure there is really a portType for the binding.

this is the partial ant script:

    <target name="generate" depends="init">
        <codegen wsdlfilename="${basedir}/etc/uddi_client.wsdl"
 namespaceToPackages="urn:uddi-org:api_v3=${prefix}.types.core,urn:uddi-org:sub_v3=${prefix}.types.sub,urn:uddi-org:custody_v3=${prefix}.types.custody" 

            output="${basedir}/target/gen" dataBindingName="xmlbeans" 
unpackClasses="true" packagename="${prefix}.stubs" unwrap="true" 
servicename="UddiInquiry" />
       
        <delete dir="target/gen/src">
            <exclude name="dk/itst/uddi/client/stubs/**"/>
        </delete>
    </target>