[
https://issues.apache.org/jira/browse/SYNAPSE-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243048#comment-13243048
]
Dushan Sachinda Abeyruwan commented on SYNAPSE-851:
---------------------------------------------------
Hi
I just check this with synapse-2.2.0-SNAPSHOT and its working fine for me and
can see the response content with expected results this is my configuration
<proxy name="StockQuoteProxy" transports="https http vfs" startOnLoad="true"
trace="disable">
<target>
<endpoint>
<address
uri="http://localhost:9000/services/SimpleStockQuoteService" format="soap12"/>
</endpoint>
<outSequence>
<property name="transport.vfs.ReplyFileName"
expression="fn:concat(fn:substring-after(get-property('MessageID'),
'urn:uuid:'), '.xml')" scope="transport"/>
<property name="OUT_ONLY" value="true"/>
<send>
<endpoint>
<address uri="vfs:file:///home/dushan/poc/esbvfs/out"/>
</endpoint>
</send>
</outSequence>
</target>
<publishWSDL
uri="file:repository/samples/resources/proxy/sample_proxy_1.wsdl"/>
<parameter name="transport.PollInterval">15</parameter>
<parameter name="transport.vfs.ActionAfterProcess">MOVE</parameter>
<parameter
name="transport.vfs.FileURI">file:///home/dushan/poc/esbvfs/in</parameter>
<parameter
name="transport.vfs.MoveAfterProcess">file:///home/dushan/poc/esbvfs/done</parameter>
<parameter
name="transport.vfs.MoveAfterFailure">file:///home/dushan/poc/esbvfs/done</parameter>
<parameter name="transport.vfs.FileNamePattern">.*.xml</parameter>
<parameter name="transport.vfs.ContentType">text/xml</parameter>
<parameter name="transport.vfs.ActionAfterFailure">MOVE</parameter>
</proxy>
> 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
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]