And to obtain the DataHandler in the Client: file = elementhijo.getFirstElement(); OMText binaryNode = (OMText) file.getFirstOMChild(); DataHandler dataHandler; dataHandler = (DataHandler) binaryNode.getDataHandler();
To obtain the Element file, I verify that it is the correct element, but I obtain a Class Cast Exception in the line "OMText binaryNode = (OMText) file.getFirstOMChild();" to try convert a OMElement to OMText.
can help me somebody? Thanks in advance! Esther
Joined: Jan 25, 2007
I am looking for the efficient way to send archives, and I'm tryin that way (Datahandler), but someone know other way to send archives... Can help me somebody?