axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arthur Ryman (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (AXIS-2403) Deserialization of document/literal response fails in BeanPropertyTarget.java with java.lang.IllegalArgumentException: argument type mismatch
Date Sun, 12 Feb 2006 16:10:28 GMT
     [ http://issues.apache.org/jira/browse/AXIS-2403?page=all ]

Arthur Ryman updated AXIS-2403:
-------------------------------

    Attachment: schedule.xsd

> Deserialization of document/literal response fails in BeanPropertyTarget.java with java.lang.IllegalArgumentException:
argument type mismatch
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-2403
>          URL: http://issues.apache.org/jira/browse/AXIS-2403
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2.1
>  Environment: Windows XP, IBM JDK 1.4.2
>     Reporter: Arthur Ryman
>  Attachments: Query.wsdl, response.xml, schedule.xsd
>
> I used WSDL2Java to generate a client proxy for a document/literal service that returns
a complex XML document. The client fails when it tries to deserialize the payload. I'll attach
the WSDL, response, etc. I need this to work on Axis 1.2.1. Is there a workaround? Thx.
> Here's the console message:
> Feb 12, 2006 10:39:58 AM org.apache.axis.encoding.ser.BeanPropertyTarget set
> SEVERE: Could not convert com.leagueplanet.resource.schedule.ResourceType to bean field
'schedule', type com.leagueplanet.resource.schedule.ScheduleType
> Feb 12, 2006 10:39:58 AM org.apache.axis.client.Call invoke
> SEVERE: Exception:
> java.lang.IllegalArgumentException: argument type mismatch
> 	at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:157)
> 	at org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:249)
> 	at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:509)
> 	at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2448)
> 	at org.apache.axis.client.Call.invoke(Call.java:2347)
> 	at org.apache.axis.client.Call.invoke(Call.java:1804)
> 	at com.leagueplanet.ws.Query.QuerySOAPStub.getSchedule(QuerySOAPStub.java:201)
> 	at com.leagueplanet.ws.Query.QueryProxy.getSchedule(QueryProxy.java:45)
> 	at org.apache.jsp.sampleQueryProxy.Result_jsp._jspService(Result_jsp.java:145)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> 	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	at java.lang.Thread.run(Thread.java:570)

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


Mime
View raw message