I am trying to run a BPEL process that will use the RSS BC to subscribe to a feed and when it sees new stories use the File BC to write it to a file. When trying this I get the following error:
System exception occured while executing a business process instance.
com.sun.xml.transform.sware.MissingSchemaInfoException: Particle not found in the complex type.
at com.sun.xml.transform.sware.impl.DOMSorter.checkSortNeeded(DOMSorter.java:151)
at com.sun.xml.transform.sware.impl.ReorderTransformerImpl.transform(ReorderTransformerImpl.java:222)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.AssignUnitImpl.transformDocument(AssignUnitImpl.java:381)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.AssignUnitImpl.validateOrAndTransformVariable(AssignUnitImpl.java:320)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.AssignUnitImpl.doAction(AssignUnitImpl.java:276)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities(CodeReUseHelper.java:65)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities(StructuredActivityUnitImpl.java:171)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.doAction(StructuredActivityUnitImpl.java:89)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.SequenceUnitImpl.doAction(SequenceUnitImpl.java:92)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities(CodeReUseHelper.java:65)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities(StructuredActivityUnitImpl.java:171)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.BPELProcessInstanceImpl.doAction(BPELProcessInstanceImpl.java:622)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:152)
at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:77)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:754)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:217)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:834)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processRequest(BPELSEInOutThread.java:523)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:289)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:158)
[Fatal Error] :1:1: Content is not allowed in prolog.
The jbi message that is getting passed to the File BC is:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jbi:message xmlns:tns="
http://j2ee.netbeans.org/wsdl/rssWSDL" type="tns:rssWSDLOperationRequest" version="1.0" xmlns:jbi="
http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper">
<jbi:part>
<EntryList>
<Entry>
<title>Test RSS BC</title>
<link>
http://www.supercodepoet.com/?p=187</link>
<description>Ignore this test.</description>
<publishDate>Fri Sep 14 16:09:52 CDT 2007</publishDate>
</Entry>
</EntryList>
</jbi:part>
</jbi:message>
[Message sent by forum member 'supercodepoet' (supercodepoet)]
http://forums.java.net/jive/thread.jspa?messageID=235477