axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksander Slominski <as...@cs.indiana.edu>
Subject Re: [WSIF] Changing the WSIFOperation processAsynResponse method
Date Mon, 09 Sep 2002 15:53:24 GMT
hi,

i am not sure if understand the programming model for
fireAsyncResponse/processAsyncResponse - could you give
an example how it should be used (i think that we also should have
a sample to demonstrate it?).

thanks,

alek

Anthony Elder wrote:

> I'd like to change the WSIFOperation processAsyncResponse method as I think
> its wrong the way it is defined at the moment.
>
> Its currently defined as:
>
>     public void processAsyncResponse(
>         Object response,
>         WSIFMessage output,
>         WSIFMessage fault)
>         throws WSIFException;
>
> I'd like to change it to be same as the executeRequestResponse method:
>
>     public boolean processAsyncResponse(
>         Object response,
>         WSIFMessage output,
>         WSIFMessage fault)
>         throws WSIFException;
>
> where the boolean being returned indicates whether the method completed
> successfully or if a fault message was  generated.
>
> This would not effect existing client code that uses the
> processAsyncResponse method, but it would break anyone writing a provider
> which implements the WSIFOperation.
>
> Does anyone have any objects to doing this?
>
>        ...ant
>
> Anthony Elder
> ant.elder@uk.ibm.com
> Web Services Development
> IBM UK Laboratories,  Hursley Park
> (+44) 01962 818320, x248320, MP208.


Mime
View raw message