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 "David Garcia (JIRA)" <ji...@apache.org> on 2006/12/18 10:42:20 UTC

[jira] Created: (AXIS2-1883) Integer nillable property of input parameter bean cannot be null (NumberFormatException in SimpleTypeMapper)

Integer nillable property of input parameter bean cannot be null (NumberFormatException in SimpleTypeMapper)
------------------------------------------------------------------------------------------------------------

                 Key: AXIS2-1883
                 URL: http://issues.apache.org/jira/browse/AXIS2-1883
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: databinding
    Affects Versions: 1.1
            Reporter: David Garcia


A property of a complex type is defined like this:

<xs:complexType name="SomeBean">
  <xs:sequence>
    <xs:element name="someInt" nillable="true" type="xs:int"/>
    ...
  </xs:sequence>
</xs:complexType>

That complex type is used as the input parameter of a service´s operation and is defined like this:

public class SomeBean {
   private Integer someInt;
   ...
   
   ...getters & setters...
}

Then, trying to set that property to "nil" is not allowed.
That is, if the input message is something like this:

<soapenv:Body>
  ...
    <someInt xmlns:nil="http://www.w3.org/2001/XMLSchema-instance" nil:nil="true"/>
</soapenv:Body>

then the following exception is thrown in the server:

java.lang.NumberFormatException: For input string: ""
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:489)
        at java.lang.Integer.<init>(Integer.java:609)
        at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(SimpleTypeMapper.java:77)
        at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:283)
        at org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:549)
        at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:499)
        at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:438)
        at org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:109)
        at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:116)
        at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:319)
        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:247)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
...

The only way to make it work is to change "someInt"´s type to "int" and pass "0" as default value, although most time this workaround is not desirable as it breaks the operation´s semantics.

Thanks in advance.


-- 
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] Commented: (AXIS2-1883) Integer nillable property of input parameter bean cannot be null (NumberFormatException in SimpleTypeMapper)

Posted by "David Garcia (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1883?page=comments#action_12459289 ] 
            
David Garcia commented on AXIS2-1883:
-------------------------------------

Well, I´ve been having a look at o.a.axis2.databinding.typemapping.SimpleTypeMapper.
It seems you don´t allow null values to make it through this converter, which could be intentional or just a lack of functionality.

On one hand, getSimpleTypeObject() doesn´t check for null values, which looks like a bug.
Then, there is makeCalendar() which throws the aforementioned "badDateTime00" exception when the given value is null.
I think this class is in the need of a good refactoring, cleanup and better error messages, but maybe all this I´m saying is just nonsense :-(

Anyway, could someone check whether this is right or wrong please?

Thanks again.


> Integer nillable property of input parameter bean cannot be null (NumberFormatException in SimpleTypeMapper)
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1883
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1883
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.1
>            Reporter: David Garcia
>
> A property of a complex type is defined like this:
> <xs:complexType name="SomeBean">
>   <xs:sequence>
>     <xs:element name="someInt" nillable="true" type="xs:int"/>
>     ...
>   </xs:sequence>
> </xs:complexType>
> That complex type is used as the input parameter of a service´s operation and is defined like this:
> public class SomeBean {
>    private Integer someInt;
>    ...
>    
>    ...getters & setters...
> }
> Then, trying to set that property to "nil" is not allowed.
> That is, if the input message is something like this:
> <soapenv:Body>
>   ...
>     <someInt xmlns:nil="http://www.w3.org/2001/XMLSchema-instance" nil:nil="true"/>
> </soapenv:Body>
> then the following exception is thrown in the server:
> java.lang.NumberFormatException: For input string: ""
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>         at java.lang.Integer.parseInt(Integer.java:489)
>         at java.lang.Integer.<init>(Integer.java:609)
>         at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(SimpleTypeMapper.java:77)
>         at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:283)
>         at org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:549)
>         at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:499)
>         at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:438)
>         at org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:109)
>         at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:116)
>         at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:319)
>         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:247)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> ...
> The only way to make it work is to change "someInt"´s type to "int" and pass "0" as default value, although most time this workaround is not desirable as it breaks the operation´s semantics.
> Thanks in advance.

-- 
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] Commented: (AXIS2-1883) Integer nillable property of input parameter bean cannot be null (NumberFormatException in SimpleTypeMapper)

Posted by "David Garcia (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463539 ] 

David Garcia commented on AXIS2-1883:
-------------------------------------

Hi again,

