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

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2002-10-01 18:19 -------
I tried this with Axis as the client, but since we don't multiref dates by
default, it sent two separate date objects anyway.  I tweaked the request 
message to be this:

<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>
  <testDates soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
   <arg0 href="#0"/>
   <arg1 href="#0"/>
  </testDates>
  <multiref id="0" xsi:type="xsd:dateTime">2002-10-01T18:07:45.343Z</multiref>
 </soapenv:Body>
</soapenv:Envelope>

And called this service:

   public boolean testDates(Date d1, Date d2) {
       return (d1 == d2);
   }

...with this result:

<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>
  <testDatesResponse 
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
   <testDatesReturn xsi:type="xsd:boolean">true</testDatesReturn>
  </testDatesResponse>
 </soapenv:Body>
</soapenv:Envelope>

In other words, multi-ref deserialization of dates seems to work fine.  Marking 
this bug as INVALID for now, if you can demonstrate the problem please feel 
free to reopen it.

Reply via email to