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 "Kellogg, Richard" <RK...@MICROS.COM> on 2003/03/03 19:12:54 UTC

Clarification on Single Multi-Ref

The javadoc comments on the moveValueTargets method on the org.apache.axis.encoding.Deserializer makes the following statement:

The DeserializationContext only allows one Deserializer to wait for a unknown multi-ref value.

Would anyone care to elaborate?

I have a document generated by the Microsoft.NET 1.1 Beta Framework which seems to be on point.  Axis 1.1 RC1 fails to deserialize this correctly.  Any ideas?

Another question, does anyone know how to disable the use of href/multiref in a .NET client?  The C# client does not have any issues with Axis generated packets using hrefs.

<?xml version="1.0" encoding="utf-8"?>
   <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:micros-webservices:mmap-test" xmlns:types="urn:micros-webservices:mmap-test/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <tns:echoMapEntryCollection>
            <reqCollection href="#id1" />
         </tns:echoMapEntryCollection>
         <soapenc:Array id="id1" xmlns:q1="urn:schemas-micros-webservices:mmap" soapenc:arrayType="q1:MMapEntry[3]">
            <Item href="#id2" />
            <Item href="#id3" />
            <Item href="#id4" />
         </soapenc:Array>
         <q2:MMapEntry id="id2" xsi:type="q2:MMapEntry" xmlns:q2="urn:schemas-micros-webservices:mmap">
            <key xsi:type="xsd:string">Key1</key>
            <value xsi:type="xsd:string">Value1</value>
         </q2:MMapEntry>
         <q3:MMapEntry id="id3" xsi:type="q3:MMapEntry" xmlns:q3="urn:schemas-micros-webservices:mmap">
            <key xsi:type="xsd:string">Key2</key>
            <value xsi:type="xsd:string">Value2</value>
         </q3:MMapEntry>
         <q4:MMapEntry id="id4" xsi:type="q4:MMapEntry" xmlns:q4="urn:schemas-micros-webservices:mmap">
            <key xsi:type="xsd:string">Key3</key>
            <value xsi:type="xsd:string">Value3</value>
         </q4:MMapEntry>
      </soap:Body>
   </soap:Envelope>