Hi All,
I am trying to use the ant-sca-package.xml as suggested by
Deploying SOA Composite Applications
I created a dummy SOA project, the process ia a manual process with just one human task.
The HT is implemented and jut let th user insert one value into the variable,
Using Jdev i can create the sca file by selecting right click on the proccess note and selecting Deploy.
I am trying to use the ant files provided by Oracle, and i am executing it from jdev.
This is the log
Buildfile: C:\Oracle\Middleware\jdeveloper\bin\ant-sca-package.xml
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
clean:
[echo] deleting C:\Lavoro\Project1/deploy/sca_testantscript_rev1.0.jar
[delete] Deleting: C:\Lavoro\Project1\deploy\sca_testantscript_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\Lavoro\testantscript\Project1/composite.xml
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
compile-source:
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
scac:
[scac] Validating composite "C:\Lavoro\testantscript\Project1/composite.xml"
[scac] C:\Lavoro\testantscript\Project1/composite.xml:15: error: Load of wsdl "oramds:/soa/shared/workflow/TaskServiceInterface.wsdl" failed
[scac] C:\Lavoro\testantscript\Project1/composite.xml:16: error: Cannot find Port Type "{http://xmlns.oracle.com/bpel/workflow/taskService}TaskService" for "HumanTasks.Humantask1.reference" in WSDL Manager
[scac] C:\Lavoro\testantscript\Project1/composite.xml:22: error: Cannot find Port Type "{http://xmlns.oracle.com/bpel/workflow/taskService}TaskService" for "TaskService" in WSDL Manager
[scac] /Humantask1.task: error: BPM-71701: Business Catalog object 'HumanTasks.Humantask1' is not valid. The parameter 'execData' of the method 'invoke' is referencing an XML Schema element '{http://xmlns.oracle.com/bpel/workflow/task}task' that cannot be found in the project.. Cause: This can happen if the XML Schema element or complex type is removed. Action: Check the project XML Schemas files
[scac] error: BPM-71504: Unexpected error parsing 'oramds:/soa/shared/workflow/TaskEvidenceService.xsd'. Cause: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/TaskEvidenceService.xsd does not exist.. Action: Verify that file is valid and accessible
[scac] error: BPM-71504: Unexpected error parsing 'oramds:/soa/shared/workflow/WorkflowCommon.xsd'. Cause: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/WorkflowCommon.xsd does not exist.. Action: Verify that file is valid and accessible
[scac] error: BPM-71504: Unexpected error parsing 'oramds:/soa/shared/workflow/WorkflowTask.xsd'. Cause: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/WorkflowTask.xsd does not exist.. Action: Verify that file is valid and accessible
[scac] Humantask1.task: warning: Task title not specified
[scac] Humantask1.task: warning: Error assignee not specified
[scac] C:\Lavoro\testantscript\Project1/composite.xml:27: error: Cannot find Port Type "{http://xmlns.oracle.com/bpel/workflow/taskService}TaskService" for "Process" in WSDL Manager
[scac] C:\Lavoro\testantscript\Project1/composite.xml:27: error: Cannot find Port Type "{http://xmlns.oracle.com/bpel/workflow/taskService}TaskService" for "Humantask1" in WSDL Manager
[scac] C:\Lavoro\testantscript\Project1/composite.xml:27: warning: Cannot find Port Type "{http://xmlns.oracle.com/bpel/workflow/taskService}TaskServiceCallback" for "Process" in WSDL Manager
[scac] C:\Lavoro\testantscript\Project1/composite.xml:27: warning: Cannot find Port Type "{http://xmlns.oracle.com/bpel/workflow/taskService}TaskServiceCallback" for "Humantask1" in WSDL Manager
BUILD FAILED
C:\Oracle\Middleware\jdeveloper\bin\ant-sca-package.xml:50: The following error occurred while executing this line:
C:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml:272: Java returned: 1 Check log file : C:\Users\xxxddddxxxx\AppData\Local\Temp\out.err for errors
Total time: 1 minute 57 seconds