3 Replies Latest reply: Nov 14, 2012 5:47 PM by vladodias RSS

    [Error ORABPEL-10902]:Compilation failed [Description]:in "bpel.xml",

    904203
      HI,

      While creating the build, we are getting below exception.
      Error:
      [Error ORABPEL-10902]: compilation failed
      [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
      In WSDL at "file:/......PrintReportSHEReqABCSImpl/bpel/PrintReportAIAService.wsdl", message part element
      .....RequestDataCreateCorrespondence" is not defined in any of the schemas.
      Please make sure the spelling of the element QName is correct and the WSDL import is complete.
      ".
      [Potential fix]: n/a.


      all xsd are imported successfully still getting error. Can any one suggest.

      Thanks
      Phanindra
        • 1. Re: [Error ORABPEL-10902]:Compilation failed [Description]:in "bpel.xml",
          vladodias
          Hi,

          Have a look at the file PrintReportAIAService.wsdl and search for RequestDataCreateCorrespondence element/type... Compiler is not able to find reference for it... Probably there is an import element in the wsdl that has to be fixed...

          Hope this helps...

          Cheers,
          Vlad
          • 2. Re: [Error ORABPEL-10902]:Compilation failed [Description]:in "bpel.xml",
            904203
            HI,

            Attached the wsdl definition and the import used. COuldn't find any issue in importing.

            <wsdl:definitions xmlns:def="http://xmlns.oracle.com/PrintReportAIAService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:sec="http://schemas.xmlsoap.org/ws/2002/07/secext" xmlns:ns1="http://www.siebel.com/xml/XXXXXXXX/V1" xmlns:ns3="http://www.siebel.com/xml/BGCSoapException/V1" name="PrintReportAIAService" targetNamespace="http://xmlns.oracle.com/PrintReportAIAService">
                 <wsdl:types>
                      <xsd:schema targetNamespace="http://xmlns.oracle.com/PrintReportAIAService" elementFormDefault="qualified">
                           <xsd:import namespace="http://www.siebel.com/xml/XXXXXXX/V1" schemaLocation="RequestDataCreateCorrespondence.xsd"/>
                      </xsd:schema>
            ..............
            • 3. Re: [Error ORABPEL-10902]:Compilation failed [Description]:in "bpel.xml",
              vladodias
              According to the code posted the file RequestDataCreateCorrespondence.xsd has to be in the same directory as the wsdl file...

              Somewhere in your wsdl you have something like this...
                   <wsdl:message name="xxxx">
                        <wsdl:part name="xxxx" element="xxx:RequestDataCreateCorrespondence" />
                   </wsdl:message>

              You have to make sure that the referenced element xxx:RequestDataCreateCorrespondence is visible/loadable for the compiler...

              Hope this helps...

              Cheers,
              Vlad