[
http://issues.apache.org/jira/browse/AXIS2-892?page=comments#action_12443317 ]
robert lazarski commented on AXIS2-892:
---------------------------------------
Looking into this, I don't understand how
parse(javax.xml.stream.XMLStreamReader reader) can resolve the constant
IS_DATA_HANDLERS_AWARE :
boolean isReaderMTOMAware = false;
try{
System.out.println("isReaderMTOMAware test");
isReaderMTOMAware =
java.lang.Boolean.TRUE.equals(reader.getProperty(org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE));
}catch(java.lang.IllegalArgumentException e){
System.out.println("isReaderMTOMAware is false");
isReaderMTOMAware = false;
}
This always returns false for me. The javax.xml.stream.XMLStreamReader is
comming from stax-api-1.0.1.jar and codehaus - yet Ajith says:
"In XMLStreamReader implementations provided by AXIOM, the getProperty method
returns the Boolean.TRUE object for the key
org.apache.axiom.om.OMConstants.IS_DATA_HANDLERS_AWARE
("IsDatahandlersAwareParsing") " .
The axiom distro doesn't seem to provide a XMLStreamReader . If I can get this
to work I 'll add it to the mtom docs.
> Need Documentation for MTOM data binding
> ----------------------------------------
>
> Key: AXIS2-892
> URL: http://issues.apache.org/jira/browse/AXIS2-892
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Improvement
> Components: documentation
> Reporter: Thilina Gunarathne
> Assigned To: robert lazarski
> Priority: Minor
>
> There seems to be lot of questions in the mailing list regarding MTOM data
> binding. It'll be great if we can provide a guide or a sample for this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]