Hi all, I'm running a WebService that it's download a file to local. If the name of the file does not contain a odd character (Ñ,á) the file download correctly, but if the name of the file contain a odd character I obtain the following error: Exception: Referenced MIME part not found.End of Stream reached. org.apache.axiom.om.OMException: Referenced MIME part not found.End of Stream reached. at org.apache.axiom.attachments.Attachments.getPart(Attachments.java:412) at org.apache.axiom.attachments.Attachments.getNextPart(Attachments.java:359) at org.apache.axiom.attachments.Attachments.getPart(Attachments.java:324) at org.apache.axiom.attachments.Attachments.getDataHandler(Attachments.java:274) at org.apache.axiom.om.impl.mtom.MTOMStAXSOAPModelBuilder.getDataHandler(MTOMStAXSOAPModelBuilder.java:151) at org.apache.axiom.om.impl.llom.OMTextImpl.getDataHandler(OMTextImpl.java:341) at clientesAxis2.VerDocumentoCliente.main(VerDocumentoCliente.java:124)
The object that I use is a DataHandler and the problem is that in my pc works correctly but in the environment of the client the error occurs. The file is downloaded via a call to a WebServices in Axis2, he transferred OMElement between a client and server, OMElement is divided into two parts, one showing the name of the file (String) who arrives correctly to the client side and another that part is where will the DataHandler, this part is wrong, even if it is found that is not null and obtained correctly the contentId, but to get the content gives me the error that he commented. If I change the name of the document (whithout rare characters) the file download correctly. Any idea? Thank and regards. Esther --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
