Thursday 11 July 2013

Error ORABPEL-10903]: failed to read wsdl


  
    [bpelc] reading partner Helloworld's WSDL at http://vinodfusion.com:7778/orabpel/default/Use
r/1.0/Helloworld?wsdl
    [bpelc] <WSDLUtils::readWSDL> Failed to read WSDL
    [bpelc] Error reading import of http://vinodfusion.com:7778/orabpel/default/Helloworld/1.0/Helloworld?wsdl: Failed to read WSDL from http://vinodfusion.com:7778/orabpel/default/Helloworld/1.0/Fault.wsdl:WSDL not found: Failed to read WSDL from http://vinodfusion.com:7778/orabpel/default/Helloworld/1.0/Fault.wsdl:WSDL not found:
    [bpelc]     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.openAsStream(WSDLReaderImpl.java:399)
    [bpelc]     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readDocument(WSDLReaderImpl.java:312)
    [bpelc]     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:277)
    [bpelc]     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:712)
    [bpelc]     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:640)
    [bpelc]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    [bpelc] BPELValidator
    [bpelc] ORABPEL-08003
    [bpelc]
    [bpelc] Failed to read wsdl.
    [bpelc] Failed to read wsdl at …..

"http://vinodfusion.com:7778/orabpel/default/Helloworld/1.0/U
ser?wsdl", because "Error reading import of http://vinodfusion.com:7778/orabpel/default/Helloworld/1.0/User?wsdl: Failed to read WSDL from http://vinodfusion.com:7778/orabpel/default/Helloworld/1.0/Fault.wsdl:WSDL not found".
    [bpelc] Make sure wsdl is valid. You may need to start the OraBPEL server, or make sure the related bpel proce
ss is deployed correctly.

    [bpelc]     at com.collaxa.cube.ws.wsdl.WSDLUtils.readWSDL(WSDLUtils.java:160)
    [bpelc]     at com.collaxa.cube.lang.compiler.BPELProcessModel.loadWSDLs(BPELProcessModel.java:198)
    [bpelc]     at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validateClientSide(BPELValidator.java:67)
    [bpelc]     at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1130)
    [bpelc]     at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [bpelc]     at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(Cub


….

  [bpelc] ORABPEL-01021
    [bpelc]
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc]  [Error ORABPEL-10903]: failed to read wsdl
    [bpelc]  [Description]: in "bpel.xml", Failed to read wsdl.
    [bpelc] Failed to read wsdl at "http://vinodfusion.com:7778/orabpel/default/Helloworld/1.0/Helloworld?wsdl", because "Error reading import of http://vinodfusion.com:7778/orabpel/default/Helloworld/1.0/Helloworld?wsdl: Failed to read WSDL from http://vinodfusion.com:7778/orabpel/default/Helloworld/1.0/Fault.wsdl:WSDL not found".
    [bpelc] Make sure wsdl is valid. You may need to start the OraBPEL server, or make sure the related bpel proce
ss is deployed correctly.
    [bpelc] .
    [bpelc]  [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, de
signer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for
instructions).
    [bpelc] .

    [bpelc]     at com.collaxa.cube.lang.co
    [bpelc]  [Error ORABPEL-10903]: failed to read wsdl
    [bpelc]  [Description]: in "bpel.xml", Failed to read wsdl.
    [bpelc] Failed to read wsdl at "http://vinodfusion.com:7778/orabpel/default/Helloworld/1.0/Helloworld?wsdl", because "Error reading import of http://vinodfusion.com:7778/orabpel/default/Helloworld/1.0/Helloworld?wsdl: Failed to read WSDL from http://vinodfusion.com:7778/orabpel/default/Helloworld/1.0/Fault.wsdl:WSDL not found".
    [bpelc] Make sure wsdl is valid. You may need to start the OraBPEL server, or make sure the related bpel proce
ss is deployed correctly.
    [bpelc] .
    [bpelc]  [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, de
signer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for
instructions).
    [bpelc] .


BUILD FAILED
C:\Code\Build-Scripts\buildservices.xml:20: The following error occurred while executi
ng this line:
C:\Code\Build-Scripts\buildservices.xml:138: The following error occurred while execut
ing this line:
C:\Code\Build-Scripts\buildscripts\<service name>\build<service name>.xml:20: The follo
wing error occurred while executing this line:
C:\Services Code\Build-Scripts\buildscripts\<service name>\build<service operation name>.xml:48: V
alidation error

Total time: 9 seconds

Resolution 1 :
  1. Deployment environment was not up and running
  2. Always check before doing a build.
·         Open cmd on soa server
·         Navigate to c:\oracle\product\ias\soasuite\opmn\bin> Opmnctl.exe status
·         Status of instance should be in Alive

  1. Respective service  is not deployed properly, Deploy the same and start the build.

 Resolution 2:

Verified bpel.xml in the Service, there partner links are pointing to <hostname> (say vinodsoa.fusion.com)  instead of localhost.
Open the service with Jdeveloper and replace the vinodsoa.fusion.com with localhost in url.
Save the changes and promote it.
Taken a new snapshot and build, build successful.

No comments:

Post a Comment