axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todor Boev <>
Subject Re: Can Axis2 handle empty REST messages?
Date Thu, 16 Jun 2011 15:55:16 GMT
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 <> 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:
For additional commands, e-mail:

View raw message