File location is valid. I sure. But I have this error.
I use Java 1.6 Bu I don't understand ? _____ From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 6:14 PM To: axis-user@ws.apache.org Subject: Re: MTOM Sample Error ? Since you r getting a NPE, also check whether the file path you gave is correct... thanks, Thilina 2008/8/13 Charitha Kankanamge <[EMAIL PROTECTED]> Hi, Which Axis2 version are you using? regards Charitha Şükrü Uzel wrote: I have error when mtom run client in axis2 sample ( MTOM ). Error : Exception in thread "main" org.apache.axis2.AxisFault at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.j ava:90) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAx isOperation.java:353) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperatio n.java:416) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisO peration.java:228) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) at org.apache.ws.axis2.mtomsample.MTOMSampleMTOMSampleSOAP11Port_httpStub.attac hment(Unknown Source) at sample.mtom.client.Client.transferFile(Unknown Source) at sample.mtom.client.Client.main(Unknown Source) Caused by: java.lang.NullPointerException at org.apache.axiom.attachments.Attachments.getSOAPPartContentType(Attachments. java:438) at org.apache.axis2.builder.MIMEBuilder.processDocument(MIMEBuilder.java:40) at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUti ls.java:164) at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.j ava:112) at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.j ava:88) what is problem ? ------------------------------------------------------------------------ Internal Virus Database is out-of-date. Checked by AVG. Version: 7.5.524 / Virus Database: 270.4.7/1543 - Release Date: 7/9/2008 6:32 PM --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thilina Gunarathne - http://thilinag.blogspot.com