provide help how to find a datahandler when you see "Cannot get InputStream
from DataHandler.javax.activation.UnsupportedDataTypeException: no object DCH
for MIME type ..."
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: WSCOMMONS-483
URL: https://issues.apache.org/jira/browse/WSCOMMONS-483
Project: WS-Commons
Issue Type: Improvement
Affects Versions: Axiom 1.2.8
Environment: sun-jdk1.5, vista
Reporter: Ralf Hauser
Priority: Minor
When trying to send a axis client request, I get
org.apache.axiom.om.OMException: Cannot get InputStream from
DataHandler.javax.activation.UnsupportedDataTypeException: no object DCH for
MIME type application/octet-stream
at
org.apache.axiom.om.impl.llom.OMTextImpl.getInputStream(OMTextImpl.java:389)
at org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:269)
at
org.apache.axiom.om.impl.llom.OMTextImpl.writeOutput(OMTextImpl.java:255)
at
org.apache.axiom.om.impl.llom.OMTextImpl.internalSerializeLocal(OMTextImpl.java:433)
it would be great to
1) keep the stack-trace of the underlying exception
2) provide hints on whether there ere any mime-types a DCH was availalble for
if any. Any yes, which
3) background-info on the commandMap to typically retrieve that from...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.