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=13175>.
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=13175

Deserialization of two arguments with the same object fails





------- Additional Comments From [EMAIL PROTECTED]  2002-10-01 18:41 
-------
I don't have a simple test case, but you can write your own by just doubling an 
argument of an existing werbservice method and passing the same object to both 
arguments. This behaviour only happens if you use custom de-/serializers. My 
serializer factory everytime returns a new instance of the de-/serializer if 
asked for one.

Details:
Axis as client and as server. Serialization with handmade serializers, no 
generated code.

Message from client which leads to bug on server (arg1 and arg2 point to the 
same object):

<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>
  <feiertage soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
   <arg0 href="#id0"/>
   <arg1 href="#id1"/>
   <arg2 href="#id1"/>
  </feiertage>
  <multiRef id="id0" soapenc:root="0" 
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
xsi:type="ns1:dvBundesland" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:ns1="http://domainvalue.feiertagservice.itwps.de";>
   <land xsi:type="xsd:string">Hamburg</land>
  </multiRef>
  <multiRef id="id1" soapenc:root="0" 
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
xsi:type="ns2:dvDate" xmlns:ns2="http://domainvalue.lang.jwamx.de"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>
   <datum xsi:type="xsd:string">01.01.2002</datum>
  </multiRef>
 </soapenv:Body>
</soapenv:Envelope>

I hope that this is enough detail?

Reply via email to