view counter

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

Thanks to Laurens van der Starre for this story

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”.

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

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

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!

Read the entire article at its source

view counter