You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Vijayaratha Vijayasingam (Created) (JIRA)" <ji...@apache.org> on 2012/03/12 11:51:38 UTC

[jira] [Created] (SYNAPSE-851) VFS proxy generates the response.xml with empty content (Synapse-2.2.0-Snapshot trunk)

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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] [Commented] (SYNAPSE-851) VFS proxy generates the response.xml with empty content (Synapse-2.2.0-Snapshot trunk)

Posted by "Dushan Sachinda Abeyruwan (Commented) (JIRA)" <ji...@apache.org>.
    [ 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] [Issue Comment Edited] (SYNAPSE-851) VFS proxy generates the response.xml with empty content (Synapse-2.2.0-Snapshot trunk)

Posted by "Vijayaratha Vijayasingam (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228436#comment-13228436 ] 

Vijayaratha Vijayasingam edited comment on SYNAPSE-851 at 3/13/12 3:32 PM:
---------------------------------------------------------------------------

This is not working in the latest Synapse 2.1 release too..
                
      was (Author: ratha):
    This is not working in the latest Synapse 2.1 release..
                  
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] [Commented] (SYNAPSE-851) VFS proxy generates the response.xml with empty content (Synapse-2.2.0-Snapshot trunk)

Posted by "Vijayaratha Vijayasingam (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228436#comment-13228436 ] 

Vijayaratha Vijayasingam commented on SYNAPSE-851:
--------------------------------------------------

This is not working in the latest Synapse 2.1 release..
                
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org