Thursday 11 July 2013

Error ORABPEL-10902]: compilation failed, Validation error



Issue: Error ORABPEL-10902]: compilation failed, Validation error



[Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    [bpelc] In WSDL at "file:/C:/Helloworld%20Custom%20Vinodfusion%20Code/Vinodfusion/Services/Build-Scripts/../OFM/C
ode/Workflow/HelloworldWorkflows/BPEL/Helloworld_WF/bpel/Helloworld_WF.wsdl", message part e
lement "{http://xmlns.vinodfusion.com/Helloworld/workflows/Helloworld_WF}Helloworld_WFProcessResp
onse" is not defined in any of the schemas.
    [bpelc] Please make sure the spelling of the element QName is correct and the WSDL import is complete.
    [bpelc] ".
    [bpelc]  [Potential fix]: n/a.
    [bpelc] .

[bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc]  [Error ORABPEL-10902]: compilation failed
    [bpelc]  [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    [bpelc] In WSDL at "file:/C:/Helloworld%20Custom%20Vinodfusion%20Code/Vinodfusion/Services/Build-Scripts/../OFM/C
ode/Workflow/HelloworldWorkflows/BPEL/Helloworld_WF/bpel/Helloworld_WF.wsdl", message part e
lement "{http://xmlns.vinodfusion.com/Helloworld/workflows/Helloworld_WF}Helloworld_WFProcessResp
onse" is not defined in any of the schemas.
    [bpelc] Please make sure the spelling of the element QName is correct and the WSDL import is complete.
    [bpelc] ".
    [bpelc]  [Potential fix]: n/a.
    [bpelc] .


BUILD FAILED
C:\Vinodfusion Code\Vinodfusion\Services\Build-Scripts\buildservices.xml:21: The following error
 occurred while executing this line:
C:\Vinodfusion Code\Vinodfusion\Services\Build-Scripts\buildservices.xml:61: The following error
 occurred while executing this line:
C:\Vinodfusion Code\Vinodfusion\Services\Build-Scripts\buildscripts\HelloworldWorkflows\buildHelloworldWo
rkflows.xml:22: The following error occurred while executing this line:
C:\Vinodfusion Code\Vinodfusion\Services\Build-Scripts\buildscripts\HelloworldWorkflows\buildHelloworld_WF.xml:54: Validation error


Resolution:
Found the reason why build failed, In Helloworld_WF.wsdl
the Helloworld_WF.xsd path is commented as follows

<!-- <import namespace="http://xmlns.vinodfusionresearch.com/Helloworld/fault" schemaLocation="http://vinodfusion.com:7778/HelloworldSchemas/Helloworld_WF.xsd" />-->

Comments were removed and changed the import namespace to refer correct path. This change makes build successful.

No comments:

Post a Comment