cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Goupinets <>
Subject Re: write an soap result (xml-file) into a file
Date Mon, 25 Oct 2004 13:28:58 GMT

Generally speaking your approach is correct. First use SOAP logic sheet 
to get the results you want. Then apply xsl style sheet to them to 
covert them into the format you like (e.g. create input for 
SourceWritingTransformer (SWT)), then use SWT to write it to the HD.

Your sitemap might look like the following:

<map:match pattern="getSoap">
	<map:generate type="serverpages" src="getSoap.xml"/>
	<map:transform type="xsl" src="soap2SWTInput.xsl"/>
	<map:transform type="write-source"/>
	<map:serialize type="xml"/>

For more info about SOAP logicsheet read this:

For the SWT info go here:

In case you have more specific problems, please enclose the snippets of 
pipelines, xsl, input, output, etc. that you use.

Nick Goupinets. wrote:
> Hi all,
> i have the some problems with cocoon 2.1.5:
> after a soap request i get a valid xml file as a result. Now i want 
> transform the result-xml
> with an xsl and after this i want save the transformed result-xml to a 
> file on my local HD.
> How can i do this, has anyone an idea?
> Can i do this with the SoureWriting Transformer?
> Has anyone an example for me?
> Thanks for your help...
> Regards Dirk
> ----------------------------------------
> Dirk Skirde
> Hessische Zentrale für Datenverarbeitung
> Mainzer Strasse 50  Raum 009
> 65189 Wiesbaden
> Tel.:  +49 611 340 1941
> Fax:   +49 611 340 5941
> EMail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message