Hi Folks,

Getting a TCPMon trace in a dynamic load balance scenario is tricky since
the destination hosts and ports are discovered and determined dynamically by
Synapse. However using the ability of IntelliJ-IDEA debugger to manually set
object properties in the debug mode I managed to trace the messages going
from Synapse to Axis2 node instances. The trace is attached herewith.  (If
there is a better way of doing this please do let me know. I can try it
out.)

It seems the addressing headers are missing in the request.

Thoughts?

Thanks

Best Regards,
Hiranya

On Thu, Nov 13, 2008 at 6:18 PM, Asankha C. Perera <[EMAIL PROTECTED]>wrote:

> Hi Hiranya
>
>> Any idea what could be causing this behavior?
>>
> That TCPMon output will help pinpoint the problem much faster :-) !
>
> asankha
>
> --
> Asankha C. Perera
> http://adroitlogic.org
>
> http://esbmagic.blogspot.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
==============
Listen Port: 8005
Target Host: 127.0.0.1
Target Port: 9001
==== Request ====
POST http://10.8.108.114:8005/services/LBService1 HTTP/1.1
SOAPAction: urn:sampleOperation
Content-Type: text/xml; charset=UTF-8
Transfer-Encoding: chunked
Host: 127.0.0.1:8005
Connection: Keep-Alive
User-Agent: Synapse-HttpComponents-NIO

be
<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
      <soapenv:Body>
         <Value>Sample string</Value>
      </soapenv:Body>
   </soapenv:Envelope>0
==== Response ====
HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Date: Fri, 14 Nov 2008 04:03:31 GMT
Server: Synapse-HttpComponents-NIO
Transfer-Encoding: chunked
Connection: Keep-Alive

cc
<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
      <soapenv:Body>
         <Value>Response from server: Node1</Value>
      </soapenv:Body>
   </soapenv:Envelope>0

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

Reply via email to