Re: Is this project a stack or a framework?
Dean Hiller <[email protected]> Sun, 28 Aug 2005 18:10:40 -0600
| Newsgroups | gmane.text.xml.soap.user |
|---|---|
| Message-ID | <[email protected]> |
sorry, I was talking service being asynchronous, not client. thanks for the help anyways. I may join the axis list and ask around there. thanks, dean Eran Chinthaka wrote: > Hi Dean, > > Dean Hiller wrote: > >> axis2? Does that not run under tomcat then? > > > Axis2 is not specific on any servlet container. but we have tested > that with Tomcat too. > >> tomcat was the architectural limitation not allowing requests to be >> handled asynchronously and if axis2 uses tomcat, the same problem >> exists...... > > > Nope. You can use Axis2 to successfuly invoke a web service > asynchronously. You can achieve transport level asynchronocity as well > as non-blocking invocation behaviour in the client. > More information on that can be found here > (http://www.onjava.com/pub/a/onjava/2005/07/27/axis2.html) > > I don't think its a good idea to talk about Axis2 here. You can user > axis2 user list for that. > > -- Chinthaka > >> I have seen soap implementation use a callback for asynchronous >> request/response but this does not work through firewalls. Please >> let me know more here. >> thanks, >> dean >> >> >> Davanum Srinivas wrote: >> >>> Then use Axis2 :) >>> >>> On 8/27/05, Dean Hiller <[email protected]> wrote: >>> >>> >>>> unfortunately, I found I could not adapt axis to my needs. It is >>>> purely >>>> synchronous on the server side. I need asynchronous which I have >>>> already, but just need a stack that converts SOAP messages to objects >>>> and back for me. What I mean by this is the service generated methods >>>> can look like this.... >>>> >>>> public void method(Request r, Callback c); //this allows my service to >>>> dispatch a call to a remote service and then return this thread >>>> back to >>>> the platform immediately while waiting for a response. >>>> >>>> instead of just this >>>> >>>> public Response method(Request r); >>>> >>>> My framework allows the threads to not be blocked and process other >>>> requests. Is there code inside Axis, like just one package that I >>>> could >>>> reuse to convert objects to soap and soap to objects? I would really >>>> just like to do routing myself. >>>> thanks, >>>> dean >>>> >>>> Anne Thomas Manes wrote: >>>> >>>> >>>> >>>>> A SOAP stack does more than just convert messages to objects. A SOAP >>>>> message consists of a SOAP Header and a SOAP Body. A SOAP stack must >>>>> process all entries in the SOAP Header before processing the SOAP >>>>> Body. Then, when processing the SOAP Body, it can pass the XML >>>>> payload >>>>> to an application or it can convert the XML payload into Java objects >>>>> and invoke an appropriate method. Also, the SOAP stack processes >>>>> faults -- it converts Java exceptions into SOAP Faults. >>>>> >>>>> SOAP messages are always XML; they are never HTML. >>>>> >>>>> Most SOAP stacks provide a POJO framework. Services typically don't >>>>> need to know anything about the framework. But ... you need to deploy >>>>> your POJOs into the SOAP framework. It's a bit more challenging if >>>>> you >>>>> want to deploy your POJOs into a different framework, although not >>>>> impossible. >>>>> >>>>> In any case, Apache SOAP is a very antiquated SOAP stack. No serious >>>>> updates have been made to it since early 2002. This project has been >>>>> superceded by Apache Axis (see http://ws.apache.org/axis). Axis gives >>>>> you a lot more flexibility, and it supports all the latest and >>>>> greatest SOAP features. >>>>> >>>>> Axis also gives you the ability to define your own dispatch provider, >>>>> so you should be able to adapt it to work with your framework. >>>>> >>>>> Anne >>>>> >>>>> On 8/22/05, Dean Hiller <[email protected]> wrote: >>>>> >>>>> >>>>> >>>>> >>>>>> I am looking for a soap stack. What I mean by this is I am >>>>>> looking for >>>>>> something that converts the soap messages(html/xml) to objects and >>>>>> objects back to soap messages. I am not looking for a framework >>>>>> that >>>>>> routes my messages. I currently have a pojo framework where >>>>>> services no >>>>>> nothing about the platform. I would like to keep it that way, >>>>>> and would >>>>>> like to add soap, and rmi so services can be accessed via those >>>>>> methods. >>>>>> thanks, >>>>>> dean >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> >>> >>> >>> >> >> >