WSDL2Java generates compile error in call to super constructor
--------------------------------------------------------------
Key: AXIS-2191
URL: http://issues.apache.org/jira/browse/AXIS-2191
Project: Apache Axis
Type: Bug
Components: WSDL processing
Versions: current (nightly)
Environment: all
Reporter: Michael Ward
Priority: Blocker
The latest snapshot (ws-axis_20050823103951.tar.gz) produces a call to super()
with a string argument and the super class is java.lang.Object. A WSDL is
below that generates the problem. Also, I am running WSDL2Java with the
following args:
'org.apache.axis.wsdl.WSDL2Java -o <output_path> -O -1 -W -s'
<wsdl:definitions xmlns="http://test.axis.com/wsdl2java/"
xmlns:soapbind="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://test.axis.com/wsdl2java/" name="axisTest">
<wsdl:types>
<xs:schema targetNamespace="http://test.axis.com/wsdl2java/"
xmlns="http://test.axis.com/wsdl2java/"
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<xs:element name="testString" type="xs:string"/>
<xs:element name="testDate" type="xs:date"/>
<xs:complexType name="WSDLTest_Type">
<xs:sequence>
<xs:element ref="testString" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="TestSimpleType_Type">
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:complexType name="TestExtension_Type">
<xs:simpleContent>
<xs:extension base="TestSimpleType_Type">
<xs:attribute name="description" type="xs:string"
use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="WSDLTestResponse_Type">
<xs:sequence>
<xs:element ref="testDate" minOccurs="1" maxOccurs="1"/>
<xs:element name="testExtension" type="TestExtension_Type"
minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
<xs:element name="getWSDLTest" type="WSDLTest_Type"/>
<xs:element name="getWSDLTestResponse"
type="WSDLTestResponse_Type"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="GetWSDLTestRequestMessage">
<wsdl:part name="getWSDLTestRequest" element="getWSDLTest"/>
</wsdl:message>
<wsdl:message name="GetWSDLTestResponseMessage">
<wsdl:part name="getWSDLTestResponse" element="getWSDLTestResponse"/>
</wsdl:message>
<wsdl:portType name="GetWSDLTestPortType">
<wsdl:operation name="getWSDLTest">
<wsdl:input message="GetWSDLTestRequestMessage"/>
<wsdl:output message="GetWSDLTestResponseMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="GetWSDLTestSoapBinding" type="GetWSDLTestPortType">
<soapbind:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getWSDLTest" >
<soapbind:operation style="document"
soapAction="http://service.wellsfargo.com/provider/pcs/account/2004/"/>
<wsdl:input>
<soapbind:body parts="getWSDLTestRequest" use="literal"/>
</wsdl:input>
<wsdl:output>
<soapbind:body parts="getWSDLTestResponse" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="GetWSDLTestService">
<wsdl:port name="getWSDLTest" binding="GetWSDLTestSoapBinding">
<soapbind:address
location="http://localhost:7001/services/getWSDLTest/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira