[prev in list] [next in list] [prev in thread] [next in thread]
List: jibx-users
Subject: [jibx-users] BindGen - No way to handle type
From: "Arguello, Brando" <Brando.Arguello () gdc4s ! com>
Date: 2009-07-13 15:58:17
Message-ID: 8C431EC125E9924186D8BB91DC1152B720EF53EE () TNTNC4SXCH ! gdc4s ! com
[Download RAW message or body]
--===============5796015593642294897==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01CA03D2.BC40484B"
This is a multi-part message in MIME format.
> I'm trying to generate a binding file using BindGen.
> Input object contains a String and javax.activation.DataHandler .
>
> When I run java -cp jibx-tools.jar;bin
> org.jibx.binding.generator.BindGen com.FileTransferSO
>
> Exception in thread "main" java.lang.IllegalStateException: No way to
> handle type javax.activation.DataHandler, referenced from
> com.FileTransferSO
>
> I'm using DataHandler as the payload container for a byte[] in MTOM.
>
> Are there any restrictions with type javax.activation.DataHandler ?
> I'm using JDK 1.6.
>
> Thank You.
> -Brando
>
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE> BindGen - No way to handle type javax.activation.DataHandler</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P><FONT SIZE=2 FACE="Arial">I'm trying to generate a binding file using \
BindGen.</FONT>
<BR><FONT SIZE=2 FACE="Arial">Input object contains a String and \
javax.activation.DataHandler .</FONT> </P>
<P><FONT SIZE=2 FACE="Arial">When I run java -cp jibx-tools.jar;bin \
org.jibx.binding.generator.BindGen com.FileTransferSO </FONT> </P>
<P><FONT SIZE=2 FACE="Arial">Exception in thread "main" \
java.lang.IllegalStateException:<B> No way to handle type \
javax.activation.DataHandler</B>, referenced from com.FileTransferSO</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I'm using DataHandler as the payload container for a \
byte[] in MTOM.</FONT> </P>
<P><FONT SIZE=2 FACE="Arial">Are there any restrictions with</FONT><B> <FONT SIZE=2 \
FACE="Arial">type javax.activation.DataHandler ?</FONT></B>
<BR><FONT SIZE=2 FACE="Arial">I'm using JDK 1.6.</FONT><B></B>
</P>
<P><FONT SIZE=2 FACE="Arial">Thank You.</FONT>
<BR><FONT SIZE=2 FACE="Arial">-Brando</FONT>
</P>
</BODY>
</HTML>
[Attachment #4 (--===============5796015593642294897==)]
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic