axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yves Langisch (JIRA)" <>
Subject [jira] Created: (AXIS-2164) classes generated by wsdl2java don't compile
Date Thu, 04 Aug 2005 07:00:41 GMT
classes generated by wsdl2java don't compile

         Key: AXIS-2164
     Project: Apache Axis
        Type: Bug
  Components: WSDL processing  
    Versions: current (nightly)    
    Reporter: Yves Langisch
    Priority: Blocker

Running wsdl2java with the wsdl below generates classes which don't compile. The problem is
that CountryCodeType is newly inherited (1.2.1 didn't do that) from CountryCoded which doesn't
define a non-argument default constructor but CountryCodeType defines one.

My wsdl:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:tns="" xmlns:types=""
xmlns:xs="" xmlns:soap=""
xmlns:wsdl="" targetNamespace=""

        <xs:schema xmlns:tns="" targetNamespace=""
            <xs:import namespace=""
            <xs:element name="AbTst" type=""/>
    <wsdl:message name="HelloWorldRequest">
        <wsdl:part name="body" element="tns:AbTst"/>
    <wsdl:message name="HelloWorldResponse">
        <wsdl:part name="body" element="tns:AbTst"/>
    <wsdl:portType name="MyPort">
        <wsdl:operation name="HelloWorld">
            <wsdl:input message="tns:HelloWorldRequest"/>
            <wsdl:output message="tns:HelloWorldResponse"/>
    <wsdl:binding name="MySOAPBinding" type="tns:MyPort">
        <soap:binding style="document" transport=""/>
        <wsdl:operation name="HelloWorld">
            <soap:operation style="document"/>
                <soap:body use="literal"/>
                <soap:body use="literal"/>
    <wsdl:service name="MyService">
        <wsdl:port name="HelloWorld" binding="tns:MySOAPBinding">
            <soap:address location="http://localhost:9000/axis/services/HelloWorld"/>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message