Jens,

I think you spotted the problem, I was again not well and had to rest today and now only I saw both these responses (Now I am completely fine and back to work). I have figured this problem while reading the first response of yours, I think synapse has an issue in handling separateListener case, though I need a little bit more tests to confirm that.

At the mean time you could go ahead and add a JIRA describing the issue, if it is critical to your work.

Thanks,
Ruwan

Jens Goldhammer wrote:
Hello,

I have made some further investigation.
When I communicate directly from the client to the Tomcat Server, I can see that there is only an acception which is returned back to the client. The response indeed has been transported on an other channel... If I look at the soap messages which will be forwarded by tcpmon to synapse and the server, I see that the response does not come on a different http channel as I expected. It seems to me that it is the same channel and the callback handler will not be activated because it listens to another port...

Does Synapse allow this behaviour? Do I have to configure it?

Thanks,
Jens

Jens Goldhammer schrieb:
Hello Ruwan,

thanks for your testing! But I cannot get it working on my machine. I have commented the proxysettings, but nothing happens.
Only sync invocation without setting the useSeparateListener works...
Here is the log for the async operation:

[DEBUG] XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter
[DEBUG] *********************** RampartSender sent out
<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:wsa="http://www.w3.org/2005/08/addressing";><soapenv:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; soapenv:mustUnderstand="1"><wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; wsu:Id="Timestamp-14452459"><wsu:Created>2008-02-18T09:36:32.402Z</wsu:Created><wsu:Expires>2008-02-18T09:41:32.402Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; wsu:Id="UsernameToken-15612583"><wsse:Username>bob</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest";>mKnse6/vk7Lz3Hl23m/Y5YQg3F8=</wsse:Password><wsse:Nonce>PT+fEBZWSTc1+ax9tTnaTg==</wsse:Nonce><wsu:Created>2008-02-18T09:36:32.392Z</wsu:Created></wsse:UsernameToken></wsse:Security><wsa:To>http://localhost:8280/soap/ESBQueueServiceProxy</wsa:To><wsa:ReplyTo><wsa:Address>http://192.168.88.1:8200/axis2/services/QueueService2737550</wsa:Address></wsa:ReplyTo><wsa:MessageID>urn:uuid:3648A6EE2346FB37891203327392146</wsa:MessageID><wsa:Action>urn:queueOperation1</wsa:Action></soapenv:Header><soapenv:Body><ns1:fromClientRequest xmlns:ns1="http://de/ibm/com/xsd/queue";><ns1:reqEl> World, hello to you!</ns1:reqEl></ns1:fromClientRequest></soapenv:Body></soapenv:Envelope> [DEBUG] [MessageContext: logID=urn:uuid:3648A6EE2346FB37891203327392287] Checking post-conditions for phase "Security" [DEBUG] [MessageContext: logID=urn:uuid:3648A6EE2346FB37891203327392287] Invoking flowComplete() in Phase "Security" [DEBUG] [MessageContext: logID=urn:uuid:3648A6EE2346FB37891203327392287] Invoking flowComplete() for Handler 'Apache Rampart outflow handler' in Phase 'Security' [DEBUG] [MessageContext: logID=urn:uuid:3648A6EE2346FB37891203327392287] Invoking flowComplete() for Handler 'SecurityOutHandler' in Phase 'Security' [DEBUG] [MessageContext: logID=urn:uuid:3648A6EE2346FB37891203327392287] Invoking flowComplete() in Phase "MessageOut" [DEBUG] [MessageContext: logID=urn:uuid:3648A6EE2346FB37891203327392287] Invoking flowComplete() for Handler 'AddressingOutHandler' in Phase 'MessageOut' [DEBUG] [MessageContext: logID=urn:uuid:3648A6EE2346FB37891203327392287] Invoking flowComplete() in Phase "PolicyDetermination" [DEBUG] [MessageContext: logID=urn:uuid:3648A6EE2346FB37891203327392287] Invoking flowComplete() in Phase "RMPhase" [DEBUG] [MessageContext: logID=urn:uuid:3648A6EE2346FB37891203327392287] Invoking flowComplete() in Phase "OperationOutPhase" [DEBUG] [MessageContext: logID=urn:uuid:3648A6EE2346FB37891203327392287] Invoking flowComplete() in Phase "soapmonitorPhase"
[DEBUG] contentType from the OMOutputFormat =text/xml
[DEBUG] contentType returned =text/xml; charset=UTF-8
[DEBUG] start writeTo()
[DEBUG]   preserve=false
[DEBUG]   isOptimized=false
[DEBUG]   isDoingSWA=false
[DEBUG] XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter
[DEBUG] end writeTo()
[DEBUG] >> "607[\r][\n]"
[DEBUG] >> "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:wsa="http://www.w3.org/2005/08/addressing";><soapenv:Header>[\n]" [DEBUG] >> "<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; soapenv:mustUnderstand="1"><wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; wsu:Id="Timestamp-14452459"><wsu:Created>2008-02-18T09:36:32.402Z</wsu:Created><wsu:Expires>2008-02-18T09:41:32.402Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; wsu:Id="UsernameToken-15612583"><wsse:Username>bob</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest";>mKnse6/vk7Lz3Hl23m/Y5YQg3F8=</wsse:Password><wsse:Nonce>PT+fEBZWSTc1+ax9tTnaTg==</wsse:Nonce><wsu:Created>2008-02-18T09:36:32.392Z</wsu:Created></wsse:UsernameToken></wsse:Security><wsa:To>http://localhost:8280/soap/ESBQueueServiceProxy</wsa:To><wsa:ReplyTo><wsa:Address>http://192.168.88.1:8200/axis2/services/QueueService2737550</wsa:Address></wsa:ReplyTo><wsa:MessageID>urn:uuid:3648A6EE2346FB37891203327392146</wsa:MessageID><wsa:Action>urn:queueOperation1</wsa:Action></soapenv:Header><soapenv:Body><ns1:fromClientRequest xmlns:ns1="http://de/ibm/com/xsd/queue";><ns1:reqEl> World, hello to you!</ns1:reqEl></ns1:fromClientRequest></soapenv:Body></soapenv:Envelope>"
[DEBUG] >> "[\r][\n]"
[DEBUG] >> "0"
[DEBUG] >> "[\r][\n]"
[DEBUG] >> "[\r][\n]"
[DEBUG] Did not find RequestResponseTransport cannot set response written

That´s it.
For sync operation I get following output:

[DEBUG] *********************** RampartSender sent out
<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:wsa="http://www.w3.org/2005/08/addressing";><soapenv:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; soapenv:mustUnderstand="1"><wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; wsu:Id="Timestamp-7216620"><wsu:Created>2008-02-18T09:39:39.271Z</wsu:Created><wsu:Expires>2008-02-18T09:44:39.271Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; wsu:Id="UsernameToken-4889213"><wsse:Username>bob</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest";>tIIo/IgUirJ8zFf4YNYCkJBol0U=</wsse:Password><wsse:Nonce>bEx7btoHpLD+4ly6LPk+/g==</wsse:Nonce><wsu:Created>2008-02-18T09:39:39.261Z</wsu:Created></wsse:UsernameToken></wsse:Security><wsa:To>http://localhost:8280/soap/ESBQueueServiceProxy</wsa:To><wsa:MessageID>urn:uuid:188A1A629C7395DA9A1203327579045</wsa:MessageID><wsa:Action>urn:queueOperation1</wsa:Action></soapenv:Header><soapenv:Body><ns1:fromClientRequest xmlns:ns1="http://de/ibm/com/xsd/queue";><ns1:reqEl> World, hello to you!</ns1:reqEl></ns1:fromClientRequest></soapenv:Body></soapenv:Envelope> [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579066] Checking post-conditions for phase "Security"
[DEBUG] contentType from the OMOutputFormat =text/xml
[DEBUG] contentType returned =text/xml; charset=UTF-8
[DEBUG] start writeTo()
[DEBUG]   preserve=false
[DEBUG]   isOptimized=false
[DEBUG]   isDoingSWA=false
[DEBUG] XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter
[DEBUG] end writeTo()
[DEBUG] >> "594[\r][\n]"
[DEBUG] >> "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:wsa="http://www.w3.org/2005/08/addressing";><soapenv:Header>[\n]" [DEBUG] >> "<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; soapenv:mustUnderstand="1"><wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; wsu:Id="Timestamp-7216620"><wsu:Created>2008-02-18T09:39:39.271Z</wsu:Created><wsu:Expires>2008-02-18T09:44:39.271Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; wsu:Id="UsernameToken-4889213"><wsse:Username>bob</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest";>tIIo/IgUirJ8zFf4YNYCkJBol0U=</wsse:Password><wsse:Nonce>bEx7btoHpLD+4ly6LPk+/g==</wsse:Nonce><wsu:Created>2008-02-18T09:39:39.261Z</wsu:Created></wsse:UsernameToken></wsse:Security><wsa:To>http://localhost:8280/soap/ESBQueueServiceProxy</wsa:To><wsa:MessageID>urn:uuid:188A1A629C7395DA9A1203327579045</wsa:MessageID><wsa:Action>urn:queueOperation1</wsa:Action></soapenv:Header><soapenv:Body><ns1:fromClientRequest xmlns:ns1="http://de/ibm/com/xsd/queue";><ns1:reqEl> World, hello to you!</ns1:reqEl></ns1:fromClientRequest></soapenv:Body></soapenv:Envelope>"
[DEBUG] >> "[\r][\n]"
[DEBUG] >> "0"
[DEBUG] >> "[\r][\n]"
[DEBUG] >> "[\r][\n]"
[DEBUG] Did not find RequestResponseTransport cannot set response written

