RM two-way invocation failed with Synapse
-----------------------------------------

                 Key: SYNAPSE-398
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-398
             Project: Synapse
          Issue Type: Bug
    Affects Versions: 1.2
         Environment: Ubuntu 7.10, JDK1.5.0_14,  Firefox 2.0.0.15
            Reporter: Evanthika Amarasiri
            Assignee: Ruwan Linton
             Fix For: NIGHTLY


Was trying out a configuration with an RM two-way invocation but the 
communication was not happening properly.

The configuration is as below

    <syn:proxy name="RMProxy" transports="http" startOnLoad="true" 
statistics="enable">
        <syn:target>
            <syn:inSequence>
                <syn:header 
xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"; 
name="wsrm:SequenceAcknowledgement" action="remove"/>
                <syn:header 
xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"; name="wsrm:Sequence" 
action="remove"/>
                <syn:RMSequence single="true" version="1.0"/>
                <syn:send>
                    <syn:endpoint>
                        <syn:address 
uri="http://localhost:9763/services/Adding";>
                            <syn:enableAddressing/>
                            <syn:enableRM/>
                        </syn:address>
                    </syn:endpoint>
                </syn:send>
            </syn:inSequence>
            <syn:outSequence>
                <syn:send/>
            </syn:outSequence>
        </syn:target>
        <syn:publishWSDL 
uri="file:repository/conf/sample/resources/proxy/rm_proxy_add.wsdl"/>
        <syn:enableRM/>
    </syn:proxy>

A request is sent with RM headers and the Synapse configuration will first 
remove these headers and then add new headers using "<syn:RMSequence 
single="true" version="1.0"/>" before sending it to the service.

When you check through TCPMon you will see that the message sent from Synapse 
to the server does not contain RM headers even though RM is engaged to the 
created Proxy Service.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to