Hi, I am experimenting using jbpm-BPEL-1.1.GA under jboss-4.2.2.GA. Using the Eclipse BPEL designer I have put together a simple process to accept input from the client (a single String parameter), and pass it on to an invoke activity for a third party webservice (also taking a single String parameter) using an Assign to copy the input String to the output String.
The Assign part of the generated BPEL looks like this: <bpws:assign name="Assign" validate="no"> | <bpws:copy> | <bpws:from part="payload" variable="inputData"> | <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/tns:input]]></bpws:query> | </bpws:from> | <bpws:to part="parameters" variable="ClientOutboundRequest"> | <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/result]]></bpws:query> | </bpws:to> | </bpws:copy> | </bpws:assign> However, when I deploy and invoke the service, my console output shows: ERROR [XPathEvaluator] selection of size other than one: [] and the jboss log reports: 2008-05-29 10:28:37,705 DEBUG [org.jbpm.bpel.graph.scope.FaultActionHandler] handling fault exception: [EMAIL PROTECTED],token=/,state=performingPrimaryActivity] | org.jbpm.bpel.graph.exe.BpelFaultException: [EMAIL PROTECTED]://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure] | at org.jbpm.bpel.sublang.xpath.XPathEvaluator.narrowToSingleNode(XPathEvaluator.java:258) | at org.jbpm.bpel.sublang.xpath.XPathVariableQueryEvaluator.evaluate(XPathVariableQueryEvaluator.java:63) | at org.jbpm.bpel.graph.basic.assign.FromVariable.extract(FromVariable.java:63) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | ... | Can anyone shed any light as to what I am doing wrong? I have tried generating the BPEL with other tools (like the netbeans designer) with the same result... Thanks in advance Mike View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154222#4154222 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154222 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user