Hi, Perhaps a problem with the name of your references and your services. Can you send the composite file?
Stéphane Drapeau Obeo On Fri, May 23, 2008 at 10:47 AM, Mukhtiar Memon <[EMAIL PROTECTED]> wrote: > > Hi, > > I am trying to run the Restaurant example using Tuscany Library with SOA > Tools Platfrom (STP) Tool for SCA Composite Desinger. The link for the > tutorial is: > > http://wiki.eclipse.org/images/6/61/FirstStepsWithTheSCADesigner.pdf > > All goes well but in the end when I execute the test Client.jave, I get > following error. Please guide if you know about the problem. The error is: > > > _________________________________________________________________________________ > May 23, 2008 10:35:23 AM > org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl$1 problem > WARNING: Component reference target not found, it might be a remote > service: VatService > May 23, 2008 10:35:23 AM > org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl$1 problem > WARNING: Component reference target not found, it might be a remote > service: MenuService > May 23, 2008 10:35:23 AM > org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl$1 problem > WARNING: Component reference target not found, it might be a remote > service: TipService > May 23, 2008 10:35:23 AM > org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl$1 problem > WARNING: Component reference target not found, it might be a remote > service: BillService > Exception in thread "main" org.osoa.sca.ServiceUnavailableException: No > service invoker is available for reference menuService (bindingURI=null > operation=getPrice). > at > org.apache.tuscany.sca.binding.sca.impl.RuntimeSCAReferenceBindingProvider.createInvoker(RuntimeSCAReferenceBindingProvider.java:192) > at > org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.addBindingInterceptor(RuntimeWireImpl.java:214) > at > org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.initInvocationChains(RuntimeWireImpl.java:156) > at > org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.getInvocationChains(RuntimeWireImpl.java:97) > at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.getInvocationChain(JDKInvocationHandler.java:190) > at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:124) > at $Proxy8.getMenu(Unknown Source) > at > restaurant.lib.RestaurantServiceImpl.getMenus(RestaurantServiceImpl.java:26) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at > org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105) > at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233) > at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130) > at $Proxy7.getMenus(Unknown Source) > at test.Client.main(Client.java:11) > > _________________________________________________________________________________ > > > Thanks > > Mukhtiar
