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/09/21 01:40:18 UTC
DO NOT REPLY [Bug 12886] New: -
No serializer error generated
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=12886>.
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=12886
No serializer error generated
Summary: No serializer error generated
Product: Axis
Version: current (nightly)
Platform: All
OS/Version: Other
Status: NEW
Severity: Critical
Priority: Other
Component: Serialization/Deserialization
AssignedTo: axis-dev@xml.apache.org
ReportedBy: dug@us.ibm.com
Given a.jws:
------
public class a {
public int i = 5 ;
public void setI(int j) { i = j ;}
public int getI() { return i ; }
public a getQuote(String symbol) throws Exception {
return new a();
}
}
-----
When I run: java samples.stock.GetQuote -s/axis/a.jws IBM
I see:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:getQuoteResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn:xmltoday-delayed-quotes">
<getQuoteReturn href="#id0"/>
</ns1:getQuoteResponse>
<multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="xsd:anyType"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">a@558ce2</multiRef>
</soapenv:Body>
</soapenv:Envelope>
Notice the "a@558ce2" - I'm assuming that's the HashCode for the "new a()"
that was returned - it should have given me an error complaining about
no deserializer found for class "a".