You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/03/26 19:35:02 UTC
DO NOT REPLY [Bug 7494] New: -
Incorrect Serialization of Complex Type
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7494>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7494
Incorrect Serialization of Complex Type
Summary: Incorrect Serialization of Complex Type
Product: Axis
Version: beta-1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: Other
Component: Basic Architecture
AssignedTo: axis-dev@xml.apache.org
ReportedBy: walker_mitch@hotmail.com
Fields are being serialized with incorrect casing. Note the field Name is
coming across as name. This is with a simple service using the default
BeanSerializer via the <beanMapping/> node.
<types>
<schema ... >
<complexType name="Customer">
<sequence>
<element name="Name" nillable="true" type="xsd:string" />
</sequence>
</complexType>
<element name="Customer" nillable="true" type="tns1:Customer" />
</schema>
</types>
The response packet looks like:
<ns1:GetCustomerResponse SOAP-
ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://127.0.0.1:8080/axis/services/CustomerService">
<GetCustomerResult href="#id0"/>
</ns1:GetCustomerResponse>
<multiRef id="id0" SOAP-ENC:root="0" xsi:type="ns2:Customer" xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="CustomerService">
<name xsi:type="xsd:string">Hello</name>
</multiRef>