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 "J Robert Ray (JIRA)" <ax...@ws.apache.org> on 2005/07/28 02:50:20 UTC

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

    [ http://issues.apache.org/jira/browse/AXIS-1837?page=comments#action_12317007 ] 

J Robert Ray commented on AXIS-1837:
------------------------------------

We loaded up 1.2.1 but are still experiencing this problem.

... soapenc:arrayType="soapenc:string[7]" xsi:type="soapenc:Array" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" ...

- Robert

> 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