axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Thaker (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AXIS2-2371) RPC/LIT XSD List support for primitive data types.
Date Thu, 22 Mar 2007 22:21:32 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikhil Thaker closed AXIS2-2371.
--------------------------------


> RPC/LIT XSD List support for primitive data types. 
> ---------------------------------------------------
>
>                 Key: AXIS2-2371
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2371
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Assigned To: Nikhil Thaker
>         Attachments: JIRA_2371_rpcLitPrimitiveSupport.txt
>
>
> JAXWS did not have support for arrays or primitive types with rpc/lit scenario. With
this scenario user had following
> exception:
> javax.xml.ws.WebServiceException: java.lang.NoSuchMethodException: byte.<init>(java.lang.String)
> 	at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:179)
> 	at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:79)
> 	at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:133)
> 	at org.apache.axis2.jaxws.message.databinding.impl.JAXBBlockImpl.unmarshalByType(JAXBBlockImpl.java:360)
> 	at org.apache.axis2.jaxws.message.databinding.impl.JAXBBlockImpl._getBOFromReader(JAXBBlockImpl.java:113)
> 	at org.apache.axis2.jaxws.message.impl.BlockImpl.getBusinessObject(BlockImpl.java:144)
> 	at org.apache.axis2.jaxws.message.impl.XMLSpineImpl._getBlockFromOMElement(XMLSpineImpl.java:485)
> 	at org.apache.axis2.jaxws.message.impl.XMLSpineImpl.getBodyBlock(XMLSpineImpl.java:286)
> 	at org.apache.axis2.jaxws.message.impl.XMLPartBase.getBodyBlock(XMLPartBase.java:491)
> 	at org.apache.axis2.jaxws.message.impl.MessageImpl.getBodyBlock(MessageImpl.java:315)
> 	at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.getPDElements(MethodMarshallerUtils.java:236)
> 	at org.apache.axis2.jaxws.marshaller.impl.alt.RPCLitMethodMarshaller.demarshalRequest(RPCLitMethodMarshaller.java:191)
> 	at org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher.invoke(JavaBeanDispatcher.java:72)
> 	at org.apache.axis2.jaxws.server.EndpointController.invoke(EndpointController.java:147)
> 	at org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessageReceiver.java:106)
> 	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:183)
> 	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:270)
> 	at com.ibm.ws.websvcs.transport.http.WASAxis2Servlet.doPost(WASAxis2Servlet.java:875)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
> 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
> 	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
> 	at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
> 	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
> 	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
> 	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:111)
> 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
> 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
> 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
> 	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.j
> ava:214)
> 	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
> 	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
> 	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
> 	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
> 	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
> 	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
> 	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
> 	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
> 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
> Caused by: java.lang.NoSuchMethodException: byte.<init>(java.lang.String)
> 	at java.lang.Class.throwNoSuchMethodException(Class.java:275)
> 	at java.lang.Class.getConstructor(Class.java:320)
> 	at org.apache.axis2.jaxws.message.databinding.XSDListUtils.getFromText(XSDListUtils.java:176)
> 	at org.apache.axis2.jaxws.message.databinding.XSDListUtils.fromXSDListString(XSDListUtils.java:112)
> 	at org.apache.axis2.jaxws.message.databinding.impl.JAXBBlockImpl.unmarshalByType(JAXBBlockImpl.java:354)
> 	... 36 more
> I have a fix for this issue.

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


Mime
View raw message