Hello,

I'm trying to generate a binding.xml from a java class that has
javax.activation.DataHandler as one of its attributes.

When executing org.jibx.binding.generator.BindGen on it I get the
following error:

Exception in thread "main" java.lang.IllegalStateException: No way to
handle type javax.activation.DataHandler, referenced from
DataHandlerTest

        at
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)

Is this object type supported by jibx-1.2.3?

I have also tried to manually generate the binding.xml but when it
compiles the binding.xml  it fails when it tries to resolve  <structure
map-as="javax.activation.DataHandler" field="dataHandler"
usage="optional" />

Currently we are using ADB for services that require MTOM but would like
to migrate to jibx-1.2.3.

We are using Axis2 1.6

Thank You.

-Brando

<<DataHandlerTest.java>> 

Attachment: DataHandlerTest.java
Description: DataHandlerTest.java

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to