You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ali Sadik Kumlali <as...@yahoo.com> on 2006/05/15 16:45:28 UTC

[Axis2][1.0] fireAndDontForget ??

Hi all,

What I want is:
- Make a request to a service which uses RawXMLINOnlyMessageReceiver.
- If server sends HTTP 200 or 202, don't expect the input stream being
not null and don't do anything.
- If server sends HTTP 500, retrieve the stream (which is a SOAPFault)
and throw the AxisFault.

I tried many things:
- fireAndForget(): Doesn't handle HTTP 500
- sendRobust(): Can handle HTTP 500. But it expects a not-null input
stream from the server.

Is there a way doing this?

Any help would be appreciated.

Ali Sadik Kumlali

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: [Axis2][1.0] fireAndDontForget ??

Posted by Ali Sadik Kumlali <as...@yahoo.com>.
Hi Deepal,

Thank you for spending your time with my problem. Should I open a JIRA
for this?

Regards,

Ali Sadik Kumlali

--- Deepal Jayasinghe <de...@opensource.lk> wrote:

> Hi Ali
> 
> Ali Sadik Kumlali wrote:
> 
> >Hi all,
> >
> >What I want is:
> >- Make a request to a service which uses
> RawXMLINOnlyMessageReceiver.
> >- If server sends HTTP 200 or 202, don't expect the input stream
> being
> >not null and don't do anything.
> >- If server sends HTTP 500, retrieve the stream (which is a
> SOAPFault)
> >and throw the AxisFault.
> >
> >I tried many things:
> >- fireAndForget(): Doesn't handle HTTP 500
> >  
> >
> hmmm , I am not sure that fireAndForget handle HTTP500 or not.
> 
> >- sendRobust(): Can handle HTTP 500. But it expects a not-null input
> >stream from the server.
> >  
> >
> sendRobuts problem need to be fixed.
> 
> >Is there a way doing this?
> >
> >Any help would be appreciated.
> >
> >Ali Sadik Kumlali
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam protection around 
> >http://mail.yahoo.com 
> >
> >
> >  
> >
> 
> -- 
> Thanks,
> Deepal
> ................................................................
> ~Future is Open~ 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2][1.0] fireAndDontForget ??

Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Ali

Ali Sadik Kumlali wrote:

>Hi all,
>
>What I want is:
>- Make a request to a service which uses RawXMLINOnlyMessageReceiver.
>- If server sends HTTP 200 or 202, don't expect the input stream being
>not null and don't do anything.
>- If server sends HTTP 500, retrieve the stream (which is a SOAPFault)
>and throw the AxisFault.
>
>I tried many things:
>- fireAndForget(): Doesn't handle HTTP 500
>  
>
hmmm , I am not sure that fireAndForget handle HTTP500 or not.

>- sendRobust(): Can handle HTTP 500. But it expects a not-null input
>stream from the server.
>  
>
sendRobuts problem need to be fixed.

>Is there a way doing this?
>
>Any help would be appreciated.
>
>Ali Sadik Kumlali
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>
>
>  
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~ 




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org