On Tue, Dec 1, 2009 at 9:57 PM, vasu ts <vasu_...@hotmail.com> wrote:
> My WSDL contains some <s:extension/> elements and these had some issues when
> I used the default "ADB" bindings.
>
> When I read the below statement from axis2 documentation I started using
> "XML beans" binding. If the below API doesn't work with XMLBeans and MTOM,
> can someone point me to the correct API?. When I started debugging this
> issue I see that second attachment stream was being read to a certain extent
> and then suddenly i see the exception.
>
> http://ws.apache.org/axis2/1_0/adb/adb-howto.html
>
>
> "ADB is meant to be a 'Simple' databinding framework and was not meant to
> compile all types of schemas. The following limitations are the most
> highlighted.
>
> Complex Extensions and Restrictions, Simple Extensions and Restrictions are
> not supported.
>
> "
>

The most recent docs are here:

http://ws.apache.org/axis2/1_5_1/adb/adb-howto.html

You could try jaxb. AFAIK its comes very close, if not completely, to
the 100% xml schema support that xmlbeans claims. You could then use
jaxws / jaxb I suppose to get your mtom support - jaxws supports mtom
but I'm not sure if that support is in axis2, though it probably is
since IBM uses axis2 in their products and they have jaxws docs for
mtom.

- R

Reply via email to