We have to build services based on WSDLs specified by third party. This WSDL files are referencing some xsd schemas. Our problem is when we generate stubs with JbossWS command tool or via Eclipse wizard, the classes are generated, but the WSDL file which is exposed in Jboss WS console has all types inlined, also restrictions from originating schema are lost. We are using Jboss 5.1 and Eclipse with latest Jboss tools. We tried to upgrade to latest Jbossws-native (3.4 version) but still got the same result. What is the cause that the WSDL references aren't kept?