Hello Scott, On Tue, Aug 30, 2011 at 4:03 PM, Scott Kurz <[email protected]> wrote:
>> It looks like it doesn't know that DataObject means SDO. It maybe that >> the SDO data binding it not fully enabled for some reason. I'll give >> it a try here an see if I get the same result. Any luck? > I'm not even looking at your test app, but I can say that this JIRA > https://issues.apache.org/jira/browse/TUSCANY-3910 > will give a similar symptom. > > A workaround is to add the @RequestWrapper/@ResponseWrapper annotations with > ...className=commonj.sdo.DataObject". I've just tried that (to be specific: added a @RequestWrapper(className="commonj.sdo.DataObject") & @ResponseWrapper(className="commonj.sdo.DataObject") on the String sayHello(DataObject name); method of my Helloworld interface), but that only instead of the earlier exception leads to a java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMElementImpl cannot be cast to commonj.sdo.DataObject at org.apache.tuscany.sca.databinding.sdo2om.DataObject2OMElement.transform(DataObject2OMElement.java:44) Cheers, Michael _______________________ Michael Vorburger http://www.vorburger.ch
