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 "Mickael Remars (JIRA)" <ax...@ws.apache.org> on 2005/03/04 15:57:47 UTC
[jira] Created: (AXIS-1837) xsi:type appears twice
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
[jira] Commented: (AXIS-1837) xsi:type appears twice
Posted by "J Robert Ray (JIRA)" <ax...@ws.apache.org>.
[ 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
[jira] Resolved: (AXIS-1837) xsi:type appears twice
Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
[ 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
[jira] Commented: (AXIS-1837) xsi:type appears twice
Posted by "Jesus Carrera (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1837?page=comments#action_12364243 ]
Jesus Carrera commented on AXIS-1837:
-------------------------------------
The bug is still there on Axis 1.3
> 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
[jira] Commented: (AXIS-1837) xsi:type appears twice
Posted by "Nigel Sim (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1837?page=comments#action_12331569 ]
Nigel Sim commented on AXIS-1837:
---------------------------------
I still have this issue with Axis 1.2.1.
Full SOAP conversation:
POST /axis/services/ExecutionAgent HTTP/1.1
Host: localhost:8686
Accept: text/xml
Accept: multipart/*
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:GridExecutionNetwork#getAgents"
Content-Length: 467
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<getAgents xmlns="urn:GridExecutionNetwork">
</getAgents>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP/1.0 200 OK
Set-Cookie: 1
Set-Cookie2: 1
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<soapenv:Body>
<ns1:getAgentsResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:GridExecutionNetwork">
<getAgentsReturn soapenc:arrayType="soapenc:string[0]" 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"/>
</ns1:getAgentsResponse>
</soapenv:Body>
</soapenv:Envelope>
> 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
[jira] Commented: (AXIS-1837) xsi:type appears twice
Posted by "Ravinder Battu (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1837?page=comments#action_12357907 ]
Ravinder Battu commented on AXIS-1837:
--------------------------------------
This issue still exists in Axis 1.2.1.. How come this bug is marked as Resolved?? Is there a fix I can download?
> 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
[jira] Commented: (AXIS-1837) xsi:type appears twice
Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1837?page=comments#action_12357915 ]
Davanum Srinivas commented on AXIS-1837:
----------------------------------------
try Axis 1.3
> 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
[jira] Commented: (AXIS-1837) xsi:type appears twice
Posted by "J Robert Ray (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1837?page=comments#action_12419612 ]
J Robert Ray commented on AXIS-1837:
------------------------------------
Can you reopen this bug please?
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org