Forgot to add that in my particular use case I use JSON. It was pretty easy to patch the JSON OMBuilder to return nothing but the rest of Axis can't cope with that since the only thing to signify nothing is to return null. There apparently is no such thing as an empty OMElement to return out of OMBuilder.processMessage()
On Thu, Jun 16, 2011 at 6:52 PM, Todor Boev <[email protected]> wrote: > Hello, > > It often happens that a call to a REST service returns only an HTTP > status code. For example a POST to "http://foo/resources/create" might > return 201 - resource created. The Axis client can't cope with this. > Respectively if I have an Axis2 REST service it seems there is no way > for my POJO to signal Axis to return an empty message. > > Regards, > Todor > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
