The Code is the data control, Like add delete update.

Best regards

johnson

Christofer Dutz 提到:

Hi Johnson,

Don't quite understand what code you are exactly refering to.
Immagine these pipelines:

<map:match pattern="read-pipeline">
        <map:generate type="some-cool-webservice"/>
        <map:transform src="ws-to-internal.xsl"/>
        <map:serialize type="xml"/>
</map:match>
<map:match pattern="read-pipeline">
        <map:generate src="module:flow-attr:write-doc" />
        <map:transform src="internal-to-ws.xsl"/>
        <map:serialize type="some-even-cooler-webservice"/>
</map:match>

Ok ... you could use or write a serializer writing to the webservice or
serialize as xml and deal with writing to the WS in flowscript.

By using an internal format you could use the simplest binding.

Chris

[ c h r i s t o f e r   d u t z ]

IT-Berater
univativ GmbH & Co. KG
Robert-Bosch-Str. 7, 64293 Darmstadt

fon:  0 61 51 / 66 717 -0
fax:  0 61 51 / 66 717 -29
email:  [EMAIL PROTECTED]
http://www.univativ.de

Darmstadt, Stuttgart, Karlsruhe, Düsseldorf

-----Ursprüngliche Nachricht-----
Von: johnson [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 23. Mai 2006 15:48
An: [email protected]
Betreff: Re: AW: CFrom & Web Service Binding

Hi Chris

I've used this method before, But the code is different from the binding method, So If you have two data source, one is database, the other is web service, you must change your code.

If use binding, you just need to change the binding, don't need any other code.

Best Regards

johnson

Christofer Dutz ??:

Hi Johnson

I use to bind my CForms forms to Xml documents and use cocoons pipelines to
provide them. So for the reading direction I think all you would have to do
is create an (internal) pipeline accessing the Webservice of choice and
feed
the result in the CForm. On the writing side I think a similar way should
work.

Chris

-----Ursprüngliche Nachricht-----
Von: johnson [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 23. Mai 2006 08:38
An: [email protected]
Betreff: CFrom & Web Service Binding

Hi!

Is it possible to binding Web Service for Cform, I think it will
convinent to develop closs web app.

Best Regards

johnson


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to