Search code examples
oracle-databasexsdoracle11gmiddlewarebpel

Oracle BPEL Schema Validation - Where does it look for schema definitions


I have a BPEL application in 11g with the schema-validate-input property of the binding set to true. When I send a request to this application I get the error:

Input Violates Schema : cvc-elt.1: Cannot find the declaration of element

What this tells me is that it is unable to locate the xsd for the message schema.

  1. Where does BPEL search for these schema definitions and
  2. how do the necessary schemas get loaded into the environment?

I am using Oracle Fusion Middleware 11.1.1.5.0 release.


Solution

  • It's able to find your schema,but couldn't find the declaration of element. Every BPEL process has a WSDL and within this WSDL, you will find either inline schema or schema's imported from another file.

    So, check your BPEL process WSDL for schemas used.