Did we already have a transport implementation for CXF using ASYNCWEB?? Since ASYNCWEB is over MINA, I think that can also solve my purpose without much coding/testing effort...
Can that implementation work with CXF 2.1 too?? Is there any known limitation of that solution i.e. CXF over ASYNCWEB? Regards, Harbhanu -----Original Message----- From: Daniel Kulp [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2008 1:01 AM To: [email protected] Cc: [EMAIL PROTECTED] Subject: Re: CXF with MINA In that case, it might be best to do what we do for jetty and just subclass the AbstractHTTPTransportFactory as a starting point. The AbstractHTTPTransportFactory will handle all the client side stuff using the HTTPUrlConnection stuff in the JDK. Thus, you only need to worry about the server side parts. That would be a good starting point. Later, if you want to implement the client side stuff with MINA as well, we can change that, but for a start, it would allow you to just do half of it. Even on the server side, the "Destination" object that your MINA transport factory would return would be a subclass of AbstractHTTPDestination. If you look at the JettyHTTPDestination, you can pretty much see what needs to be done. Basically, in the "doService" methods, check the query handlers (for things like the? wsdl and ?js stuff), otherwise create a message and dispatch it to the observer. The AbstractHTTPDestination has a couple utility methods to pull stuff out of the HttpServletRequest and such to fill in most of the requirements on the Message. Dan On Jun 12, 2008, at 9:57 AM, harbhanu wrote: > Yes, I am looking for SOAP/HTTP wherein HTTP implementation is over > MINA > [owing to some other product specific considerations. Even for me, > things > are getting clearer with time ;-)] > > I had a look at the link, but it seems it's more so for the transport > implementation from scratch. > > But from your mail I also learnt that there is some other way to > plug-in > another HTTP implementation and it would bit more easy than to put > everything from scratch. > Any resource pointers before I resort to muck with existing > implementation > would be really helpful. > > Also, incase there was no attempt earlier in this regard, please > give me > some directions to proceed further. > > Thanks again...!! > > Regards, > Harbhanu > -----Original Message----- > From: Daniel Kulp [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2008 7:38 PM > To: [email protected] > Cc: [EMAIL PROTECTED] > Subject: Re: CXF with MINA > > > On Jun 11, 2008, at 5:59 AM, harbhanu wrote: > >> >> I want to use CXF more of as a SOAP codec, wherein it sits on top of >> a MINA >> based transport implementation. Please let me know what would be >> required to >> abstract out the SOAP codec and where would be the entry point for >> incoming >> SOAP messages ? > > I guess it depends on really what you are trying to do. Are you > still planning on it being SOAP/HTTP, but with MINA doing all the HTTP > stuff or are you thinking more along the lines of a custom "socket" > transport type thing? > > Both have value, but depending on what you are trying to achieve, it > may be easier to subclass the existing HTTP things as a starting point > rather than starting from scratch as a whole new transport. > > >> Also, any information about adding another transport implementation >> for CXF >> would also help? > > Oi... this has been on my todo list forever. We need a demo for > this. :-( > > There is a very little bit of starter information on the thread: > http://www.nabble.com/Writing-my-own-transport-to17088528.html#a17470770 > > Probably not really enough though. :-( > > The "Local" transport in CXF is probably the simplest to look at if > you want an example. It's not very complex. > > Dan > > > > > >> >> >> Thanks! >> >> Regards, >> Harbhanu >> >> -----Original Message----- >> From: harbhanu [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, June 04, 2008 2:32 PM >> To: [email protected] >> Cc: [EMAIL PROTECTED] >> Subject: CXF with MINA >> >> Hi, >> >> I want to use CXF along with MINA framework. and currently I am not >> sure as >> from where to start . >> >> AFAIK we can provide our own transport to CXF... couldn't get much >> detail >> about replacing/adding a transport. >> >> >> >> Also, I am not sure as to how we can go about the deployment side of >> it.? >> >> >> >> Any pointers in regarding this..Thanks!! >> >> >> >> Regards, >> >> Harbhanu >> >> > > --- > Daniel Kulp > [EMAIL PROTECTED] > http://www.dankulp.com/blog > > > > --- Daniel Kulp [EMAIL PROTECTED] http://www.dankulp.com/blog
