Hi,
Axis2 XMLBeans data binding no longer supports MTOM... Please refer to the
latest doc[1]..

Try code generating using ADB...

wsdl2java.bat -d adb -uri TestService.wsdl

thanks,
Thilina

[1] http://ws.apache.org/axis2/1_4/mtom-guide.html

On Thu, Jul 24, 2008 at 12:30 PM, acm <[EMAIL PROTECTED]> wrote:

>
> I've been following this guide for MTOM in Axis2
> (http://ws.apache.org/axis2/1_1/mtom-guide.html) and  have been unable to
> get wsdl2java to create the Base64Binary class like is done in the example.
> In the example, the Base64Binary class has the method getBase64Binary().
> Running wsdl2java I don't get that method.  I've tried this with Axis2 1.1,
> 1.3, and 1.4.  I've attached a sample wsdl.  The wsdl can be converted to
> java using this command:
>
> wsdl2java.bat -d xmlbeans -uri TestService.wsdl
> (requires the attached xmlmime.xsd in the same directory)
>
> Any idea why src\org\w3\www\_2005\_05\xmlmime\Base64Binary.java doesn't
> have
> this method?
>
> Thanks,
> acm
>
> http://www.nabble.com/file/p18638961/TestService.wsdl TestService.wsdl
> http://www.nabble.com/file/p18638961/xmlmime.xsd xmlmime.xsd
> --
> View this message in context:
> http://www.nabble.com/wsdl2java-not-creating-xmime%3Abase64Binary-type-correctly--tp18638961p18638961.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thilina Gunarathne - http://thilinag.blogspot.com

Reply via email to