This content has been marked as final. Show 5 replies
Thanks for quick reply,I tried to call drools project in OSB with java callout, I am able to get SOP statements in console but unable to get return type in OSB message flow.Can u plz provide any POC or any useful blogs.I am trying to get the rules status as response in OSB but I am getting some garbage java content as response.I am getting the following message as text"<con:java-content ref="jcid:-1e830d88:13b8eacd15e:-7fa3" xmlns:con="http://www.bea.com/wli/sb/context"/>
I have implemented Drools by exposing them over web service call through Business Service of OSB.
As you are using Java Callout, try to set proper return type for the java method called, better to use XMLObjects as the return type.
How to retrieve the java object in a proxy service in osb -- Plz help
Hope it helps !!
Edited by: Abhinav on Dec 12, 2012 4:21 PM
Sorry to say i don't have sample for the same..
But you problem is similar to : How to retrieve the java object in a proxy service in osb -- Plz help
U have to use XmlObjects as return type for you java method to achieve the same !!