Follow Us on Twitter

oramds versus “referred schema is outside the current project context”

by Laurens van der Starre on June 1, 2012 · 1 comment

Here’s one I didn’t see before. When you create XML Schemas, or WSDL artifacts in JDeveloper, and use the MDS for importing XSDs or WSDLs, you might encounter a JDeveloper error at the oramd- statement saying “referred schema is outside the current project context”.

When you have a SOA Tier project, and you create for example a WSDL using the wizard, the default location it is stored is “<project folder>/public_html/WEB-INF/wsdl. In JDeveloper, it is then placed under Web Content.

JDeveloper Project structure

JDeveloper Project structure

If you edit your WSDL here, and use the oramds:/ directive, you’ll get the mentioned error, even when the oramds:/ URI is correct and the MDS is set up correctly in the Application.

However, if you do the same in a WSDL within the “SOA Content” folder, it does work, as shown in WSDLDocument2.wsdl in the picture below.

JDeveloper Project structure

JDeveloper Project structure

So apparently the “project context” of the MDS within a JDeveloper SOA Tier project is the “SOA Content” folder. Okay, I didn’t know that. I want a hour of my life back! :)

oramds versus "referred schema is outside the current project context", 4.0 out of 5 based on 1 rating
Ratings:
VN:F [1.9.22_1171]
Rating: 4.0/5 (1 vote cast)

One comment on “oramds versus “referred schema is outside the current project context”

  1. Oh and there is stuff with you need a SOA Project context and a file called adf-config as well…

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy This Password *

* Type Or Paste Password Here *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 

Previous post:

Next post:

About Whitehorses
Company profile
Services
Technology

Whitehorses website

Home page
Whitebooks
Jobs

Follow us
Blog post RSS
Comment RSS
Twitter