Hi Dennis,

Thank You for taking the time to reply.
Yes, I intended this for use with Axis2 and after a few unsuccessful
tries I switched to ADB.

I look forward to the Axis2 1.6 release.

Regards.

Brando Arguello
General Dynamics C4 Systems
brando.argue...@gdc4s.com
Tel: 508-880-4860

-----Original Message-----
From: Dennis Sosnoski [mailto:d...@sosnoski.com] 
Sent: Sunday, July 26, 2009 2:28 AM
To: JiBX project developers
Subject: Re: [jibx-devs] Jibx MTOM support

Hi Brando,

Did you intend this for use with Axis2? There's a restructuring of the
Axis2 attachment handling going on now, and I'm planning to use this to
add JiBX attachment support (the previous code was heavily
ADB-specific). The bad news is it probably won't be in place until the
Axis2 1.6 release (and that's likely to be sometime next year).

I'm also planning to add MTOM support to JiBX/WS, which should be
available sooner.

Either way, BindGen doesn't recognize this yet. I'll see about adding
something so you can use a customization for this purpose.

- Dennis

Dennis M. Sosnoski
XML and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA
+1-425-939-0576 - Wellington, NZ +64-4-298-6117



Arguello, Brando wrote:
>
> Does JIBX support MTOM? With jibx_1_2_1 and JDK 1.6....
>
> I've been unable to generate a binding file using BindGen with an 
> 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 (The object with

> the DataHandler) I get the following exception..
>
> 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.
>
> jibxCompile fails when I use a manually created binding.xml.
>
> Using byte[] seems to work with jibxCompile but I'm not sure if the 
> byte[] is part of the SOAPBody or an AttachmentPart in the
SOAPMessage.
>
> Thank You.
> -Brando
>
> ----------------------------------------------------------------------
> --
>
> ----------------------------------------------------------------------
> -------- 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-devs mailing list
> jibx-devs@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-devs
>   

------------------------------------------------------------------------
------
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

------------------------------------------------------------------------------
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to