Finally, we´ve decided to fix bug on the assumption that null values are allowed to pass through SimpleTypeMapper.
To solve all our issues with null values we also had to fix AXIS2-1745; that´s why we´ve attached a patch for BeanUtil.

Both patches have been generated against the latest sources in the "1_1" branch.

We have thoroughly tested this solution with our use cases and it works fine so far :-)
I hope it also works for others.

BTW, I´ll post another comment on AXIS2-1745 to link here.

Cheers,
   David


> Integer nillable property of input parameter bean cannot be null (NumberFormatException in SimpleTypeMapper)
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1883
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1883
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.1
>            Reporter: David Garcia
>         Attachments: BeanUtil-branch_1_1.diff, SimpleTypeMapper-branch_1_1.diff
>
>
> A property of a complex type is defined like this:
> <xs:complexType name="SomeBean">
>   <xs:sequence>
>     <xs:element name="someInt" nillable="true" type="xs:int"/>
>     ...
>   </xs:sequence>
> </xs:complexType>
> That complex type is used as the input parameter of a service´s operation and is defined like this:
> public class SomeBean {
>    private Integer someInt;
>    ...
>    
>    ...getters & setters...
> }
> Then, trying to set that property to "nil" is not allowed.
> That is, if the input message is something like this:
> <soapenv:Body>
>   ...
>     <someInt xmlns:nil="http://www.w3.org/2001/XMLSchema-instance" nil:nil="true"/>
> </soapenv:Body>
> then the following exception is thrown in the server:
> java.lang.NumberFormatException: For input string: ""
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>         at java.lang.Integer.parseInt(Integer.java:489)
>         at java.lang.Integer.<init>(Integer.java:609)
>         at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(SimpleTypeMapper.java:77)
>         at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:283)
>         at org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:549)
>         at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:499)
>         at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:438)
>         at org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:109)
>         at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:116)
>         at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:319)
>         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:247)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> ...
> The only way to make it work is to change "someInt"´s type to "int" and pass "0" as default value, although most time this workaround is not desirable as it breaks the operation´s semantics.
> Thanks in advance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://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-1883) Integer nillable property of input parameter bean cannot be null (NumberFormatException in SimpleTypeMapper)

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe resolved AXIS2-1883.
--------------------------------------

    Resolution: Fixed

applied the patch
thx for the contribution

> Integer nillable property of input parameter bean cannot be null (NumberFormatException in SimpleTypeMapper)
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1883
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1883
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.1
>            Reporter: David Garcia
>         Attachments: BeanUtil-branch_1_1.diff, SimpleTypeMapper-branch_1_1.diff
>
>
> A property of a complex type is defined like this:
> <xs:complexType name="SomeBean">
>   <xs:sequence>
>     <xs:element name="someInt" nillable="true" type="xs:int"/>
>     ...
>   </xs:sequence>
> </xs:complexType>
> That complex type is used as the input parameter of a service´s operation and is defined like this:
> public class SomeBean {
>    private Integer someInt;
>    ...
>    
>    ...getters & setters...
> }
> Then, trying to set that property to "nil" is not allowed.
> That is, if the input message is something like this:
> <soapenv:Body>
>   ...
>     <someInt xmlns:nil="http://www.w3.org/2001/XMLSchema-instance" nil:nil="true"/>
> </soapenv:Body>
> then the following exception is thrown in the server:
> java.lang.NumberFormatException: For input string: ""
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>         at java.lang.Integer.parseInt(Integer.java:489)
>         at java.lang.Integer.<init>(Integer.java:609)
>         at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(SimpleTypeMapper.java:77)
>         at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:283)
>         at org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:549)
>         at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:499)
>         at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:438)
>         at org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:109)
>         at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:116)
>         at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:319)
>         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:247)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> ...
> The only way to make it work is to change "someInt"´s type to "int" and pass "0" as default value, although most time this workaround is not desirable as it breaks the operation´s semantics.
> Thanks in advance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1883) Integer nillable property of input parameter bean cannot be null (NumberFormatException in SimpleTypeMapper)

Posted by "David Garcia (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Garcia updated AXIS2-1883:
--------------------------------

    Attachment: BeanUtil-branch_1_1.diff
                SimpleTypeMapper-branch_1_1.diff

