1 Reply Latest reply on Mar 5, 2008 10:19 PM by Alejandro Guizar

    problem in invoking of a web service

    danesh arman Newbie

      Dear Friends,

      I have deisigned a simple process in BPEL designer to invoke a web service. But when I deploy this process to jbpm 1.1 GA, it shows an error message. I am sedning this error message at the end of this message. As it is not possible to attach the project, I am also sending the other files of this project as the content. As you see the root of the error is Process1Artifact.wsdl (the file which is generated after defining the web service), but it seems a normal wsdl file.

      I hope to find the answer,
      Thanks,
      Arman

      All files are as blow:

      Error Message:
      16:49:10,812 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
      ce:log4j.xml
      16:49:39,812 ERROR [ProblemHandler] document is not readable ()
      java.io.FileNotFoundException: D:\Tools\jbpm\jbpm-bpel-1.1.4\jboss-4.0.5.GA\bin
      (Access is denied)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.(FileInputStream.java:106)
      at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLC
      onnection.java:105)
      at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
      urce)
      at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
      Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      at org.jbpm.bpel.xml.ProcessWsdlLocator.upgradeWsdlDocumentIfNeeded(Proc
      essWsdlLocator.java:153)
      at org.jbpm.bpel.xml.ProcessWsdlLocator.getBaseInputSource(ProcessWsdlLo
      cator.java:109)
      at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2184)
      at org.jbpm.bpel.xml.BpelReader.readImportWsdlDefinition(BpelReader.java
      :519)
      at org.jbpm.bpel.xml.BpelReader.readImports(BpelReader.java:447)
      at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:296)
      at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:204)
      at org.jbpm.bpel.par.BpelArchiveParser.readFromArchive(BpelArchiveParser
      .java:49)
      at org.jbpm.bpel.par.GenericArchiveParser.callProcessArchiveParsers(Gene
      ricArchiveParser.java:134)
      at org.jbpm.bpel.par.GenericArchiveParser.readFromArchive(GenericArchive
      Parser.java:54)
      at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchiv
      e.java:81)
      at org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(DeploymentS
      ervlet.java:169)
      at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:95)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)
      16:49:39,906 ERROR [ProblemHandler] could not read wsdl document (process1.bpel)

      WSDLException: faultCode=PARSER_ERROR: Problem parsing ''.: D:\Tools\jbpm\jbpm-b
      pel-1.1.4\jboss-4.0.5.GA\bin (Access is denied): java.io.FileNotFoundException:
      D:\Tools\jbpm\jbpm-bpel-1.1.4\jboss-4.0.5.GA\bin (Access is denied)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.(FileInputStream.java:106)
      at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLC
      onnection.java:105)
      at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
      urce)
      at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
      Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2030)

      at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2171)
      at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2201)
      at org.jbpm.bpel.xml.BpelReader.readImportWsdlDefinition(BpelReader.java
      :519)
      at org.jbpm.bpel.xml.BpelReader.readImports(BpelReader.java:447)
      at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:296)
      at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:204)
      at org.jbpm.bpel.par.BpelArchiveParser.readFromArchive(BpelArchiveParser
      .java:49)
      at org.jbpm.bpel.par.GenericArchiveParser.callProcessArchiveParsers(Gene
      ricArchiveParser.java:134)
      at org.jbpm.bpel.par.GenericArchiveParser.readFromArchive(GenericArchive
      Parser.java:54)
      at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchiv
      e.java:81)
      at org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(DeploymentS
      ervlet.java:169)
      at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:95)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)

      at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2036)

      at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2171)
      at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2201)
      at org.jbpm.bpel.xml.BpelReader.readImportWsdlDefinition(BpelReader.java
      :519)
      at org.jbpm.bpel.xml.BpelReader.readImports(BpelReader.java:447)
      at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:296)
      at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:204)
      at org.jbpm.bpel.par.BpelArchiveParser.readFromArchive(BpelArchiveParser
      .java:49)
      at org.jbpm.bpel.par.GenericArchiveParser.callProcessArchiveParsers(Gene
      ricArchiveParser.java:134)
      at org.jbpm.bpel.par.GenericArchiveParser.readFromArchive(GenericArchive
      Parser.java:54)
      at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchiv
      e.java:81)
      at org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(DeploymentS
      ervlet.java:169)
      at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:95)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)
      16:49:40,062 ERROR [STDERR] [Fatal Error] :-1:-1: Premature end of file.
      16:49:40,062 ERROR [ProblemHandler] could not read wsdl document (process1.bpel)

      WSDLException: faultCode=PARSER_ERROR: Problem parsing 'process1Artifacts.wsdl'.
      : Premature end of file.: org.xml.sax.SAXParseException: Premature end of file.
      at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2030)

      at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2171)
      at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2201)
      at org.jbpm.bpel.xml.BpelReader.readImportWsdlDefinition(BpelReader.java
      :519)
      at org.jbpm.bpel.xml.BpelReader.readImports(BpelReader.java:447)
      at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:296)
      at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:204)
      at org.jbpm.bpel.par.BpelArchiveParser.readFromArchive(BpelArchiveParser
      .java:49)
      at org.jbpm.bpel.par.GenericArchiveParser.callProcessArchiveParsers(Gene
      ricArchiveParser.java:134)
      at org.jbpm.bpel.par.GenericArchiveParser.readFromArchive(GenericArchive
      Parser.java:54)
      at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchiv
      e.java:81)
      at org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(DeploymentS
      ervlet.java:169)
      at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:95)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)

      at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2036)

      at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2171)
      at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2201)
      at org.jbpm.bpel.xml.BpelReader.readImportWsdlDefinition(BpelReader.java
      :519)
      at org.jbpm.bpel.xml.BpelReader.readImports(BpelReader.java:447)
      at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:296)
      at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:204)
      at org.jbpm.bpel.par.BpelArchiveParser.readFromArchive(BpelArchiveParser
      .java:49)
      at org.jbpm.bpel.par.GenericArchiveParser.callProcessArchiveParsers(Gene
      ricArchiveParser.java:134)
      at org.jbpm.bpel.par.GenericArchiveParser.readFromArchive(GenericArchive
      Parser.java:54)
      at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchiv
      e.java:81)
      at org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(DeploymentS
      ervlet.java:169)
      at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:95)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)
      16:49:40,218 ERROR [[deploymentServlet]] Servlet.service() for servlet deploymen
      tServlet threw exception
      org.jbpm.bpel.xml.BpelParseException: 3 problem(s) found
      at org.jbpm.bpel.par.GenericArchiveParser.readFromArchive(GenericArchive
      Parser.java:59)
      at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchiv
      e.java:81)
      at org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(DeploymentS
      ervlet.java:169)
      at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:95)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)


      Process1Artifact.wsdl (this file is generated after defining the web service)
      <?xml version="1.0" encoding="UTF-8"?>
      <definitions xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:tns="http://eclipse.org/bpel/sample1Artifacts" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns:wsdl="http://default_package/" name="process1Artifacts" targetNamespace="http://eclipse.org/bpel/sample1Artifacts" xmlns="http://schemas.xmlsoap.org/wsdl/">
      <plnk:partnerLinkType name="Goodbye">
      <plnk:role name="Role1" portType="wsdl:Goodbye"/>
      <plnk:role name="Role2" portType="wsdl:Goodbye"/>
      </plnk:partnerLinkType>



      Process1.bpel:
      <?xml version="1.0" encoding="UTF-8"?>
      <bpws:process exitOnStandardFault="yes" name="process1"
      suppressJoinFailure="yes"
      targetNamespace="http://eclipse.org/bpel/sample1"
      xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
      xmlns:ns="http://eclipse.org/bpel/sample1Artifacts"
      xmlns:ns0="http://default_package/" xmlns:tns="http://eclipse.org/bpel/sample1">
      <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
      location="process1.wsdl" namespace="http://eclipse.org/bpel/sample1"/>
      <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" namespace="http://eclipse.org/bpel/sample1Artifacts"/>
      <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
      location="process1Artifacts.wsdl" namespace="http://eclipse.org/bpel/sample1Artifacts"/>
      <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
      location="../bpel5/wsdl/Goodbye.wsdl" namespace="http://default_package/"/>
      <bpws:partnerLinks>
      <bpws:partnerLink myRole="process1Provider" name="client" partnerLinkType="tns:process1"/>
      <bpws:partnerLink initializePartnerRole="no" myRole="Role1"
      name="service1" partnerLinkType="ns:Goodbye" partnerRole="Role1"/>
      </bpws:partnerLinks>
      <bpws:variables>
      <bpws:variable messageType="tns:process1RequestMessage" name="input"/>
      <bpws:variable messageType="tns:process1ResponseMessage" name="output"/>
      <bpws:variable element="ns0:sayBye" name="var1">
      <bpws:from>
      <bpws:literal>rasoul</bpws:literal>
      </bpws:from>
      </bpws:variable>
      <bpws:variable element="ns0:sayByeResponse" name="out1"/>
      <bpws:variable messageType="ns0:sayByeResponse" name="service1Response"/>
      <bpws:variable messageType="ns0:sayBye" name="service1Request"/>
      </bpws:variables>
      <bpws:sequence name="main">
      <bpws:receive createInstance="yes" name="receiveInput"
      operation="process" partnerLink="client"
      portType="tns:process1" variable="input"/>
      <bpws:invoke inputVariable="service1Request" name="Invoke"
      operation="sayBye" outputVariable="service1Response"
      partnerLink="service1" portType="ns0:Goodbye"/>
      <bpws:reply name="replyOutput" operation="process"
      partnerLink="client" portType="tns:process1" variable="input"/>
      </bpws:sequence>
      </bpws:process>




      Process1.wsdl:
      <?xml version="1.0"?>
      <definitions name="process1"
      targetNamespace="http://eclipse.org/bpel/sample1"
      xmlns:tns="http://eclipse.org/bpel/sample1"
      xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
      xmlns="http://schemas.xmlsoap.org/wsdl/"
      >

      <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      TYPE DEFINITION - List of types participating in this BPEL process
      The BPEL Designer will generate default request and response types
      but you can define or import any XML Schema type and use them as part
      of the message types.
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->






















      <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      MESSAGE TYPE DEFINITION - Definition of the message types used as
      part of the port type defintions
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->







      <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      PORT TYPE DEFINITION - A port type groups a set of operations into
      a logical service unit.
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

      <!-- portType implemented by the process1 BPEL process -->








      <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      PARTNER LINK TYPE DEFINITION
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
      <plnk:partnerLinkType name="process1">
      <plnk:role name="process1Provider" portType="tns:process1"/>
      </plnk:partnerLinkType>
















        • 1. Re: problem in invoking of a web service
          Alejandro Guizar Master

          I don't see a closing </ definitions> tag in Process1Artifact.wsdl. Plus, your imports seem quite messy. One of them does not have the location attribute, and other references the parent directory (../). Make sure all your imports have a location attribute, and verify the location is either an absolute URL or a relative path from the process document inside the process archive. I doubt Goodbye.wsdl is being included in the process archive, hence it will not inaccessible to the BPEL reader.