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 "takanori (JIRA)" <ji...@apache.org> on 2006/09/24 17:10:22 UTC
[jira] Created: (AXIS2-1227) Deserializing a array parameter is
invalid
Deserializing a array parameter is invalid
------------------------------------------
Key: AXIS2-1227
URL: http://issues.apache.org/jira/browse/AXIS2-1227
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: Addressing
Affects Versions: 1.1
Reporter: takanori
When I use RPCMessageReciver, fail to deserializie a array parameter.
Service
-----------------------------------------------------------------------------------
public SampleDto echo(SampleDto dto) {
// do something.
}
-----------------------------------------------------------------------------------
SampleDto
-----------------------------------------------------------------------------------
public class SampleDto {
private String strParam = "echo";
private short shortParam = 1;
private int intParam = 2;
private long longParam = 3L;
private float floatParam = 1.0f;
private double doubleParam = 1.1;
private boolean boolParam = true;
private String[] stringArray = null;
// setter/getter
}
-----------------------------------------------------------------------------------
If I send the array ["a", "b", "c"](stringArray ),
it is deserializied to [true, 1.1, 1.0, 2, 3, 1, "echo", "a", "b", "c"].
Sending data is:
-----------------------------------------------------------------------------------
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header />
<soapenv:Body>
<ns:echo xmlns:ns="http://examples/xsd">
<arg0>
<boolParam>true</boolParam>
<doubleParam>1.1</doubleParam>
<floatParam>1.0</floatParam>
<intParam>2</intParam>
<longParam>3</longParam>
<shortParam>1</shortParam>
<strParam>echo</strParam>
<stringArray>a</stringArray><stringArray>b</stringArray><stringArray>c</stringArray>
</arg0>
</ns:echo>
</soapenv:Body>
</soapenv:Envelope>
-----------------------------------------------------------------------------------
--
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
[jira] Updated: (AXIS2-1227) [RPC] Deserializing a array parameter
is invalid
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1227?page=all ]
Davanum Srinivas updated AXIS2-1227:
------------------------------------
Component/s: rpc
> [RPC] Deserializing a array parameter is invalid
> ------------------------------------------------
>
> Key: AXIS2-1227
> URL: http://issues.apache.org/jira/browse/AXIS2-1227
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: rpc
> Affects Versions: 1.1
> Reporter: takanori
>
> When I use RPCMessageReciver, fail to deserializie a array parameter.
> Service
> -----------------------------------------------------------------------------------
> public SampleDto echo(SampleDto dto) {
> // do something.
> }
> -----------------------------------------------------------------------------------
> SampleDto
> -----------------------------------------------------------------------------------
> public class SampleDto {
> private String strParam = "echo";
> private short shortParam = 1;
> private int intParam = 2;
> private long longParam = 3L;
> private float floatParam = 1.0f;
> private double doubleParam = 1.1;
> private boolean boolParam = true;
> private String[] stringArray = null;
> // setter/getter
> }
> -----------------------------------------------------------------------------------
> If I send the array ["a", "b", "c"](stringArray ),
> it is deserializied to [true, 1.1, 1.0, 2, 3, 1, "echo", "a", "b", "c"].
> Sending data is:
> -----------------------------------------------------------------------------------
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Header />
> <soapenv:Body>
> <ns:echo xmlns:ns="http://examples/xsd">
> <arg0>
> <boolParam>true</boolParam>
> <doubleParam>1.1</doubleParam>
> <floatParam>1.0</floatParam>
> <intParam>2</intParam>
> <longParam>3</longParam>
> <shortParam>1</shortParam>
> <strParam>echo</strParam>
> <stringArray>a</stringArray><stringArray>b</stringArray><stringArray>c</stringArray>
> </arg0>
> </ns:echo>
> </soapenv:Body>
> </soapenv:Envelope>
> -----------------------------------------------------------------------------------
--
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
[jira] Updated: (AXIS2-1227) [RPC] Deserializing a array parameter
is invalid
Posted by "David Illsley (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1227?page=all ]
David Illsley updated AXIS2-1227:
---------------------------------
Component/s: (was: Addressing)
Moving to component 'Unknown' as this doesn't look addressing related
> [RPC] Deserializing a array parameter is invalid
> ------------------------------------------------
>
> Key: AXIS2-1227
> URL: http://issues.apache.org/jira/browse/AXIS2-1227
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: takanori
>
> When I use RPCMessageReciver, fail to deserializie a array parameter.
> Service
> -----------------------------------------------------------------------------------
> public SampleDto echo(SampleDto dto) {
> // do something.
> }
> -----------------------------------------------------------------------------------
> SampleDto
> -----------------------------------------------------------------------------------
> public class SampleDto {
> private String strParam = "echo";
> private short shortParam = 1;
> private int intParam = 2;
> private long longParam = 3L;
> private float floatParam = 1.0f;
> private double doubleParam = 1.1;
> private boolean boolParam = true;
> private String[] stringArray = null;
> // setter/getter
> }
> -----------------------------------------------------------------------------------
> If I send the array ["a", "b", "c"](stringArray ),
> it is deserializied to [true, 1.1, 1.0, 2, 3, 1, "echo", "a", "b", "c"].
> Sending data is:
> -----------------------------------------------------------------------------------
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Header />
> <soapenv:Body>
> <ns:echo xmlns:ns="http://examples/xsd">
> <arg0>
> <boolParam>true</boolParam>
> <doubleParam>1.1</doubleParam>
> <floatParam>1.0</floatParam>
> <intParam>2</intParam>
> <longParam>3</longParam>
> <shortParam>1</shortParam>
> <strParam>echo</strParam>
> <stringArray>a</stringArray><stringArray>b</stringArray><stringArray>c</stringArray>
> </arg0>
> </ns:echo>
> </soapenv:Body>
> </soapenv:Envelope>
> -----------------------------------------------------------------------------------
--
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
[jira] Resolved: (AXIS2-1227) [RPC] Deserializing a array parameter
is invalid
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1227?page=all ]
Deepal Jayasinghe resolved AXIS2-1227.
--------------------------------------
Resolution: Fixed
fixed in the current SVN
> [RPC] Deserializing a array parameter is invalid
> ------------------------------------------------
>
> Key: AXIS2-1227
> URL: http://issues.apache.org/jira/browse/AXIS2-1227
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: rpc
> Affects Versions: 1.1
> Reporter: takanori
>
> When I use RPCMessageReciver, fail to deserializie a array parameter.
> Service
> -----------------------------------------------------------------------------------
> public SampleDto echo(SampleDto dto) {
> // do something.
> }
> -----------------------------------------------------------------------------------
> SampleDto
> -----------------------------------------------------------------------------------
> public class SampleDto {
> private String strParam = "echo";
> private short shortParam = 1;
> private int intParam = 2;
> private long longParam = 3L;
> private float floatParam = 1.0f;
> private double doubleParam = 1.1;
> private boolean boolParam = true;
> private String[] stringArray = null;
> // setter/getter
> }
> -----------------------------------------------------------------------------------
> If I send the array ["a", "b", "c"](stringArray ),
> it is deserializied to [true, 1.1, 1.0, 2, 3, 1, "echo", "a", "b", "c"].
> Sending data is:
> -----------------------------------------------------------------------------------
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Header />
> <soapenv:Body>
> <ns:echo xmlns:ns="http://examples/xsd">
> <arg0>
> <boolParam>true</boolParam>
> <doubleParam>1.1</doubleParam>
> <floatParam>1.0</floatParam>
> <intParam>2</intParam>
> <longParam>3</longParam>
> <shortParam>1</shortParam>
> <strParam>echo</strParam>
> <stringArray>a</stringArray><stringArray>b</stringArray><stringArray>c</stringArray>
> </arg0>
> </ns:echo>
> </soapenv:Body>
> </soapenv:Envelope>
> -----------------------------------------------------------------------------------
--
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
[jira] Updated: (AXIS2-1227) [RPC] Deserializing a array parameter
is invalid
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1227?page=all ]
Davanum Srinivas updated AXIS2-1227:
------------------------------------
Summary: [RPC] Deserializing a array parameter is invalid (was: Deserializing a array parameter is invalid)
> [RPC] Deserializing a array parameter is invalid
> ------------------------------------------------
>
> Key: AXIS2-1227
> URL: http://issues.apache.org/jira/browse/AXIS2-1227
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: Addressing
> Affects Versions: 1.1
> Reporter: takanori
>
> When I use RPCMessageReciver, fail to deserializie a array parameter.
> Service
> -----------------------------------------------------------------------------------
> public SampleDto echo(SampleDto dto) {
> // do something.
> }
> -----------------------------------------------------------------------------------
> SampleDto
> -----------------------------------------------------------------------------------
> public class SampleDto {
> private String strParam = "echo";
> private short shortParam = 1;
> private int intParam = 2;
> private long longParam = 3L;
> private float floatParam = 1.0f;
> private double doubleParam = 1.1;
> private boolean boolParam = true;
> private String[] stringArray = null;
> // setter/getter
> }
> -----------------------------------------------------------------------------------
> If I send the array ["a", "b", "c"](stringArray ),
> it is deserializied to [true, 1.1, 1.0, 2, 3, 1, "echo", "a", "b", "c"].
> Sending data is:
> -----------------------------------------------------------------------------------
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Header />
> <soapenv:Body>
> <ns:echo xmlns:ns="http://examples/xsd">
> <arg0>
> <boolParam>true</boolParam>
> <doubleParam>1.1</doubleParam>
> <floatParam>1.0</floatParam>
> <intParam>2</intParam>
> <longParam>3</longParam>
> <shortParam>1</shortParam>
> <strParam>echo</strParam>
> <stringArray>a</stringArray><stringArray>b</stringArray><stringArray>c</stringArray>
> </arg0>
> </ns:echo>
> </soapenv:Body>
> </soapenv:Envelope>
> -----------------------------------------------------------------------------------
--
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