axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chathura Herath" <chathu...@gmail.com>
Subject Re: Async Service with callback for BPEL process (any hints?)
Date Wed, 08 Mar 2006 13:04:27 GMT
Hi guys,
I believe we did give a considerable thought to this very problem
during architecture discussions in Axis2.
Dominik, Could you try one more time refrasing the question please. I
am sure we can answer this.
Here is an answer to the question as i understod it.
Serverside sync or async issue is a serverside programming model issue
rather WSDL issue. So you need to explecitly decide the serverside
asyncness as you develop the service(ideally as you deploy the
service).
If you are asking whether the async service is deployed in a different
Endpoint than the sync service,( i.e. every service has two endpoints
one syn and one async??) .The answer is no.
You should decide sync async ness of the service before deployment.
WSDL nor the endpoint has nothing to do with sync asyncness of the
service.
How do you do this async service in Axis2.... You use a special
MessageReceiver. Have a look at
org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver.
I am sure Deepals sample will extend this message receiver.
Did i answer the right question??

Thanks
Chathura

On 3/8/06, SOA Work <soawork@web.de> wrote:
>
>
> No problem. A sample would be nice. Async services could be very important for bpel and
user interaction.
>
> Does somebody know an answer to my questions:
> How does it know which operation on wich port type on wich endpoint it has to call (for
callback)?
> Is there any message added to the soap request?
>
> axis-user@ws.apache.org schrieb am 08.03.06 11:10:36:
> >
> > right now I dont have a sample server side service to give you (I am
> > very sorry for that) , but I will give you a sample soon
> >
> > For the client side we have bunch of samples in the site as well as SVN.
> >
> >
> > SOA Work wrote:
> >
> > >Hm now I am confused.
> > >If I invoke a service async.
> > >How does it know which operation on wich port type on wich endpoint it has to
call (for callback)?
> > >
> > >Is there any message added to the soap request?
> > >
> > >Is there an sample for server side async service?
> > >
> > >Dominik
> > >
> > >
> > >axis-user@ws.apache.org schrieb am 08.03.06 09:39:21:
> > >
> > >
> > >>Hi;
> > >>
> > >>We can support both server side and client side asynchronous , we have
> > >>fully tested the client side but not the server side , and we can
> > >>support serve side async by adding custom message receiver.
> > >>
> > >>
> > >>
> > >>
> > >>>The asynchronous capability in axis2? Isn't it client side?
> > >>>I thought about writing the service. I'll handle the problem with a
void operation and later "client side axis" to callback.
> > >>>
> > >>>Thx
> > >>>Dominik
> > >>>
> > >>>
> > >>>axis-user@ws.apache.org schrieb am 08.03.06 05:20:42:
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>>Well , In Axis2 you have asynchronous  capability , so I think you
can
> > >>>>use Axis2  .
> > >>>>
> > >>>>Prashanth.S wrote:
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>>Cant you use SOAP over JMS rather than SOAP over HTTP??
> > >>>>>I think it provides async invocations using queues.
> > >>>>>
> > >>>>>Rgds
> > >>>>>Prashanth
> > >>>>>
> > >>>>>
> > >>>>>*/SOA Work <soawork@web.de>/* wrote:
> > >>>>>
> > >>>>>
> > >>>>>   Hi there,
> > >>>>>
> > >>>>>   almost every BPEL guide is talking about invoking services
in a
> > >>>>>   asynchronous way and reveiving the result via callback later.
Now
> > >>>>>   I was thinking about how such a service in axis or axis2
would
> > >>>>>   look like.
> > >>>>>
> > >>>>>   I guess the service has to now the callback port and maybe
the
> > >>>>>   endpoint. At the end of the operation the service has to
use the
> > >>>>>   client side axis and callback the process.
> > >>>>>
> > >>>>>   Does somebody do any similar? Any examples? Is there a way
how to
> > >>>>>   determine from which sender the invocation was received?
> > >>>>>
> > >>>>>   Best regards
> > >>>>>   Dominik
> > >>>>>   __________________________________________________________________________
> > >>>>>   Erweitern Sie FreeMail zu einem noch leistungsstarkeren
> > >>>>>   E-Mail-Postfach!
> > >>>>>   Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131
> > >>>>>
> > >>>>>
> > >>>>>------------------------------------------------------------------------
> > >>>>>Do you Yahoo!?
> > >>>>>New and Improved Yahoo! Mail
> > >>>>><http://sg.rd.yahoo.com/mail/sg/footer/def/*http://sg.whatsnew.mail.yahoo.com>
> > >>>>>- 1GB free storage!
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>--
> > >>>>Thanks,
> > >>>>Deepal
> > >>>>................................................................
> > >>>>~Future is Open~
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>______________________________________________________________
> > >>>Verschicken Sie romantische, coole und witzige Bilder per SMS!
> > >>>Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>--
> > >>Thanks,
> > >>Deepal
> > >>................................................................
> > >>~Future is Open~
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> > >______________________________________________________________________
> > >XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
> > >Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > Thanks,
> > Deepal
> > ................................................................
> > ~Future is Open~
> >
> >
>
>
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
>
>


--
Chathura Herath
http://people.apache.org/~chathura/
http://chathurah.blogspot.com/

Mime
View raw message