0 Replies Latest reply: Nov 25, 2008 3:57 PM by 15060 RSS

    Error resolving the schema element with FileAdapter

    15060
      I'm a bit lost here. I have a simple FileAdapter in ESB that fails with following error for every file I read:

      EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
           at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.Exception: Error resolving the schema element for {http://www.xyz.com/service/track}data

      I'm not sure what this message implies. If I validate manually the XML file with the XSD schema, the validation succeeds. The data has the correct schema (xmlns="http://www.xyz.com/service/track") and I even prefixed the first element. But still I get this error.

      I suspect it may be because it cannot find/read the schema file referred to in the WSDL? The wsdl gives the location as "public_html/schema.xsd" but when deployed the filename is "public_html/schema.xsd_1.0". I've tried manually copy the file to simply "schema.xsd" but that didn't change anything.

      Can anyone interpret the above error code? Is it saying the schema cannot be found? Is it saying the payload doesn't validate against the schema?