Bug 778664 (SOA-1137) - Duplicate schema types in wsdl generated by EBWS
Summary: Duplicate schema types in wsdl generated by EBWS
Keywords:
Status: CLOSED WONTFIX
Alias: SOA-1137
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBossESB
Version: 4.3 GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3 CP01
Assignee: Mark Little
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-20 04:07 UTC by Taro Yasuma
Modified: 2009-03-13 16:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-13 15:58:41 UTC
Type: Task
Embargoed:


Attachments (Terms of Use)
jboss-esb.xml (1.33 KB, text/xml)
2009-01-20 04:10 UTC, Taro Yasuma
no flags Details
HelloWorldPubService.wsdl (3.17 KB, text/xml)
2009-01-20 04:12 UTC, Taro Yasuma
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 778671 0 high CLOSED support for schema import in EBWS WSDL 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker JBESB-2470 0 Major Closed Duplicate schema types in wsdl generated by EBWS 2014-05-13 11:15:52 UTC
Red Hat Issue Tracker SOA-1137 0 Major Closed Duplicate schema types in wsdl generated by EBWS 2014-05-13 11:15:52 UTC

Internal Links: 778671

Description Taro Yasuma 2009-01-20 04:07:42 UTC
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.

Comment 1 Taro Yasuma 2009-01-20 04:10:53 UTC
Added a modified jboss-esb.xml of publish_as_webservice to reproduce the issue.

Comment 2 Taro Yasuma 2009-01-20 04:10:53 UTC
Attachment: Added: jboss-esb.xml


Comment 3 Taro Yasuma 2009-01-20 04:12:17 UTC
Added a sample wsdl which has duplicate schema types.

Comment 4 Taro Yasuma 2009-01-20 04:12:17 UTC
Attachment: Added: HelloWorldPubService.wsdl


Comment 5 Taro Yasuma 2009-01-20 05:10:51 UTC
Link: Added: This issue depends JBESB-2295


Comment 6 Taro Yasuma 2009-01-20 13:54:14 UTC
Linked JBESB-2217 which is duplicated by JBESB-2295.

Comment 7 Taro Yasuma 2009-01-20 13:54:14 UTC
Link: Added: This issue depends JBESB-2217


Comment 8 Taro Yasuma 2009-01-21 15:25:31 UTC
Link: Added: This issue related SOA-1142


Comment 9 Jiri Pechanec 2009-03-12 12:00:39 UTC
CR4 - The issue is still present - the steps to reproduce were followed

Comment 10 Mark Little 2009-03-13 15:58:41 UTC
Will not be supported in CP.

Comment 11 Daniel Bevenius 2009-03-13 16:07:42 UTC
Link: Added: This issue related JBESB-2470



Note You need to log in before you can comment on or make changes to this bug.