[ https://issues.apache.org/jira/browse/AXIOM-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen moved AXIS2-3226 to AXIOM-383: ---------------------------------------------- Fix Version/s: (was: 1.4) 1.2.6 Key: AXIOM-383 (was: AXIS2-3226) Project: Axiom (was: Axis2) > MTOM has problems when I create an attachtment from a byte array of zero > elements > --------------------------------------------------------------------------------- > > Key: AXIOM-383 > URL: https://issues.apache.org/jira/browse/AXIOM-383 > Project: Axiom > Issue Type: Bug > Affects Versions: 1.2.5 > Environment: Windows XP SP2, Tomcat 6.0 > Reporter: Jorge Fernández > Assignee: Rich Scheuerle > Fix For: 1.2.6 > > Attachments: message1.txt > > > If I define a DataHandler from an ByteArrayDataSource and this one from a > byte array of zero elements, I get the following exception in the client: > org.apache.axis2.AxisFault: Referenced Attachment not found in the MIME > Message. ContentID:1.urn:uuid:0549f3f826ec3041861188639371...@apache.org > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417) > at client.Medici_LinkStub.fromOM(Medici_LinkStub.java:50213) > at client.Medici_LinkStub.getSignalData(Medici_LinkStub.java:6500) > at client.ClientUtilities.getSignalDataTest(ClientUtilities.java:600) > at client.Client.main(Client.java:172) > Caused by: org.apache.axiom.om.OMException: Referenced Attachment not found > in the MIME Message. > ContentID:1.urn:uuid:0549f3f826ec3041861188639371...@apache.org > at > org.apache.axiom.soap.impl.builder.MTOMStAXSOAPModelBuilder.getDataHandler(MTOMStAXSOAPModelBuilder.java:106)Closing > session... > at > client.Medici_LinkStub$ExtDataSegment$Factory.parse(Medici_LinkStub.java:34167) > at > client.Medici_LinkStub$ExtSignalData$Factory.parse(Medici_LinkStub.java:35862) > at > client.Medici_LinkStub$GetSignalDataResponse$Factory.parse(Medici_LinkStub.java:8777) > at client.Medici_LinkStub.fromOM(Medici_LinkStub.java:49766) > ... 3 more -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org For additional commands, e-mail: dev-h...@ws.apache.org