xsi:type appears twice
----------------------

         Key: AXIS-1837
         URL: http://issues.apache.org/jira/browse/AXIS-1837
     Project: Axis
        Type: Bug
  Components: Serialization/Deserialization  
    Versions: 1.2RC3    
 Environment: MacOS X
java full version "1.4.2_05-141.3"
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-141.3)
Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode)
    Reporter: Mickael Remars


In case of an array serialization, if global parameter sendXsiType is set to 
true, xsi:type="soapenc:Array" is present TWICE.
My SOAP client is FireFox 1.0 and I got an error at deserialization saying that 
an attribute can't be present multiple times.

Here is the piece of the soap message captured with tcpmon:

<descriptions soapenc:arrayType="ns1:StringBundle[1]"
              xsi:type="soapenc:Array"
              xsi:type="soapenc:Array"
              xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <item xsi:type="ns1:StringBundle">
    <localeId xsi:type="soapenc:string">fr</localeId>
    <string xsi:type="soapenc:string">_ROOT_</string>
  </item>
</descriptions>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to