The unit test in the ATM example invokes the service provided by the process synchronously. The process can't invoke it back, tough, because it isn't a service.
You need to deploy a service which implements the port type LoanRequestCallback and let the BPEL application know of its existence. For this purpose, register it in the definition catalog section of the bpel application descriptor, as described in section 6.2 of the ATM example guide. An alternative approach is to have the invoking service annotate the SOAP messages with WS-addressing headers. Among others, these headers carry these details: destination source endpoint reply endpoint fault endpoint The latter two tell where to deliver output and fault messages respectively. WS-A makes it possible to offer a caller-ID feature. The service catalog would still needed to retrieve the associated WSDL definitions, as the endpoint addresses alone do not convey enough information to invoke a service. However, jBPM BPEL is not yet aware of WS-Addressing headers :-( It is an upcoming feature. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913610#3913610 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913610 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
