There should be no difference between SWA and MTOM. MTOM is backward compatiable with SWA, at least in Axis2. The dataType for binary in Axis2 is DataHandler. So you may have to use <element name="documentBinaryData" type="xmime:base64Binary" xmlns:xmime="http://www.w3.org/2005/05/xmlmime> in the XML schema. I might have shared a sample MTOM eclipse Project recently which you can refer to.
Subject: [Axis2:v1.4] WSDL / SOAP Attachment questionDate: Fri, 6 Jun 2008 14:05:52 -1000From: [EMAIL PROTECTED]: [email protected] If I use POJO for my WebService class and I use Java2WSDL for auto-generation of the WSDL, what data type should I use to indicate in the WSDL that the operation expects a soap with attachment? Any difference between SwA and MTOM for this? __ Marc Lefebvre, Principle Software Engineer Akimeka, 1305 N. Holopono Street, Kihei, HI 96753 Phone: (808)442-7168, Email: [EMAIL PROTECTED] echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' | dc _________________________________________________________________ Instantly invite friends from Facebook and other social networks to join you on Windows Live⢠Messenger. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_InviteFriends
