|
Loading...
|
jibx-users@lists.sourceforge.net
[Prev] Thread [Next] | [Prev] Date [Next]
Re: [jibx-users] Unable to generate binding.xml for class with javax.activation.DataHandler - MTOM Dennis Sosnoski Sat Nov 26 23:00:21 2011
Hi Brando,No, there's no default support for DataHandler. This is something I've been interested in implementing in the past, since it could allow JiBX to hook into the MTOM attachment support in Axis2 and CXF.
- Dennis Dennis M. Sosnoski Java SOA and Web Services Consulting <http://www.sosnoski.com/consult.html>Axis2/CXF/Metro SOA and Web Services Training <http://www.sosnoski.com/training.html>
Web Services Jump-Start <http://www.sosnoski.com/jumpstart.html> On 11/08/2011 09:14 AM, [EMAIL PROTECTED] wrote:
Hello,I'm trying to generate a binding.xml from a java class that has javax.activation.*DataHandler*as one of its attributes.Whenexecutingorg.jibx.binding.generator.BindGenon it I get the following error:Exception in thread "main" java.lang.IllegalStateException: No way to handle type javax.activation.DataHandler, referenced from DataHandlerTestat org.jibx.binding.generator.BindGen.expandReferences(BindGen.java:227)at org.jibx.binding.generator.BindGen.findReferences(BindGen.java:1010)at org.jibx.binding.generator.BindGen.generate(BindGen.java:1124) at org.jibx.binding.generator.BindGen.main(BindGen.java:1302) Isthisobject typesupported by*jibx-1.2.3*?I have also tried to manually generate thebinding.xml butwhenitcompiles the binding.xmlitfails when it tries toresolve*<structure map-as="javax.activation.DataHandler" field="dataHandler" usage="optional" />*Currently we are using ADB for services that require MTOMbut would like to migrate to jibx-1.2.3.We are using*Axis2 1.6* Thank You. -Brando <<DataHandlerTest.java>> ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ jibx-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jibx-users
------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d
_______________________________________________ jibx-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jibx-users
- [jibx-users] Unable to generate binding.xml for class with javax.activation.DataHandler - MTOM Brando.Arguello 2011/11/15
- Re: [jibx-users] Unable to generate binding.xml for class with javax.activation.DataHandler - MTOM Dennis Sosnoski 2011/11/26 <=