<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div>Hey Dan,<div><br></div><div>The only thing that's missing there are the service references for the Hello and Goodbye services. &nbsp;There is a switchyard command to create those:</div><div><br></div><div>$ switchyard add-reference --referenceName Hello &nbsp;--interfaceType java --interface [className] --componentName [componentName]</div><div><br></div><div>You can get the values for [className] and [componentName] from the output of:</div><div><br></div><div>$ switchyard show-config</div><div><br></div><div>Let me know if that doesn't work and send me your project. &nbsp;I can take it from there. &nbsp;My power has been up and down this afternoon (taking interwebs connectivity with it), so apologies if I don't reply right away.</div><div><br></div><div>cheers,</div><div>keith</div><div><br><div><div>On Jul 6, 2012, at 4:45 PM, Dan Allen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Keith,<br><br>I've been going through the SwitchYard video to get the Greeting service working starting w/ Forge [1]. However, I keep hitting the same problem when I try to run the first test:<br><br>16:22:46,228 ERROR [work.SwitchYardServiceTaskHandler] serviceRef ({urn:switchyard:application:greeting}Hello) == null<br>

16:22:46,228 ERROR [work.SwitchYardServiceTaskHandler] serviceRef ({urn:switchyard:application:greeting}Goodbye) == null<br><br>I follow the steps exactly, the only difference is that I'm not using the BPM2 visual editor to create the service because I can't seem to get it to work.<br>

<br>new-project --named greeting --topLevelPackage org.example.greeting<br>project install-facet switchyard<br>project install-facet switchyard.bpm<br>bpm-service create --serviceName Greeting<br>project install-facet switchyard.bean<br>

bean-service create --serviceName Hello<br>bean-service create --serviceName Goodbye<br>switchyard create-service-test --serviceName Greeting<br># edit code to use System.out.println in HelloBean and GoodbyeBean and change Greeter interface<br>

# copied attached bpmn file from the forums<br>test<br><br>If you have a better simple Forge-based example instead, I'll take that too.<br><br>-Dan<br><br>[1] <a href="http://vimeo.com/29659525">http://vimeo.com/29659525</a><br clear="all">

<br>-- <br><div>Dan Allen</div>Principal Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><div><a href="http://google.com/profiles/dan.j.allen" target="_blank">http://google.com/profiles/dan.j.allen</a><br>

<a href="http://mojavelinux.com/" target="_blank">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br></div><br>
<span>&lt;Greeting.bpmn&gt;</span></blockquote></div><br></div></body></html>