On Wed, Dec 8, 2010 at 6:03 AM, Sanjiva Weerawarana <sanj...@opensource.lk> wrote:
> You'd need to use a message formatter that only takes the content of the > SOAP:Body element's first child and puts it into the message being sent. > IIRC there was such a beast already but I could be wrong .. basically > response media type needs to be text/plain. As it turned out, when you create an OMElement with the name org.apache.axis2.transport.base.BaseConstants.DEFAULT_TEXT_WRAPPER it'll convert that to plain text when sending through the ServiceClient API. https://svn.wso2.org/repos/wso2/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/src/main/java/org/wso2/carbon/registry/eventing/RegistryEventDispatcher.java line 179. -Chintana -- blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org