Richard,

The standard file component works with InOnly MessageExchanges. The poller will send the content of the files (together with properties like the file name) into the ESB, the sender will write files containing the XML content it receives.

I'm not sure what you want to achieve here, but if you want to build an InOut style service to handle files, just build in servicemix-jsr181, servicemix-bean (or lwcontainer), servicemix-script, ... and expose it using an HTTP consumer endpoint with a WSDL to get the webservice you want.


Gert

Barre, Richard wrote:
Hi,

Does anybody have written a service Assembly which can read and write
files?
(The incubator component seems to read but without returning caller the
file content in read mode.)

We suppose that SOAP requests have the following attributes:

* URL file :
        *       In read mode

                *       File path to read

        *       In write mode

                *       File path to write

* Content:
        *       In read mode

                *       contains the content of the file

        *       In write mode

                *       Contains the content to write.

Thank.
Richard BARRE



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

Reply via email to