cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas K├╝hne <cocoon_add...@web.de>
Subject Re: Re: Serving soap with Cocoon ?
Date Fri, 09 Aug 2002 09:37:44 GMT
Hi Marcus,

couldn't you post it one day earlier ?

I have to figure it out yesterday on my own ! 
I can confirm that it works that way.

Perhaps you want to use a RequestGenerator before to make a switch according to the 'soapaction'-attribute.
But for a simple server it's ok.

Greetings 

Andreas

> > > 
> > > Hi All,
> > > 
> > > 	Hope all is well.
> > > 
> > > 	I've just been looking through the soap examples in HEAD, which
> > > 	look really great for requesting data from a soap server
> > somewhere.
> > > 
> > > 	Has anyone done the opposite ? ie. have Cocoon act as the soap
> > > 	server ?
> > > 
> > > 	eg. to make a soap request from a Cocoon app, and have it
> > deliver
> > > 	the result.
> > > 
> > >         soap request ------------>   ----------------------
> > >                                      | Cocoon Application |
> > >         soap response <-----------   ----------------------
> > > 
> > > 	(or have I missed something here ?)
> > 
> > AFAIU, SOAP request is just HTTP post with text/xml body. You can use
> > (IIRC) stream generator to read it. SOAP response is just HTTP response
> > with XML payload - that's the thing Cocoon is best at.
> 
> 	Thats exactly what I thought. 
> 
> > Do I miss something?
> 
> 	I don't think so, but I haven't really played with soap much up
> 	till now, hence my q.
> 	
> 	So we could have something like:
> 	
> 	<map:match pattern="soap-server">
> 	  <map:generate type="stream"/>
> 	  <map:transform type="soap-transformer"/>
> 	  <map:serialize type="xml"/>
> 	</map:match>
> 
> 	Would be perfect (for what I need) actually...
> 	
> 	Cheers,
> 	
> 	Marcus
> 
> -- 
>         .....
>      ,,$$$$$$$$$,      Marcus Crafter
>     ;$'      '$$$$:    Computer Systems Engineer
>     $:         $$$$:   ManageSoft GmbH
>      $       o_)$$$:   82-84 Mainzer Landstrasse
>      ;$,    _/\ &&:'   60327 Frankfurt Germany
>        '     /( &&&
>            \_&&&&'
>           &&&&.
>     &&&&&&&:
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 


______________________________________________________________________________
Die clevere Geldreserve: der DiBa-Privatkredit. Funktioniert wie ein Dispo, 
ist aber viel gunstiger! Alle Infos: http://diba.web.de/?mc=021104


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message