By Peeyush Tugnawat on January 27, 2009 10:01 PM
I was getting this error when trying to deploy or compile a bpel project
Error:
[Error ORABPEL-10902]: compilation failed
[Description]: in "bpel.xml", XML parsing failed because "undefined part element.
In WSDL at
Please make sure the spelling of the element QName is correct and the WSDL import is complete.
".
[Potential fix]: n/a.
The problem was that the within my wsdl file the schema definition included an import statement and the schemaLocation attribute was not pointing to correct path
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="something" schemaLocation="http://something:someport/MyXSD.xsd"/>
</xsd:schema>
Once this was changed to correct url, the error went away.
By Peeyush Tugnawat on January 27, 2009 10:03 PM
Error: "The selected record has been modified by another user since it was retrieved"
Reason: The reason we were getting this error in our case was because of the custom scripts. Execution of custom scripts on the Business Components was slowing down the WriteRecord process. This was resulting in the record locking issue.
One way to know if custom scripts are causing this error is to disable all custom scripts (if any) and then try to run the web service to check if you still run into the same error. If yes, following references might help.
Related References:
Troubleshooting Workflow Process Execution Problems
http://download.oracle.com/docs/cd/B40099_02/books/BPFWorkflow/BPFWorkflow_Admin20.html
Defining an Error Exception to Handle an Update Conflict
http://download.oracle.com/docs/cd/B40099_02/books/BPFWorkflow/BPFWorkflow_Design22.html#wp1223641
By Peeyush Tugnawat on January 30, 2009 8:34 PM
If you have a Java embedding in your BPEL process and have ever wondered where (if not domain.log) the output is written to if you do something like
System.out.println statement from your code within the java embedding
The output gets written to the file under <soa_suite / oas_install_home>/opmn/logs/default*.log