Hannes,

Thanks.

If you open a JIRA, I'll at least add it to the .aegis.xml support
system as something you can turn on. I'm not sure I think it's a good
idea to make all void functions OneWay. Won't make 2.3, though :-)

--benson

-

On Wed, Oct 6, 2010 at 8:00 AM, Hannes Holtzhausen
<[email protected]> wrote:
> Hi Benson
>
> You have to extend AbstractServiceConfiguration  and override the
> hasOutMessage with something like this:
>
> public Boolean hasOutMessage(Method method)
>  {
>    if (method.getReturnType().equals(void.class)
>        && method.getExceptionTypes().length == 0)
>    {
>      return Boolean.FALSE;
>    }
>
>    return Boolean.TRUE;
>  }
>
>
> Dan helped me with this one a while back.  CXF has been handling this
> wrong for a very long time :)
>
> Cheers
> Hannes
>
> On Wed, Oct 6, 2010 at 1:48 PM, Benson Margulies <[email protected]> 
> wrote:
>> Does the simple front end have any way to declare a OneWay?
>>
>

Reply via email to