[JBoss jBPM] - Re: How to invoke a business process in JBoss
by brado
Ronald,
I'm surprised. Community support or not, you're a moderator, and your actions reflect on the JBoss organization, and should be carrying the torch for courtesy and helpfulness. But yet again, when given the opportunity to respond with courtesy and grace, you vent.
"kukeltje" wrote : Can I send you a bill somewhere for the hour I spent answering your posts (Since you are a consultant, I think you have the money)?
|
You provided no answers. You RTFM'd me more than once, and took a jab at me to boot. And in the end, the only thing you provided was evidence that either you weren't aware of the differences between jBpm 3.0.3 and 3.1.1, OR that you did know the differences but were more concerned with blowing someone flak for answering what you considered to be too simple a question. As it turned out, my questions were legit, because I was using a different version of jBPM than you assumed (but didn't think it significant enough to ask) I was using, and I wasted 4 days trying to get to a simple answer.
Ronald, let me ask you a question. It is said that "an organization is the shadow of a leader cast long". Does this exchange accurately represent the JBoss organization in general, or only you? I'd sincerely like to know, as I'd really like to spare the customers I service unnecessary indignation at the hands of those whose technology they are employing.
Moving on,
Brad
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957045#3957045
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957045
19 years, 9 months
[JBoss jBPM] - How to use faultVariable in fault handler?
by jiehuan_li
In jbpm bpel 1.1 beta 1, I am trying to catch a fault thrown by a web service, and then reply the client with fault message that contains the fault code from the originating web service. Below is my fault handler code:
| <faultHandlers>
| <catch faultName="svc:JSR181WebServiceException" faultVariable="svcFlt" faultMessageType="svc:JSR181WebServiceException">
| <sequence>
| <assign name="copyStep2Fault">
| <copy>
| <from variable="svcFlt" part="JSR181WebServiceException" query="/JSR181WebServiceException/svc:code"/>
| <to variable="operationFlt" part="detail"/>
| </copy>
| </assign>
| <reply operation="connect2" partnerLink="jbpmbpelRelation" portType="jbpmbpel:jbpmbpelFrontEnd"
| variable="operationFlt" faultName="jbpmbpel:step2Fault" />
| </sequence>
| </catch>
| </faultHandlers>
|
I am getting the following exception when I try to deploy the definition:
| 10:27:58,970 ERROR [ProblemHandler] jbpmbpel.bpel(34) cvc-complex-type.3.2.2: Attribute 'faultMessageType' is not allowed to appear in element 'catch'.
| 10:27:59,010 ERROR [[DeployServlet]] Servlet.service() for servlet DeployServlet threw exception
| org.jbpm.jpdl.JpdlException: [[ERROR] jbpmbpel.bpel(34) cvc-complex-type.3.2.2: Attribute 'faultMessageType' is not allowed to appear in element 'catch'.]
| at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:84)
| at org.jbpm.bpel.web.deploy.DeployServlet.doGet(DeployServlet.java:49)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
|
I found both bpel_1_1.xsd and bpel_2_0.xsd in the package. Apparently 1.1 doesn't support faultMessageType in catch but 2.0 does. So I guess my question is how do I accomplish what I am trying to do using 1.1? Or what do I need to do to make jboss jbpm bpel 1.1 beta 1 to use 2.0?
Jiehuan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957038#3957038
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957038
19 years, 9 months