[
https://issues.apache.org/jira/browse/SYNAPSE-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13712628#comment-13712628
]
Hiranya Jayathilaka commented on SYNAPSE-851:
---------------------------------------------
Hi Dushan,
Looks like Ratha is trying this scenario with plain text files. The content
type parameter has been set to text/plain. The scenario works fine with XML
input files.
In the latest trunk, this is the response.xml I get for a plain text input:
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><text
xmlns="http://ws.apache.org/commons/ns/payload"/></soapenv:Body></soapenv:Envelope>
The original input content was "HelloWorld". Looks like Synapse has dropped the
text payload. I'm going to take a closer look.
Thanks,
Hiranya
> VFS proxy generates the response.xml with empty content
> (Synapse-2.2.0-Snapshot trunk)
> --------------------------------------------------------------------------------------
>
> Key: SYNAPSE-851
> URL: https://issues.apache.org/jira/browse/SYNAPSE-851
> Project: Synapse
> Issue Type: Bug
> Components: Transports
> Affects Versions: NIGHTLY
> Reporter: Vijayaratha Vijayasingam
> Assignee: Hiranya Jayathilaka
> Priority: Blocker
> Fix For: FUTURE
>
>
> Used following configuration;
> I see the output(response.xml) at "out" folder is empty..
> <proxy name="StockQuoteProxy" transports="vfs" startOnLoad="true"
> trace="disable">
> <target faultSequence="fault">
> <inSequence>
> <property name="OUT_ONLY" value="true"/>
> <send>
> <endpoint>
> <address uri="vfs:file:C:\Users\TOSHIBA\Desktop\out"/>
> </endpoint>
> </send>
> </inSequence>
> </target>
> <parameter name="transport.PollInterval">15</parameter>
> <parameter name="transport.vfs.ActionAfterProcess">MOVE</parameter>
> <!--<parameter
> name="transport.vfs.FileURI">vfs:ftp://anonymous@localhost/in?vfs.passive=true</parameter>-->
> <parameter
> name="transport.vfs.FileURI">file:C:\Users\TOSHIBA\Desktop\in</parameter>
> <parameter
> name="transport.vfs.MoveAfterProcess">file:C:\Users\TOSHIBA\Desktop\original</parameter>
> <parameter
> name="transport.vfs.MoveAfterFailure">file:C:\Users\TOSHIBA\Desktop\error</parameter>
> <parameter name="transport.vfs.FileNamePattern">.*</parameter>
> <parameter name="transport.vfs.ContentType">text/plain</parameter>
> <parameter name="transport.vfs.ActionAfterFailure">MOVE</parameter>
> <parameter name="serviceType">proxy</parameter>
> </proxy>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]