Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OSB Workshop Issue: Dependency is not configured when import xmlmime schema

archenrootFeb 3 2012 — edited Feb 3 2012
Hello,

I use OSB workshop Version: 10.3 Build id: 1137967 and am little bit confused with following issue:
I got some WSDL and XSD from 3rd party, these were prepared in Visual Studio, the XSD files include following import:
<s:import namespace="http://www.w3.org/2005/05/xmlmime" schemaLocation="http://www.w3.org/2005/05/xmlmime"/>

When I delete this line from schema everything is ok, when I left it in there i experience following error:
The dependency is not configured in schema resource. Possible reason one or more import/include is not set correctly.

Here is sample:
<?xml version="1.0" encoding="UTF-8"?>
<s:schema xmlns="urn:dynn:lcr:portal:shooter:types"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
targetNamespace="urn:dynn:lcr:portal:shooter:types" elementFormDefault="qualified">
<s:import namespace="http://www.w3.org/2005/05/xmlmime" schemaLocation="http://www.w3.org/2005/05/xmlmime"/>
<s:complexType name="LangContentType">
<s:sequence>
<s:element name="Kategorie" maxOccurs="unbounded">
<s:complexType>
<s:simpleContent>
<s:extension base="s:string">
<s:attribute name="index" type="s:int" use="required"/>
</s:extension>
</s:simpleContent>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>

When I delete the import line, the issue dissapears. Any hints? I also found out that the xmime namespace is not used in whole schema, so it seems to me like the Visual Studio just added some default namespace definition into schema at generation stage.

Ladislav
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 2 2012
Added on Feb 3 2012
1 comment
367 views