Get service by class's name will cause error when add a binding.ws ------------------------------------------------------------------
Key: TUSCANY-1710 URL: https://issues.apache.org/jira/browse/TUSCANY-1710 Project: Tuscany Issue Type: Bug Components: Java SCA Axis Binding Extension Affects Versions: Java-SCA-Next Environment: win jdk1.6 eclipse tuscany svn 575578 Reporter: gengshaoguang I just found this: I finished a component with <implementation.java class="[a.b.C]"> and it works with getService(a.b.C.class,"[component's name]"); Then I added a <service><binding.ws/></service> to the above component, and modified a.b.C to implements a @Remotable interface a.b.I, and I will have to use: getService(a.b.I.class,"[component's name]"); Otherwise(if I don't change the first parameter), I will get an will known error: "Can't handle mixed payloads betweem OMElements and other types". This will bring a discomfort to a user: when they deside to expose an exist resource to outside consumer, they need to change their own code! Did some one get into the same scenario? Of course, I myself might did some incorrect. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]