1 Reply Latest reply on Oct 20, 2008 8:38 PM by 843830

    Deployment Error.

      Hi All,
      I am trying to send a request to a database to retrive all the employee details based on the Id given in the request. I have created WSDL from database, for which an xsd has been created. This generated WSDL is used as a partnerlink to retrive the records from database. For this I have created a BPEL process and when I try to deploy in Glass Fish server, I am getting the below error.

      ERROR: Successful execution of Deploy: D:\NetBeansWorkspace\TestCompAppl/dist/TestCompAppl.zip
      WARNING: (JBIMA0404) Deployment of service assembly TestCompAppl succeeded partially; some service units failed to deploy.
      * Component: sun-http-binding
      {color:#ff6600}ERROR: (SOAPBC_DEPLOY_2) HTTPBC-E00201: Deployment failed.{color} javax.wsdl.WSDLException: WSDLException (at /definitions/types/xsd:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at ''EMPLOYEE.xsd'', relative to ''file:/D:/OpenESB/glassfish-v2-ur2-b04-patch-20080515/domains/domain1/jbi/service-assemblies/TestCompAppl/TestCompAppl-sun-http-binding/sun-http-binding/Sample/Sample.wsdl''.: java.io.FileNotFoundException: {color:#ff0000}This file was not found: file:/D:/OpenESB/glassfish-v2-ur2-b04-patch-20080515/domains/domain1/jbi/service-assemblies/TestCompAppl/TestCompAppl-sun-http-binding/sun-http-binding/Sample/EMPLOYEE.xsd
      {color}D:\NetBeansWorkspace\TestCompAppl\nbproject\build-impl.xml:213: Deployment failure.
      BUILD FAILED (total time: 1 second)

      FYI this EMPLOYEE.xsd is the xsd which is generated when I try to generate the WSDL from the database.

      Waiting for positive response.

        • 1. Re: Deployment Error.
          It's a bit difficult to tell, but based on the error message, it looks like the import statement of your WSDL is not properly pointing to the EMPLOYEE.xsd.

          Make sure that your Sample.wsdl file imports the EMPLOYEE.xsd properly. If it does, then the error might be in the HTTP BC. To confirm this, it might be better to post the project that you're working on for us to look at. It appears that these forums don't allow the posting of attachments. You can try posting to users@open-esb.dev.java.net.