Bug 778672 - support for schema import in EBWS WSDL
Summary: support for schema import in EBWS WSDL
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossESB
Version: 5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.0.0 GA,5.0.0 ER2
Assignee: Mark Little
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-21 15:16 UTC by Taro Yasuma
Modified: 2012-07-13 04:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: SOA-1142
Environment:
Last Closed: 2010-01-28 11:23:59 UTC
Type: Feature Request
Embargoed:


Attachments (Terms of Use)
publish_as_webservice_import_NG.zip (32.63 KB, application/zip)
2009-01-21 15:20 UTC, Taro Yasuma
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-1142 0 None None None Never

Description Taro Yasuma 2009-01-21 15:16:17 UTC
++ This bug is a clone of bug 778671 ++

Date of First Response: 2010-01-28 06:23:59
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/254594
project_key: SOA

When you set a schema file which imports another schema file in inXsd or/and outXsd, the deployment of the EBWS fails.

Example of importing schema file)

<xs:schema version="1.0" targetNamespace="http://www.jboss.org/sayHi" xmlns:x1="http://www.jboss.org/sayHi"  xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:import namespace="http://www.jboss.org/sayHi"
       schemaLocation="request_imp.xsd" />
  <xs:element name="sayHi" type="x1:sayHi"/>
</xs:schema>


HOW TO REPRODUCE:

1. Unzip the attached publish_as_webservice_import_NG.zip

2. $ant deploy

Then, you'll see the deployment failure of the wsdl and the service with the following:

Caused by: java.io.IOException: Cannot get URL for: WEB-INF/wsdl//ESBServiceSample/request_imp.xsd
	at org.jboss.wsf.common.URLLoaderAdapter.findChild(Unknown Source)
	at org.jboss.wsf.framework.deployment.ArchiveDeploymentImpl.getMetaDataFileURL(Unknown Source)
	at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:239)
	at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:260)
	at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:260)
	at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:129)
	... 33 more

Comment 1 Taro Yasuma 2009-01-21 15:17:56 UTC
Link: Added: This issue depends JBESB-2283


Comment 2 Taro Yasuma 2009-01-21 15:18:32 UTC
Link: Added: This issue depends JBESB-2217


Comment 3 Taro Yasuma 2009-01-21 15:20:35 UTC
Added the sample application based on publish_as_webservice.

Comment 4 Taro Yasuma 2009-01-21 15:20:35 UTC
Attachment: Added: publish_as_webservice_import_NG.zip


Comment 5 Taro Yasuma 2009-01-21 15:25:31 UTC
Link: Added: This issue is related to SOA-1137


Comment 6 Kevin Conner 2009-05-21 09:29:30 UTC
Link: Removed: This issue depends JBESB-2217 


Comment 7 Kevin Conner 2009-05-21 09:29:48 UTC
Link: Added: This issue depends JBESB-2323


Comment 8 Kevin Conner 2009-05-21 09:30:40 UTC
Link: Removed: This issue depends JBESB-2283 


Comment 9 Len DiMaggio 2009-11-02 16:37:17 UTC
Link: Added: This issue is a dependency of SOA-1558


Comment 10 Martin Vecera 2010-01-28 11:23:59 UTC
Verified in ER7.


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