Please see Here:
Section 8.8.8 Creating BPEL Test Reports in Junit Format
To run BPEL tests, download the following Apache-licensed JAR files.
You must rename the downloaded JAR files as described in these steps.
Go to http://www.apache.org/dyn/closer.cgi/xml/xalan-j
Download xalan-j_2_7_0-bin.zip from the recommended mirror site.
Unzip the file.
Copy unzip_dir\xalan-j_2_7_0\serializer.jar to SOA_Oracle_Home\bpel\lib\serializer_2.7.0.jar.
Copy unzip_dir\xalan-j_2_7_0\xalan.jar to SOA_Oracle_Home\bpel\lib\xalan_2.7.0.jar.
I'm having almost the same issue so I was hoping the xalan jars solution would resolve it, but even with the jars copied to the directory and renamed as instructed, the error still occurs when the ant bpeltest task tries to transform the test results into junit format. The error message I'm getting is slightly different but issue seems to be the same. The error message I'm getting is:
[bpeltest] ERROR: 'null'
[bpeltest] FATAL ERROR: 'Could not compile stylesheet'
[bpeltest] javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
[bpeltest] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
C:\projects\jdev_user_home_10g\mywork\BPELTests\BPELTest1\build.xml:179: An error occurred while translating the test results to JUnit results.
Could not compile stylesheet
Please verify the XSL:
The original XML results have been saved in... ...etc...
Using filemon, I can see where the ant javaw.exe process is reading bpeltest-format.xsl but bpeltest-junit.xsl is never read from the file system (although it could be getting loaded via classloader from orabpel-ant.jar as previously mentioned.) Either way, it doesn't seem like bpeltest-junit.xsl is actually missing.
The error message does not indicate what was null and the references passed to the TransformerFactory are controlled by the bpeltest ant task code so I don't know what's missing.
Anyone have a clue what might be 'null'? Anyone know how to get it fixed? Anyone have a suggestion for a way to a dig up more context and figure out what's missing?