Date of First Response: 2009-03-12 08:00:39 Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/256496 project_key: SOA Duplicate schema types are created in wsdl generated by EBWS when a same schma type is defined in two or more schema files at inXsd, outXsd or/and faultXsd. Typically, it leads an issue that JBossWS's wsconsume won't work with such a wsdl due to a validation error of the duplicate schema types. HOW TO REPRODUCE: You can see this issue by running publish_as_webservice example. 1. replace jboss-esb.xml under publish_as_webservice with the attached one. 2. deploy publish_as_webservice. for example) $ant undeploy $ant deploy 3. find duplicate schema types(x1:sayHi) in wsdl: http://127.0.0.1:8080/Quickstart_publish_as_webservice/ESBServiceSample/HelloWorldPubService?wsdl I attached the wsdl for your convenience. Note 1: in order to understand the behaviour of JBoss ESB easily, the attached jboss-esb.xml has a same schema file in inXsd, outXsd and faultXsd. Note 2: there is an usecase that we use generic / common complex types in the both request and response e.g. header information.
Added a modified jboss-esb.xml of publish_as_webservice to reproduce the issue.
Attachment: Added: jboss-esb.xml
Added a sample wsdl which has duplicate schema types.
Attachment: Added: HelloWorldPubService.wsdl
Link: Added: This issue depends JBESB-2295
Linked JBESB-2217 which is duplicated by JBESB-2295.
Link: Added: This issue depends JBESB-2217
Link: Added: This issue related SOA-1142
CR4 - The issue is still present - the steps to reproduce were followed
Will not be supported in CP.
Link: Added: This issue related JBESB-2470