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 "Nick Gallardo (JIRA)" <ji...@apache.org> on 2007/02/09 20:39:05 UTC

[jira] Commented: (AXIS2-2154) org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris

    [ https://issues.apache.org/jira/browse/AXIS2-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471797 ] 

Nick Gallardo commented on AXIS2-2154:
--------------------------------------

It looks like the request is being unmarshalled on the server side, but only the wrapper is unmarshalled.  The following check fails:

       if (request == null) {
           throw new WebServiceException("Null input received.");
       } else if (request.getImageData() == null) {
           throw new WebServiceException("Image is null");
       } 

meaning that JAXB created an ImageDepot object, but the actual image data inside of it was omitted.

> org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
> -----------------------------------------------------------------------
>
>                 Key: AXIS2-2154
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2154
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Jeff Barrett
>
> org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests fails on Solaris
> This problem is seen in the Continum builds of Apache Axis2.  Since this causes the Continum build to fail, the test has been commented out of JAXWSTest (Committed revision 505375).  
> The test runs successfully on Windows and Linux.
> Failure from target/test-reports/TEST-org.apache.axis2.jaxws.framework.JAXWSTest.txt:
> =====================================================================================
> Testcase: testAttachmentByteArrayAPI11(org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests):	Caused an ERROR
> Image is null
> javax.xml.ws.soap.SOAPFaultException: Image is null
> 	at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:946)
> 	at org.apache.axis2.jaxws.client.BaseDispatch.getFaultResponse(BaseDispatch.java:360)
> 	at org.apache.axis2.jaxws.client.BaseDispatch.invoke(BaseDispatch.java:129)
> 	at org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests.testAttachmentByteArrayAPI11(MtomSampleByteArrayTests.java:60)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)

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