Hey,
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"/>
</map:match>For more info about SOAP logicsheet read this:
http://wiki.apache.org/cocoon/SOAPLogicsheet
For the SWT info go here:
http://cocoon.apache.org/2.1/userdocs/transformers/sourcewriting-transformer.html
In case you have more specific problems, please enclose the snippets of pipelines, xsl, input, output, etc. that you use.
Sincerely, Nick Goupinets.
[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
