I've created stubs using -d xmlbeans option. Here is the full command :
wsdl2java.bat -u -d xmlbeans -ns2p http://www.sugarcrm.com/sugarcrm=com.sugarcrm.data,http://schemas.xmlsoap.org/soap/encoding/=com.sugarcrm.schema.import1,http://schemas.xmlsoap.org/wsdl/=com.sugarcrm.schema.import2,http://www.w3.org/2004/06/xmlmime=com.sugarcrm.schema.import3 -p com.sugarcrm -uri Sugar\Sugar_V2_E.xml
Surprisingly, there are
no getter methods in the 'returned' ...