You have used a wsdl import definition, hence JBossWS is throwing that as it expects wsdl:definitions in that file. You should use xs:import for schemas, where xmlns:xs="http://www.w3.org/2001/XMLSchema". Morevover, schemas should be imported inside a xs:schema element. I don't know how it could have worked in 0.8.
<wsdl:types> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import schemaLocation="schema/creditAgency.xsd" namespace="http://www.jboss.org/examples/creditAgency"/> </xs:schema> </wsdl:types>