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 "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/07/27 22:39:19 UTC

[jira] Resolved: (AXIS-1837) xsi:type appears twice

     [ http://issues.apache.org/jira/browse/AXIS-1837?page=all ]
     
Davanum Srinivas resolved AXIS-1837:
------------------------------------

    Resolution: Fixed

I believe this has been fixed in Axis 1.2.1. If it isn't, add a comment and i'll reopen the bug.

thanks,
dims

> xsi:type appears twice
> ----------------------
>
>          Key: AXIS-1837
>          URL: http://issues.apache.org/jira/browse/AXIS-1837
>      Project: Apache 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira