Hi It is my understanding that Sandesha handles the initial RM traffic (create seq) within itself before sending the client payload that was handed over to it by the service. This is our setup: Client Side Web Service <---> My Module <---> Sandesha <-----------------------> Sandesha <---> My Module <---> Server Side Web Service From tutorials I learn that the following 4 steps should happen when engaging Sandesha: 1. CreateSequence/CSR 2. Request 1 3. Request 2/LastMessage 4. TerminateSequence. However from debug logs I see that only step 1 happens - I do not know why the other steps do not happen. Can someone help? Here is what happens in our environment as seen from the logs: (When Sandesha is engaged the message is resubmitted to our "My Module" before it reached the other side. Looks like this is normal.) 1) Client Side [DEBUG] Going Inside OutFlow Handler==<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body /></soapenv:Envelope> Client Side [DEBUG] Going out of OutFlow Handler==<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd"><soapenv:Header><ns:FromURI xmlns:ns="http://company.com">uri:PartnerService.there.com</ns:FromURI><ns:ToURI xmlns:ns="http://company.com">uri:QuotingService.company.com</ns:ToURI><ns:UseSyncCall xmlns:ns="http://company.com">true</ns:UseSyncCall><ns:MEPType xmlns:ns="http://company.com">pull</ns:MEPType><eb:Messaging xmlns:eb="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema-instance http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/core/ebms-header-3_0-200704.xsd"><eb:SignalMessage><eb:MessageInfo><eb:Timestamp>2009-08-10 15:59:09.552</eb:Timestamp><eb:MessageId>[email protected]</eb:MessageId></eb:MessageInfo><eb:PullRequest/></eb:SignalMessage></eb:Messaging></soapenv:Header><soapenv:Body /></soapenv:Envelope> 2) Client Side [DEBUG] Found WS-RM internal exchange<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><wsrm:CreateSequence xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:AcksTo><wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://192.168.218.1:8090/axis2/services/anonService4/</wsa:Address></wsrm:AcksTo><wsrm:Offer><wsrm:Identifier>MeSHa_Server_Sequrn:uuid:4195DA1895428F41221249945149466</wsrm:Identifier></wsrm:Offer></wsrm:CreateSequence></soapenv:Body></soapenv:Envelope> Client SideOutFlowHandler [DEBUG] Skipping WS-RM exchange 3) Client Side [DEBUG] Going Inside OutFlow Handler==<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd"><soapenv:Header><ns:FromURI xmlns:ns="http://company.com">uri:PartnerService.There.com</ns:FromURI><ns:ToURI xmlns:ns="http://company.com">uri:QuotingService.company.com</ns:ToURI><ns:UseSyncCall xmlns:ns="http://company.com">true</ns:UseSyncCall><ns:MEPType xmlns:ns="http://company.com">pull</ns:MEPType><eb:Messaging xmlns:eb="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema-instance http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/core/ebms-header-3_0-200704.xsd"><eb:SignalMessage><eb:MessageInfo><eb:Timestamp>2009-08-10 15:59:09.552</eb:Timestamp><eb:MessageId>[email protected]</eb:MessageId></eb:MessageInfo><eb:PullRequest/></eb:SignalMessage></eb:Messaging></soapenv:Header><soapenv:Body /></soapenv:Envelope> Client SideOutFlowHandler [DEBUG] Going out of OutFlow Handler==<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd"><soapenv:Header><ns:FromURI xmlns:ns="http://company.com">uri:PartnerService.There.com</ns:FromURI><ns:ToURI xmlns:ns="http://company.com">uri:QuotingService.company.com</ns:ToURI><ns:UseSyncCall xmlns:ns="http://company.com">true</ns:UseSyncCall><ns:MEPType xmlns:ns="http://company.com">pull</ns:MEPType><eb:Messaging xmlns:eb="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema-instance http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/core/ebms-header-3_0-200704.xsd"><eb:SignalMessage><eb:MessageInfo><eb:Timestamp>2009-08-10 15:59:09.552</eb:Timestamp><eb:MessageId>[email protected]</eb:MessageId></eb:MessageInfo><eb:PullRequest/></eb:SignalMessage></eb:Messaging><ns:FromURI xmlns:ns="http://company.com">uri:PartnerService.There.com</ns:FromURI><ns:ToURI xmlns:ns="http://company.com">uri:QuotingService.company.com</ns:ToURI><ns:UseSyncCall xmlns:ns="http://company.com">true</ns:UseSyncCall><ns:MEPType xmlns:ns="http://company.com">pull</ns:MEPType></soapenv:Header><soapenv:Body /></soapenv:Envelope> 4) Server Side [DEBUG] Found WS-RM internal exchange<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:To>http://localhost:8080/MeshaRuntime/services/CiscoB2BService</wsa:To><wsa:ReplyTo><wsa:Address>http://192.168.218.1:8090/axis2/services/anonService4/</wsa:Address></wsa:ReplyTo><wsa:MessageID>urn:uuid:4195DA1895428F41221249945150579</wsa:MessageID><wsa:Action>http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</wsa:Action></soapenv:Header><soapenv:Body><wsrm:CreateSequencexmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:AcksTo><wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://192.168.218.1:8090/axis2/services/anonService4/</wsa:Address></wsrm:AcksTo><wsrm:Offer><wsrm:Identifier>MeSHa_Server_Sequrn:uuid:4195DA1895428F41221249945149466</wsrm:Identifier></wsrm:Offer></wsrm:CreateSequence></soapenv:Body></soapenv:Envelope> Server SideInFlowHandler [DEBUG] Skipping WS-RM exchange 5) Server Side [DEBUG] Found WS-RM internal exchange<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><wsrm:CreateSequenceResponse xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:6F9CED9F2C0D94BAB41249945151542</wsrm:Identifier><wsrm:Accept><wsrm:AcksTo><wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/MeshaRuntime/services/CiscoB2BService</wsa:Address></wsrm:AcksTo></wsrm:Accept></wsrm:CreateSequenceResponse></soapenv:Body></soapenv:Envelope> Server SideOutFlowHandler [DEBUG] Skipping WS-RM exchange 6)Client Side [DEBUG] Found WS-RM internal exchange<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:To>http://192.168.218.1:8090/axis2/services/anonService4/</wsa:To><wsa:ReplyTo><wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address></wsa:ReplyTo><wsa:MessageID>urn:uuid:6F9CED9F2C0D94BAB41249945151560</wsa:MessageID><wsa:Action>http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequenceResponse</wsa:Action><wsa:RelatesTo>urn:uuid:4195DA1895428F41221249945150579</wsa:RelatesTo></soapenv:Header><soapenv:Body><wsrm:CreateSequenceResponsexmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:6F9CED9F2C0D94BAB41249945151542</wsrm:Identifier><wsrm:Accept><wsrm:AcksTo><wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/MeshaRuntime/services/CiscoB2BService</wsa:Address></wsrm:AcksTo></wsrm:Accept></wsrm:CreateSequenceResponse></soapenv:Body></soapenv:Envelope> Client SideInFlowHandler [DEBUG] Skipping WS-RM exchange Thanks Makesh
