axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-1571) PositiveInteger is not deserialize by the server side.
Date Mon, 15 Nov 2004 16:36:26 GMT
     [ http://nagoya.apache.org/jira/browse/AXIS-1571?page=comments#action_55500 ]
     
Davanum Srinivas commented on AXIS-1571:
----------------------------------------

Can you please submit a patch?

thanks,
dims

> PositiveInteger is not deserialize by the server side.
> ------------------------------------------------------
>
>          Key: AXIS-1571
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1571
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2 Beta
>  Environment: 1.2 Beta current
>     Reporter: S├ębastien Tardif

>
> I have a WSDL with an entry like:
> <complexType name="DocumentURLResponse">
>  <sequence>
>   <element name="documentSize" nillable="false" type="xsd:positiveInteger"/>
>   <element name="documentURL" nillable="false" type="xsd:string"/>
>  </sequence>
> </complexType>
> So PositiveInteger is the type used by wsdl2java to represent the type in Java. An example:
> public class Criteria  implements java.io.Serializable {
>     private java.lang.String[] retrievalName;
>     private com.docharbor.webservices.QueryExpression[] queryExpression;
>     private com.docharbor.webservices.SortCriteria[] sortCriteria;
>     private org.apache.axis.types.PositiveInteger maxRows;
> PositiveInteger is not deserialize by the server side when call the webservice server.

> Here the stack:
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: - Could not convert java.math.BigInteger
to bean field 'maxRows', type org.apache.axis.types.PositiveInteger
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: - AxisFault:
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: AxisFault
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout:  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout:  faultSubcode: 
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout:  faultString: java.lang.IllegalArgumentException:
argument type mismatch
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout:  faultActor: 
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout:  faultNode: 
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout:  faultDetail: 
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	{http://xml.apache.org/axis/}stackTrace:java.lang.IllegalArgumentException:
argument type mismatch
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at java.lang.reflect.Method.invoke(Method.java:324)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.utils.BeanPropertyDescriptor.set(BeanPropertyDescriptor.java:117)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:75)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:248)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:511)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1077)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:844)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:198)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:323)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:146)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:319)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:450)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.server.AxisServer.invoke(AxisServer.java:285)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:637)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:301)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
> [23/Sep/2004:14:34:21] info ( 3648): CORE3282: stdout: 	at com.iplanet.ias.web.WebContainer.service(WebContainer.java:578)
> [

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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


Mime
View raw message