> Integer nillable property of input parameter bean cannot be null (NumberFormatException in SimpleTypeMapper)
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1883
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1883
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.1
>            Reporter: David Garcia
>         Attachments: BeanUtil-branch_1_1.diff, SimpleTypeMapper-branch_1_1.diff
>
>
> A property of a complex type is defined like this:
> <xs:complexType name="SomeBean">
>   <xs:sequence>
>     <xs:element name="someInt" nillable="true" type="xs:int"/>
>     ...
>   </xs:sequence>
> </xs:complexType>
> That complex type is used as the input parameter of a service´s operation and is defined like this:
> public class SomeBean {
>    private Integer someInt;
>    ...
>    
>    ...getters & setters...
> }
> Then, trying to set that property to "nil" is not allowed.
> That is, if the input message is something like this:
> <soapenv:Body>
>   ...
>     <someInt xmlns:nil="http://www.w3.org/2001/XMLSchema-instance" nil:nil="true"/>
> </soapenv:Body>
> then the following exception is thrown in the server:
> java.lang.NumberFormatException: For input string: ""
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>         at java.lang.Integer.parseInt(Integer.java:489)
>         at java.lang.Integer.<init>(Integer.java:609)
>         at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(SimpleTypeMapper.java:77)
>         at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:283)
>         at org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:549)
>         at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:499)
>         at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:438)
>         at org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:109)
>         at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:116)
>         at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:319)
>         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:247)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> ...
> The only way to make it work is to change "someInt"´s type to "int" and pass "0" as default value, although most time this workaround is not desirable as it breaks the operation´s semantics.
> Thanks in advance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://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] Commented: (AXIS2-1883) Integer nillable property of input parameter bean cannot be null (NumberFormatException in SimpleTypeMapper)

Posted by "David Garcia (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1883?page=comments#action_12459281 ] 
            
David Garcia commented on AXIS2-1883:
-------------------------------------

Hi again,

I´m also having this issue with xs:dateTime properties. When I send a "nil" value, I get this exception:

java.lang.NumberFormatException: badDateTime00
        at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.makeCalendar(SimpleTypeMapper.java:214)
        at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(SimpleTypeMapper.java:95)
        at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:283)
        at org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:549)
        at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:499)
        at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:438)
        at org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:109)
        at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:116)
        at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:319)
        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:247)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

Again, this is how the property is defined:

<xs:element name="dateProperty" nillable="true" type="xs:dateTime"/>

One thing I forgot to mention earlier is that the service is a "POJO Web Service".
This is the services.xml:

<service name="MyTestService" scope="application" targetNamespace="http://mydomain/ws/mytest">
	<schema schemaNamespace="http://mydomain/ws/mytest/xsd"/>
	<messageReceivers>
		<messageReceiver
			mep="http://www.w3.org/2004/08/wsdl/in-only"
			class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
		<messageReceiver
			mep="http://www.w3.org/2004/08/wsdl/in-out"
			class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
	</messageReceivers>
	<parameter name="ServiceClass">
		mydomain.ws.mytest.MyTestService
	</parameter>
</service>


> Integer nillable property of input parameter bean cannot be null (NumberFormatException in SimpleTypeMapper)
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1883
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1883
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.1
>            Reporter: David Garcia
>
> A property of a complex type is defined like this:
> <xs:complexType name="SomeBean">
>   <xs:sequence>
>     <xs:element name="someInt" nillable="true" type="xs:int"/>
>     ...
>   </xs:sequence>
> </xs:complexType>
> That complex type is used as the input parameter of a service´s operation and is defined like this:
> public class SomeBean {
>    private Integer someInt;
>    ...
>    
>    ...getters & setters...
> }
> Then, trying to set that property to "nil" is not allowed.
> That is, if the input message is something like this:
> <soapenv:Body>
>   ...
>     <someInt xmlns:nil="http://www.w3.org/2001/XMLSchema-instance" nil:nil="true"/>
> </soapenv:Body>
> then the following exception is thrown in the server:
> java.lang.NumberFormatException: For input string: ""
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>         at java.lang.Integer.parseInt(Integer.java:489)
>         at java.lang.Integer.<init>(Integer.java:609)
>         at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(SimpleTypeMapper.java:77)
>         at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:283)
>         at org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:549)
>         at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:499)
>         at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:438)
>         at org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:109)
>         at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:116)
>         at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:319)
>         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:247)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> ...
> The only way to make it work is to change "someInt"´s type to "int" and pass "0" as default value, although most time this workaround is not desirable as it breaks the operation´s semantics.
> Thanks in advance.

-- 
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