I've tried all kinds of possibilities for defining the complex type,
among which the one mentioned on that URL
(http://marc.theaimsgroup.com/?l=axis-user&m=114123711724485&w=2
<http://marc.theaimsgroup.com/?l=axis-user&m=114123711724485&w=2>)
<http://marc.theaimsgroup.com/?l=axis-user&m=114123711724485&w=2>
It however still does not seem to work.
Just to make sure: do I need to do/set/configure other things to enable
the MTOM? I've looked at the instructions on
http://ws.apache.org/axis2/0_95/mtom-guide.html, and based on those I
did the following:
* I enabled MTOM in the axis2.xml file (server-side)
* and I added the following line in the created stub:
_serviceClient.getOptions().setProperty(Constants.Configuration.ENABLE_MTOM,
Constants.VALUE_TRUE);
(BTW: I've also considered ADB, but since my WSDL is pretty complex
(including recursive type definitions etc), some other parts of my WSDL
did not seem to work out for ADB. So using the xmlbeans extension is the
option I would want to take...)
thanks again...
Michael...
On 05/02/06 20:24, Thilina Gunarathne wrote:
Give it a try with ADB.. ADB has improved efficient support for MTOM..
~Thilina
On 5/2/06, *robert lazarski* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Have you tried defining your complex type like in this example?
http://marc.theaimsgroup.com/?l=axis-user&m=114123711724485&w=2
<http://marc.theaimsgroup.com/?l=axis-user&m=114123711724485&w=2>
HTH,
Robert
http://www.braziloutsource.com <http://www.braziloutsource.com/>
On 5/2/06, *Michael Meire* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Dear all,
I've been trying the MTOM support of Axis2 for a few times,
but don't
seem to get it working...
More exactly, what I try achieve is:
* starting from my WSDL-file
* using the wsdl2java functionality, with the xmlbeans
data binding
option
* generate code that use MTOM for sending binary data.
I've tried to use both xsd:base64Binary and xmime:base64Binary
as types
for the elements that I want to use MTOM for, but it does not
work: the
content is just sent as inline XML...
I have read the documentation on the axis2 website about mtom,
but as
far as I understand, that explanation does not hold when
starting from
your own WSDL file and using wsdl2java with xmlbeans databinding.
Could someone help with this?
thanks!
Michael...
--
Michael Meire
Katholieke Universiteit Leuven
Dept. Computer Science
Celestijnenlaan 200A, A03.33
B-3001 Leuven, Belgium
Tel: +32 16 327660
Fax: +32 16 327996
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
--
"May the SourcE be with u"
http://webservices.apache.org/~thilina/
<http://webservices.apache.org/%7Ethilina/>
http://thilinag.blogspot.com/
http://www.bloglines.com/blog/Thilina
<http://www.bloglines.com/blog/Thilina>
--
Michael Meire
Katholieke Universiteit Leuven
Dept. Computer Science
Celestijnenlaan 200A, A03.33
B-3001 Leuven, Belgium
Tel: +32 16 327660
Fax: +32 16 327996
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm