cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <D.Ski...@hzd.hessen.de>
Subject Re: write an soap result (xml-file) into a file
Date Mon, 25 Oct 2004 13:55:14 GMT
Guten Tag Nick Goupinets,

am Montag, 25. Oktober 2004 um 15:28 schrieben Sie:

  
> 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.


>  D.Skirde@hzd.hessen.de 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: d.skirde@hzd.hessen.de
 >>

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


  

Hey,

thanks for your reply! But was is with the flow after using the sourcewriting-transformer?
Will be the flow stop and show the transformed result (xml) on the screen? How can i
go on normaly with the flow?

Regards Dirk (sorry for my bad english)
 
----------------------------------------

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: d.skirde@hzd.hessen.de


Mime
View raw message