This is the fix for this bug and also 781.
The interfaces on the classes have been cleaned up by moving the parsing of the xml document out of the XMLBeanWSDLProcess and Schema classes and updated calling classes. The WSDL to xmlbean parsing has been moved to the org.apache.beehive.wsm.wsdl.Utilitites class. Also added two unit tests to verify the WSDL to OM logic. For the test I am using the current Google and Amazon wsdls. There is no need to update thse WSDLs as we are not really connecting to the service, rather just using the current version of their wsdl as a test data. We should add more real wsdls in future. To add the more wsdls you need to drop the wsdl in either encoded-schmeas or schems in the drt/tests. The build file would generate all types from the wsdl iles before running the tests.