// System.out.println(data.getLocalName() + " : "
// + data.getNamespace().getName());
Iterator childIt = data.getChildren();
//while (childIt.hasNext()) {
OMElement child = (OMElement) childIt.next();
OMText blob = (OMText) child.getFirstOMChild();
/*
* Following is the procedure the user has to follow to read objects in
* OBBlob User has to know the object type & whether it is serializable.
* If it is not he has to use a Custom Defined DataSource to get the
* Object.
*/
byte[] expectedObject = new byte[]{13, 56, 65, 32, 12, 12, 7, -3, -2,
-1, 98};
DataHandler actualDH;
actualDH = (DataHandler)blob.getDataHandler();
//ByteArrayInputStream object = (ByteArrayInputStream) actualDH
//.getContent();
//byte[] actualObject= null;
// object.read(actualObject,0,10);