Sorry for the delay in responding. I took the simple-callback-ws sample and modified it to use dynamically generated WSDL. Here's the simplecallback.composite file that I used:
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" targetNamespace="http://simplecallback" xmlns:cb="http://simplecallback" name="simplecallback"> <component name="MyClientComponent"> <implementation.java class="simplecallback.MyClientImpl" /> <reference name="myService"> <interface.java interface="simplecallback.MyService" callbackInterface="simplecallback.MyServiceCallback" /> <binding.ws uri="http://localhost:8085/MyServiceComponent" /> <callback> <binding.ws /> </callback> </reference> </component> <component name="MyServiceComponent"> <implementation.java class="simplecallback.MyServiceImpl" /> <service name="MyService"> <interface.java interface="simplecallback.MyService" callbackInterface="simplecallback.MyServiceCallback" /> <binding.ws /> <callback> <binding.ws /> </callback> </service> </component> </composite> This works fine for me on the 1.0 level of code. Looking at your .composite file, I have two comments/questions: 1. Your service doesn't include the <callback> element specifying the use of Web services for the callback. You need to add this. 2. You have a service but no reference. Where is the reference? How are you calling this service? Simon Nishant Joshi wrote:
Hi All, I have deployed one simple stateless callback service i have generated wsdl on the fly with this service. When i am invoking client following error was thrown. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- RuntimeException invoking getResult: org.osoa.sca.ServiceRuntimeException: No callback wire found for / org.osoa.sca.ServiceRuntimeException: No callback wire found for / at org.apache.tuscany.sca.core.invocation.JDKCallbackInvocationHandler.invoke( JDKCallbackInvocationHandler.java:63) -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- I have one simple method which return string and also get string as argument. In simple-callback-ws example there is wsdl is already given so i m confused about my composite file my composite file is as below <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" targetNamespace="http://soa/examples" xmlns:hw="http://soa/examples" name="sample"> <component name="ServiceComponent"> <implementation.java class="my.example.MyServiceImpl" /> <service name="MyService"> <interface.java interface="my.example.MyService" callbackInterface="my.example.MyServiceCallback" /> <binding.ws /> </service> </component> </composite> can anybody help in this case?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
