Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » BPEL Designer » problem in invoking of a web service
problem in invoking of a web service [message #10304] Wed, 27 February 2008 14:47
arman is currently offline armanFriend
Messages: 22
Registered: July 2009
Junior Member
Dear Friends,

I have deisigned a simple process in BPEL designer to invoke a web service.
I saw the screen shot which is about creating a weeb service and executed
all of its steps. Then I added the "invoke" action to the defalut process
which is generated automatically after creating a BPEL process. I added
the "invoke" action between "receiveInput" and "reployOutput" actions and
set its parameters. 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.<init>(FileInputStream.java:106)
at
org.jboss.net.protocol.file.FileURLConnection.getInputStream (FileURLC
onnection.java:105)
at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(U nknown So
urce)
at
org.apache.xerces.impl.XMLVersionDetector.determineDocVersio n(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.upgradeWsdlDocumentIfNe eded(Proc
essWsdlLocator.java:153)
at
org.jbpm.bpel.xml.ProcessWsdlLocator.getBaseInputSource(Proc essWsdlLo
cator.java:109)
at
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java :2184)
at
org.jbpm.bpel.xml.BpelReader.readImportWsdlDefinition(BpelRe ader.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(BpelArch iveParser
java:49)
at
org.jbpm.bpel.par.GenericArchiveParser.callProcessArchivePar sers(Gene
ricArchiveParser.java:134)
at
org.jbpm.bpel.par.GenericArchiveParser.readFromArchive(Gener icArchive
Parser.java:54)
at
org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(Proc essArchiv
e.java:81)
at
org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(De ploymentS
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.internalDoFi lter(Appl
icationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
ilterChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Repl yHeaderFi
lter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Appl
icationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
ilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperV
alve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextV
alve.java:178)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invok e(Securit
yAssociationValve.java:175)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCo ntextValv
e.java:74)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.j
ava:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.j
ava:105)
at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(Ca chedConne
ctionValve.java:156)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineVal
ve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.jav
a:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java
:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.p
rocessConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpo
int.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(Maste rSlaveWor
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.<init>(FileInputStream.java:106)
at
org.jboss.net.protocol.file.FileURLConnection.getInputStream (FileURLC
onnection.java:105)
at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(U nknown So
urce)
at
org.apache.xerces.impl.XMLVersionDetector.determineDocVersio n(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.j ava: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(BpelRe ader.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(BpelArch iveParser
java:49)
at
org.jbpm.bpel.par.GenericArchiveParser.callProcessArchivePar sers(Gene
ricArchiveParser.java:134)
at
org.jbpm.bpel.par.GenericArchiveParser.readFromArchive(Gener icArchive
Parser.java:54)
at
org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(Proc essArchiv
e.java:81)
at
org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(De ploymentS
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.internalDoFi lter(Appl
icationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
ilterChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Repl yHeaderFi
lter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Appl
icationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
ilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperV
alve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextV
alve.java:178)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invok e(Securit
yAssociationValve.java:175)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCo ntextValv
e.java:74)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.j
ava:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.j
ava:105)
at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(Ca chedConne
ctionValve.java:156)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineVal
ve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.jav
a:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java
:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.p
rocessConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpo
int.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(Maste rSlaveWor
kerThread.java:112)
at java.lang.Thread.run(Thread.java:595)

at
com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.j ava: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(BpelRe ader.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(BpelArch iveParser
java:49)
at
org.jbpm.bpel.par.GenericArchiveParser.callProcessArchivePar sers(Gene
ricArchiveParser.java:134)
at
org.jbpm.bpel.par.GenericArchiveParser.readFromArchive(Gener icArchive
Parser.java:54)
at
org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(Proc essArchiv
e.java:81)
at
org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(De ploymentS
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.internalDoFi lter(Appl
icationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
ilterChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Repl yHeaderFi
lter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Appl
icationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
ilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperV
alve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextV
alve.java:178)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invok e(Securit
yAssociationValve.java:175)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCo ntextValv
e.java:74)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.j
ava:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.j
ava:105)
at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(Ca chedConne
ctionValve.java:156)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineVal
ve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.jav
a:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java
:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.p
rocessConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpo
int.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(Maste rSlaveWor
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.j ava: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(BpelRe ader.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(BpelArch iveParser
java:49)
at
org.jbpm.bpel.par.GenericArchiveParser.callProcessArchivePar sers(Gene
ricArchiveParser.java:134)
at
org.jbpm.bpel.par.GenericArchiveParser.readFromArchive(Gener icArchive
Parser.java:54)
at
org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(Proc essArchiv
e.java:81)
at
org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(De ploymentS
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.internalDoFi lter(Appl
icationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
ilterChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Repl yHeaderFi
lter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Appl
icationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
ilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperV
alve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextV
alve.java:178)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invok e(Securit
yAssociationValve.java:175)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCo ntextValv
e.java:74)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.j
ava:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.j
ava:105)
at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(Ca chedConne
ctionValve.java:156)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineVal
ve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.jav
a:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java
:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.p
rocessConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpo
int.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(Maste rSlaveWor
kerThread.java:112)
at java.lang.Thread.run(Thread.java:595)

at
com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.j ava: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(BpelRe ader.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(BpelArch iveParser
java:49)
at
org.jbpm.bpel.par.GenericArchiveParser.callProcessArchivePar sers(Gene
ricArchiveParser.java:134)
at
org.jbpm.bpel.par.GenericArchiveParser.readFromArchive(Gener icArchive
Parser.java:54)
at
org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(Proc essArchiv
e.java:81)
at
org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(De ploymentS
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.internalDoFi lter(Appl
icationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
ilterChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Repl yHeaderFi
lter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Appl
icationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
ilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperV
alve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextV
alve.java:178)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invok e(Securit
yAssociationValve.java:175)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCo ntextValv
e.java:74)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.j
ava:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.j
ava:105)
at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(Ca chedConne
ctionValve.java:156)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineVal
ve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.jav
a:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java
:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.p
rocessConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpo
int.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(Maste rSlaveWor
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(Gener icArchive
Parser.java:59)
at
org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(Proc essArchiv
e.java:81)
at
org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(De ploymentS
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.internalDoFi lter(Appl
icationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
ilterChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Repl yHeaderFi
lter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Appl
icationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationF
ilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperV
alve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextV
alve.java:178)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invok e(Securit
yAssociationValve.java:175)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCo ntextValv
e.java:74)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.j
ava:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.j
ava:105)
at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(Ca chedConne
ctionValve.java:156)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineVal
ve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.jav
a:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java
:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.p
rocessConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpo
int.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(Maste rSlaveWor
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>
<import location="..\bpel5\wsdl\Goodbye.wsdl"
namespace="http://default_package/"/>
</definitions>

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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
-->
<types>
<schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://eclipse.org/bpel/sample1"
xmlns="http://www.w3.org/2001/XMLSchema">

<element name="process1Request">
<complexType>
<sequence>
<element name="input" type="string"/>
</sequence>
</complexType>
</element>

<element name="process1Response">
<complexType>
<sequence>
<element name="result" type="string"/>
</sequence>
</complexType>
</element>
</schema>
</types>


<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
MESSAGE TYPE DEFINITION - Definition of the message types used as
part of the port type defintions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
-->
<message name="process1RequestMessage">
<part name="payload" element="tns:process1Request"/>
</message>
<message name="process1ResponseMessage">
<part name="payload" element="tns:process1Response"/>
</message>

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

<!-- portType implemented by the process1 BPEL process -->
<portType name="process1">
<operation name="process">
<input message="tns:process1RequestMessage" />
<output message="tns:process1ResponseMessage"/>
</operation>
</portType>


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

</definitions>
Previous Topic:A question about Partner
Next Topic:Trouble with ReconciliationHelper
Goto Forum:
  


Current Time: Sat Dec 20 16:39:19 GMT 2014

Powered by FUDForum. Page generated in 0.03293 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software