Problem importing multiple schemas from the same namespace in JBossWS
Issue
I have a problem importing multiple schemas from the same namespace in JBossWS
I have a WSDL that imports multiple schemas from the same namespace and I use wsconsume to generate artifacts.
[WARNING] src-resolve: Cannot resolve the name 'types:TelephoneNumber'
to a(n) 'element declaration' component.
When the application is packaged and deployed on JBoss AS, the server log shows:
[org.jboss.ws.metadata.wsdl.xmlschema.JBossXSErrorHandler] JBossWS_myns49969.xsd[domain:[http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve](http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve):
Cannot resolve the name 'types:TelephoneNumber' to a(n) 'element declaration' component.
Environment
- JBoss Enterprise Application Platform (EAP) 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