If I try to work in sync mode with a seperate Listener, I cannot get the response, too.
log from sync operation (without setting the useSeparateListener):

[DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579066] Invoking flowComplete() in Phase "Security" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579066] Invoking flowComplete() for Handler 'Apache Rampart outflow handler' in Phase 'Security' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579066] Invoking flowComplete() for Handler 'SecurityOutHandler' in Phase 'Security' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579066] Invoking flowComplete() in Phase "MessageOut" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579066] Invoking flowComplete() for Handler 'AddressingOutHandler' in Phase 'MessageOut' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579066] Invoking flowComplete() in Phase "PolicyDetermination" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579066] Invoking flowComplete() in Phase "RMPhase" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579066] Invoking flowComplete() in Phase "OperationOutPhase" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579066] Invoking flowComplete() in Phase "soapmonitorPhase" [DEBUG] createSOAPEnvelope using Builder (class org.apache.axis2.builder.SOAPBuilder) selected from type (text/xml)
[DEBUG] << "1"
[DEBUG] << "2"
[DEBUG] << "f"
[DEBUG] << "[\r]"
[DEBUG] << "[\n]"
[DEBUG] << "<?xm"
[DEBUG] char set encoding set from default =UTF-8
[DEBUG] << "l version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><ns1:fromQueueResponse xmlns:ns1="http://de/ibm/com/xsd/queue";><ns1:respEl>from ibm World, hello to you!</ns1:respEl></ns1:fromQueueResponse></soapenv:Body></soapenv:Envelope>"
[DEBUG] XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader
[DEBUG] Starting to process SOAP 1.1 message
[DEBUG] Build the OMElelment EnvelopeBy the StaxSOAPModelBuilder
[DEBUG] Build the OMElelment BodyBy the StaxSOAPModelBuilder
[DEBUG] Build the OMElelment fromQueueResponseBy the StaxSOAPModelBuilder [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking pre-condition for Phase "Transport" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking phase "Transport" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking Handler 'RequestURIBasedDispatcher' in Phase 'Transport' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking Handler 'SOAPActionBasedDispatcher' in Phase 'Transport' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking post-conditions for phase "Transport" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking pre-condition for Phase "Addressing" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking phase "Addressing" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking Handler 'AddressingFinalInHandler' in Phase 'Addressing' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking Handler 'AddressingSubmissionInHandler' in Phase 'Addressing' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking Handler 'AddressingBasedDispatcher' in Phase 'Addressing' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking Handler 'AddressingValidationHandler' in Phase 'Addressing' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking post-conditions for phase "Addressing" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking pre-condition for Phase "Security" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking phase "Security" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking Handler 'Apache Rampart inflow handler' in Phase 'Security'
[DEBUG] XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter
[DEBUG] Build the OMElelment respElBy the StaxSOAPModelBuilder
[DEBUG] *********************** RampartReceiver received
<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><ns1:fromQueueResponse xmlns:ns1="http://de/ibm/com/xsd/queue";><ns1:respEl>from ibm World, hello to you!</ns1:respEl></ns1:fromQueueResponse></soapenv:Body></soapenv:Envelope>
[DEBUG] Enter process(MessageContext msgCtx)
[DEBUG] Build the OMElelment EnvelopeBy the StaxSOAPModelBuilder
[DEBUG] Build the OMElelment BodyBy the StaxSOAPModelBuilder
[DEBUG] Build the OMElelment fromQueueResponseBy the StaxSOAPModelBuilder
[DEBUG] Build the OMElelment respElBy the StaxSOAPModelBuilder
[DEBUG] Starting to process SOAP 1.1 message
[DEBUG] Build the OMElelment EnvelopeBy the StaxSOAPModelBuilder
[DEBUG] Build the OMElelment BodyBy the StaxSOAPModelBuilder
[DEBUG] Build the OMElelment fromQueueResponseBy the StaxSOAPModelBuilder
[DEBUG] Build the OMElelment respElBy the StaxSOAPModelBuilder
[DEBUG] Return process MessageContext msgCtx)
[DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking Handler 'SecurityInHandler' in Phase 'Security'
[DEBUG] XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter
[DEBUG] *********************** WSDoAllReceiver recieved
<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><ns1:fromQueueResponse xmlns:ns1="http://de/ibm/com/xsd/queue";><ns1:respEl>from ibm World, hello to you!</ns1:respEl></ns1:fromQueueResponse></soapenv:Body></soapenv:Envelope>
[DEBUG] WSDoAllReceiver: enter invoke()
[DEBUG] WSDoAllReceiver: exit invoke()
[DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking post-conditions for phase "Security" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking pre-condition for Phase "PreDispatch" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking phase "PreDispatch" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking post-conditions for phase "PreDispatch" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking pre-condition for Phase "Dispatch" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking phase "Dispatch" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking Handler 'RequestURIBasedDispatcher' in Phase 'Dispatch' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking Handler 'SOAPActionBasedDispatcher' in Phase 'Dispatch' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking Handler 'RequestURIOperationDispatcher' in Phase 'Dispatch' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking Handler 'HTTPLocationBasedDispatcher' in Phase 'Dispatch' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking post-conditions for phase "Dispatch" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking pre-condition for Phase "RMPhase" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking phase "RMPhase" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking post-conditions for phase "RMPhase" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking pre-condition for Phase "OperationInPhase" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking phase "OperationInPhase" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking post-conditions for phase "OperationInPhase" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking pre-condition for Phase "soapmonitorPhase" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking phase "soapmonitorPhase" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Checking post-conditions for phase "soapmonitorPhase" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() in Phase "soapmonitorPhase" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() in Phase "OperationInPhase" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() in Phase "RMPhase" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() in Phase "Dispatch" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() for Handler 'HTTPLocationBasedDispatcher' in Phase 'Dispatch' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() for Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() for Handler 'RequestURIOperationDispatcher' in Phase 'Dispatch' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() for Handler 'SOAPActionBasedDispatcher' in Phase 'Dispatch' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() for Handler 'RequestURIBasedDispatcher' in Phase 'Dispatch' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() in Phase "PreDispatch" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() in Phase "Security" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() for Handler 'SecurityInHandler' in Phase 'Security' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() for Handler 'Apache Rampart inflow handler' in Phase 'Security' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() in Phase "Addressing" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() for Handler 'AddressingValidationHandler' in Phase 'Addressing' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() for Handler 'AddressingBasedDispatcher' in Phase 'Addressing' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() for Handler 'AddressingSubmissionInHandler' in Phase 'Addressing' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() for Handler 'AddressingFinalInHandler' in Phase 'Addressing' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() in Phase "Transport" [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() for Handler 'SOAPActionBasedDispatcher' in Phase 'Transport' [DEBUG] [MessageContext: logID=urn:uuid:188A1A629C7395DA9A1203327579968] Invoking flowComplete() for Handler 'RequestURIBasedDispatcher' in Phase 'Transport'
[DEBUG] << "[\r]"
[DEBUG] << "[\n]"
[DEBUG] << "0"
[DEBUG] << "[\r]"
[DEBUG] << "[\n]"
[DEBUG] << "[\r]"
[DEBUG] << "[\n]"
:::::: from ibm World, hello to you!

Environment:

java -version
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)

Windows XP SP2
WSO2 ESB 1.6

Any other idea for the reason I cannot get the response?

Thanks,
Jens



Ruwan Linton schrieb:
Hi Jens,

To my surprise, your exact code worked for me without any trouble on both sync and async (with your MyOwnCallbackHandler) cases. I had to comment two lines in the PWCBHandler since it gave me a NPE

//            if (pwcb.getPasswordType().equals("passwordText")){
//            }

Also I have commented the proxy that you have used on the HttpClient code and called the ESB instance directly. This might have some impact on this. Please try after removing the proxy and let me know what happened.

//         ProxyProperties pp = new ProxyProperties();
//         pp.setProxyName("localhost");
//         pp.setProxyPort(8001);// auf 8280 - ESB
//         pp.setProxyPort(8002);// auf 8180 - Tomcat
//         options.setProperty(HTTPConstants.PROXY, pp);

Here is the async output I got from the callback

callback: from ibm World, hello to you!
[INFO] from ibm World, hello to you!

Thanks,
Ruwan

Asankha C. Perera wrote:
Hi Jens
maybe I can help you investigating the problem? I can upload my complete eclipse projects to an ftp-server if this would help.
Ruwan has fallen sick with fever.. so it may take a couple of days for you to get back a reply.. In the meantime, if you do have access to a FTP server, please upload your code and send him a pointer via a private mail



_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user



_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to