[ https://issues.apache.org/jira/browse/AXIS2-2494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576487#action_12576487 ]
Davanum Srinivas commented on AXIS2-2494: ----------------------------------------- looks like the cxf guys ran into the same issue http://svn.apache.org/viewvc?view=rev&revision=609869 according to this diff, jaxb won't handle this case completely and we have to do it by hand http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java?view=diff&r1=609868&r2=609869&pathrev=609869 + // Have to handle this ourselves.... which really + // sucks.... but what can we do? -- dims > StringListTests doesn't work > ---------------------------- > > Key: AXIS2-2494 > URL: https://issues.apache.org/jira/browse/AXIS2-2494 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: jaxws > Reporter: Glen Daniels > Assignee: Rich Scheuerle > Fix For: 1.4 > > > I'm seeing one failure in the current M2 build for JAXWS, StringListTests. > The contents of the test report > (target/surefire-reports/org.apache.axis2.jaxws.framework.JAXWSTest.txt) are > as follows. Could someone intimate with JAXWS take a quick look at this and > see if it's a real issue? I've commented out the test for the moment so the > M2 build works cleanly. > ------------------------------------------------------------------------------- > Test set: org.apache.axis2.jaxws.framework.JAXWSTest > ------------------------------------------------------------------------------- > Tests run: 337, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 316.14 sec > <<< FAILURE! > testStringListScenario(org.apache.axis2.jaxws.sample.StringListTests) Time > elapsed: 0.297 sec <<< ERROR! > javax.xml.ws.WebServiceException: javax.xml.bind.MarshalException > - with linked exception: > [javax.xml.bind.JAXBException: java.util.List is not known to this context] > at > org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:172) > at > org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:67) > at > org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:125) > at > org.apache.axis2.jaxws.message.databinding.impl.JAXBBlockImpl.marshalByElement(JAXBBlockImpl.java:269) > at > org.apache.axis2.jaxws.message.databinding.impl.JAXBBlockImpl._outputFromBO(JAXBBlockImpl.java:214) > at > org.apache.axis2.jaxws.message.impl.BlockImpl.outputTo(BlockImpl.java:325) > at > org.apache.axis2.jaxws.message.impl.BlockImpl.serialize(BlockImpl.java:250) > at > org.apache.axiom.om.impl.llom.OMSourcedElementImpl.internalSerializeAndConsume(OMSourcedElementImpl.java:581) > at > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:779) > at > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:808) > at > org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.serializeInternally(SOAPEnvelopeImpl.java:227) > at > org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:215) > at > org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:808) > at > org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:418) > at > org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:55) > at > org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84) > at > org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495) > at > org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973) > at > org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) > at > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) > at > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) > at > org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:565) > at > org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:176) > at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:73) > at > org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:310) > at > org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:202) > at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:446) > at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:330) > at > org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294) > at > org.apache.axis2.jaxws.core.controller.AxisInvocationController.execute(AxisInvocationController.java:567) > at > org.apache.axis2.jaxws.core.controller.AxisInvocationController.doInvoke(AxisInvocationController.java:109) > at > org.apache.axis2.jaxws.core.controller.InvocationController.invoke(InvocationController.java:96) > at > org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:264) > at > org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:136) > at $Proxy66.stringList(Unknown Source) > at > org.apache.axis2.jaxws.sample.StringListTests.testStringListScenario(StringListTests.java:33) > Caused by: javax.xml.bind.MarshalException > - with linked exception: > [javax.xml.bind.JAXBException: java.util.List is not known to this context] > at > com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:295) > at > com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:148) > at > org.apache.axis2.jaxws.message.databinding.impl.JAXBBlockImpl.marshalByElement(JAXBBlockImpl.java:267) > ... 66 more > Caused by: javax.xml.bind.JAXBException: java.util.List is not known to this > context > at > com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:223) > at > com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:238) > at > com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:85) > at > com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:127) > at > com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeBody(ElementBeanInfoImpl.java:244) > at > com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:251) > at > com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:33) > at > com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:461) > at > com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:292) > ... 68 more > Caused by: javax.xml.bind.JAXBException: java.util.List is not known to this > context > at > com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:507) > at > com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:82) > ... 74 more -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]