wsdl2java has a bug in deserilaizer
-------------------------------------
Key: AXIS-2483
URL: http://issues.apache.org/jira/browse/AXIS-2483
Project: Apache Axis
Type: Bug
Components: Serialization/Deserialization
Versions: 1.4
Environment: java 1.4/1.5 (j2se)
Reporter: Maxim Grigoriev
Next wsdl with imported xsd presented below is getting deserialized
incorrectly so attributes and element names of
the upper elements getting lost.
corresponding lines from WSDL:
---------------------------------------------
</wsdl:message>
<wsdl:message name="addPBRClientRequest">
<wsdl:part name="addPBRCRequest" element="pbrns:PBRclient"/>
</wsdl:message>
...
<wsdl:operation name="addPBRClient">
<soap:operation soapAction=""/>
<wsdl:input name="aPBRCRequest">
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="pbrAPI" use="literal"/>
</wsdl:input>
------------------------------------------------------
xsd----------------------------------------
<xs:element name="PBRclient">
<xs:annotation><xs:documentation> Defines single PBR
client</xs:documentation></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ls:Topology" maxOccurs="unbounded"/>
<xs:complexType>
<xs:sequence>
<xs:element name="LocalPath" type="xs:token"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="name" use="required" type="xs:token"/>
</xs:complexType>
</xs:element>
<xs:element name="Topology">
<xs:complexType>
<xs:sequence>
<xs:element ref="ls:DeviceGroup" minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="topoName" type="xs:token" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="DeviceGroup">
<xs:complexType>
<xs:sequence>
<xs:element name="Device" minOccurs="1" maxOccurs="unbounded"
type="xs:token"/>
</xs:sequence>
<xs:attribute name="groupName" type="xs:token" use="required"/>
</xs:complexType>
</xs:element>
-------------------------------------------
its getting deserilaized by WSDl2Java into
public boolean addPBRClient(pbrclients.DeviceGroup[][] addPBRCRequest)
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]