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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > ______________________________________________________________________________ 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>