[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-java-dev
Subject:    Re: [Dev] Unable to cache the response
From:       Keerthika Mahendralingam <keerthika () wso2 ! com>
Date:       2018-01-29 14:25:19
Message-ID: CAHPRj=_V4DyV_UpXKZQb3+v=tm=hkm8r4t=eFGqFCOBXmZWACw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks Riyafa, it is working fine with the curl command.



Thanks,
Keerthika.

On Mon, Jan 29, 2018 at 6:32 PM, Riyafa Abdul Hameed <riyafa@wso2.com>
wrote:

> Hi Keerthika,
>
> Are you using Postman to make the calls? If so we have noticed in a
> previous instance that it does not get cached because Postman seemed to
> insert unnecessary headers? Can you try using curl requests? Or RESTer is a
> handy plugin for firefox.
> Or you can set headersToExcludeInHash to the value * and try:
> <headersToExcludeInHash>*</headersToExcludeInHash>
>
> Hope it helps.
>
> Regards,
> Riyafa
>
> On Mon, Jan 29, 2018 at 2:31 PM, Keerthika Mahendralingam <
> keerthika@wso2.com> wrote:
>
>> Hi All,
>>
>> I am using the cache mediator in the proxy. But the response is not
>> getting cached. I have tested this with EI 6.1.1-update17 and EI
>> 6.1.1-update18. For both, the response is fetched from the backend service
>> not from the cache. What could be the reason?
>>
>> I am using the following configuration:
>> <?xml version="1.0" encoding="UTF-8"?>
>> <proxy xmlns="http://ws.apache.org/ns/synapse"
>>        name="connectMockito"
>>        startOnLoad="true"
>>        statistics="disable"
>>        trace="disable"
>>        transports="http,https">
>>    <target>
>>       <inSequence>
>>          <cache collector="false" maxMessageSize="1024" timeout="300">
>>             <onCacheHit>
>>                <respond/>
>>             </onCacheHit>
>>             <protocol type="HTTP">
>>                <methods>GET</methods>
>>                <headersToExcludeInHash/>
>>                <responseCodes>(1|2)[0-9][0-9]</responseCodes>
>>                <hashGenerator>org.wso2.carbo
>> n.mediator.cache.digest.HttpRequestHashGenerator</hashGenerator>
>>             </protocol>
>>             <implementation maxSize="100"/>
>>          </cache>
>>          <send>
>>             <endpoint>
>>                <address uri="http://demo2236300.mockable.io/testService
>> "/>
>>             </endpoint>
>>          </send>
>>       </inSequence>
>>       <outSequence>
>>          <log level="full"/>
>>          <cache collector="true"/>
>>          <send/>
>>       </outSequence>
>>    </target>
>>    <description/>
>> </proxy>
>>
>> * Log for the second call:*
>>
>> [2018-01-29 14:28:39,010] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 >> "GET /services/connectMockito HTTP/1.1[\r][\n]"
>>
>> [2018-01-29 14:28:39,011] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 >> "Host: keerthikas-macbook-pro.local:8280[\r][\n]"
>>
>> [2018-01-29 14:28:39,011] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 >> "Connection: keep-alive[\r][\n]"
>>
>> [2018-01-29 14:28:39,011] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 >> "Cache-Control: no-cache[\r][\n]"
>>
>> [2018-01-29 14:28:39,011] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 >> "Content-Type: application/json[\r][\n]"
>>
>> [2018-01-29 14:28:39,011] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 >> "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X
>> 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132
>> Safari/537.36[\r][\n]"
>>
>> [2018-01-29 14:28:39,011] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 >> "Postman-Token: 48f7595e-3e2c-cee7-9652-a82c27
>> 2b67e2[\r][\n]"
>>
>> [2018-01-29 14:28:39,012] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 >> "Accept: */*[\r][\n]"
>>
>> [2018-01-29 14:28:39,012] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 >> "Accept-Encoding: gzip, deflate[\r][\n]"
>>
>> [2018-01-29 14:28:39,012] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 >> "Accept-Language: en-US,en;q=0.9[\r][\n]"
>>
>> [2018-01-29 14:28:39,012] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 >> "[\r][\n]"
>>
>> [2018-01-29 14:28:39,014] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 << "GET /testService HTTP/1.1[\r][\n]"
>>
>> [2018-01-29 14:28:39,014] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 << "Accept: */*[\r][\n]"
>>
>> [2018-01-29 14:28:39,014] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 << "Cache-Control: no-cache[\r][\n]"
>>
>> [2018-01-29 14:28:39,014] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 << "Postman-Token: 48f7595e-3e2c-cee7-9652-a82c27
>> 2b67e2[\r][\n]"
>>
>> [2018-01-29 14:28:39,014] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 << "Accept-Encoding: gzip, deflate[\r][\n]"
>>
>> [2018-01-29 14:28:39,015] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 << "Accept-Language: en-US,en;q=0.9[\r][\n]"
>>
>> [2018-01-29 14:28:39,015] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 << "Content-Type: application/json[\r][\n]"
>>
>> [2018-01-29 14:28:39,015] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 << "Host: demo2236300.mockable.io[\r][\n]"
>>
>> [2018-01-29 14:28:39,015] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 << "Connection: Keep-Alive[\r][\n]"
>>
>> [2018-01-29 14:28:39,015] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 << "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]"
>>
>> [2018-01-29 14:28:39,015] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 << "[\r][\n]"
>>
>> [2018-01-29 14:28:39,582] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 >> "HTTP/1.1 200 OK[\r][\n]"
>>
>> [2018-01-29 14:28:39,582] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 >> "cache-control: no-cache[\r][\n]"
>>
>> [2018-01-29 14:28:39,582] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 >> "access-control-allow-origin: *[\r][\n]"
>>
>> [2018-01-29 14:28:39,582] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 >> "Content-Type: application/json; charset=UTF-8[\r][\n]"
>>
>> [2018-01-29 14:28:39,582] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 >> "X-Cloud-Trace-Context: 4e909d0476e6249930df95cc5b5489
>> 9a[\r][\n]"
>>
>> [2018-01-29 14:28:39,582] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 >> "Date: Mon, 29 Jan 2018 08:58:39 GMT[\r][\n]"
>>
>> [2018-01-29 14:28:39,583] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 >> "Server: Google Frontend[\r][\n]"
>>
>> [2018-01-29 14:28:39,583] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 >> "Content-Length: 27[\r][\n]"
>>
>> [2018-01-29 14:28:39,583] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 >> "[\r][\n]"
>>
>> [2018-01-29 14:28:39,583] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 >> "{[\n]"
>>
>> [2018-01-29 14:28:39,583] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 >> " "msg": "Hello Worldaa"[\n]"
>>
>> [2018-01-29 14:28:39,583] [EI-Core] DEBUG - wire HTTP-Sender I/O
>> dispatcher-4 >> "}"
>>
>> [2018-01-29 14:28:39,587] [EI-Core]  INFO - LogMediator To:
>> http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction:
>> , MessageID: urn:uuid:b6b34d4e-e9c0-4228-afb6-54fc74fc2e03, Direction:
>> response, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><s
>> oapenv:Body><jsonObject><msg>Hello Worldaa</msg></jsonObject></so
>> apenv:Body></soapenv:Envelope>
>>
>> [2018-01-29 14:28:39,590] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "HTTP/1.1 200 OK[\r][\n]"
>>
>> [2018-01-29 14:28:39,590] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "access-control-allow-origin: *[\r][\n]"
>>
>> [2018-01-29 14:28:39,590] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "X-Cloud-Trace-Context: 4e909d0476e6249930df95cc5b5489
>> 9a[\r][\n]"
>>
>> [2018-01-29 14:28:39,590] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "messageType: application/json[\r][\n]"
>>
>> [2018-01-29 14:28:39,590] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "cacheKey: -83912422-79-114-92-101-8043-2
>> 6-695-56120-127[\r][\n]"
>>
>> [2018-01-29 14:28:39,590] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "cache-control: no-cache[\r][\n]"
>>
>> [2018-01-29 14:28:39,590] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "Content-Type: application/json; charset=UTF-8[\r][\n]"
>>
>> [2018-01-29 14:28:39,591] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "Date: Mon, 29 Jan 2018 08:58:39 GMT[\r][\n]"
>>
>> [2018-01-29 14:28:39,591] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "Transfer-Encoding: chunked[\r][\n]"
>>
>> [2018-01-29 14:28:39,591] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "Connection: keep-alive[\r][\n]"
>>
>> [2018-01-29 14:28:39,591] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "[\r][\n]"
>>
>> [2018-01-29 14:28:39,591] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "1b[\r][\n]"
>>
>> [2018-01-29 14:28:39,591] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "{[\n]"
>>
>> [2018-01-29 14:28:39,591] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << " "msg": "Hello Worldaa"[\n]"
>>
>> [2018-01-29 14:28:39,591] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "}[\r][\n]"
>>
>> [2018-01-29 14:28:39,591] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "0[\r][\n]"
>>
>> [2018-01-29 14:28:39,591] [EI-Core] DEBUG - wire HTTP-Listener I/O
>> dispatcher-6 << "[\r][\n]"
>>
>> Thanks,
>> Keerthika.
>> --
>> <dev-request@wso2.org>
>> Keerthika Mahendralingam
>> Software Engineer
>> Mobile :+94 (0) 776 121144 <+94%2077%20612%201144>
>> keerthika@wso2.com
>> WSO2, Inc.
>> lean . enterprise . middleware
>>
>
>
>
> --
> Riyafa Abdul Hameed
> Software Engineer, WSO2 Lanka (Pvt) Ltd <http://wso2.com/>
>
> Email: riyafa@wso2.com <riyafa.12@cse.mrt.ac.lk>
> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
> <http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
> <http://twitter.com/Riyafa1>
>



-- 
<dev-request@wso2.org>
Keerthika Mahendralingam
Software Engineer
Mobile :+94 (0) 776 121144
keerthika@wso2.com
WSO2, Inc.
lean . enterprise . middleware

[Attachment #5 (text/html)]

<div dir="ltr">Thanks Riyafa, it is working fine with the curl \
command.<div><br></div><div><br></div><div><br></div><div>Thanks,</div><div>Keerthika.</div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 29, 2018 at 6:32 PM, \
Riyafa Abdul Hameed <span dir="ltr">&lt;<a href="mailto:riyafa@wso2.com" \
target="_blank">riyafa@wso2.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi \
Keerthika,<br><br></div>Are you using Postman to make the calls? If so we have \
noticed in a previous instance that it does not get cached because Postman seemed to \
insert unnecessary headers? Can you try using curl requests? Or RESTer is a handy \
plugin for firefox.<br></div>Or you can set <span \
style="text-align:start;text-indent:0px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">headersToExcludeInHash</span> \
to the value * and try:<br>&lt;<span \
style="text-align:start;text-indent:0px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">headersToExcludeInHash</span>&gt;*<span \
style="text-align:start;text-indent:0px;text-decoration-style:initial;text-decoration- \
color:initial;float:none;display:inline">&lt;/<wbr>headersToExcludeInHash</span>&gt;<br><br></div>Hope \
it helps.<br><br></div>Regards, <br></div>Riyafa<br></div><div \
class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, Jan 29, \
2018 at 2:31 PM, Keerthika Mahendralingam <span dir="ltr">&lt;<a \
href="mailto:keerthika@wso2.com" target="_blank">keerthika@wso2.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I am using the \
cache mediator in the proxy. But the response is not getting cached. I have tested \
this with EI 6.1.1-update17 and  EI 6.1.1-update18. For both, the response is fetched \
from the backend service not from the cache. What could be the reason?<div><span \
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:nor \
mal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spac \
ing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;wor \
d-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span \
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:nor \
mal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spac \
ing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;wor \
d-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I \
am using the following configuration:</span></div><div><span \
style="text-align:start;text-indent:0px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><div \
style="background-color:rgb(255,255,255)">&lt;?xml version=&quot;1.0&quot; \
encoding=&quot;UTF-8&quot;?&gt;</div><div \
style="background-color:rgb(255,255,255)">&lt;proxy xmlns=&quot;<a \
href="http://ws.apache.org/ns/synapse" \
target="_blank">http://ws.apache.org/ns<wbr>/synapse</a>&quot;</div><div \
style="background-color:rgb(255,255,255)">           \
name=&quot;connectMockito&quot;</div><div style="background-color:rgb(255,255,255)">  \
startOnLoad=&quot;true&quot;</div><div style="background-color:rgb(255,255,255)">     \
statistics=&quot;disable&quot;</div><div style="background-color:rgb(255,255,255)">   \
trace=&quot;disable&quot;</div><div style="background-color:rgb(255,255,255)">        \
transports=&quot;http,https&quot;&gt;</div><div \
style="background-color:rgb(255,255,255)">     &lt;target&gt;</div><div \
style="background-color:rgb(255,255,255)">         &lt;inSequence&gt;</div><div \
style="background-color:rgb(255,255,255)">              &lt;cache \
collector=&quot;false&quot; maxMessageSize=&quot;1024&quot; \
timeout=&quot;300&quot;&gt;</div><div style="background-color:rgb(255,255,255)">      \
&lt;onCacheHit&gt;</div><div style="background-color:rgb(255,255,255)">               \
&lt;respond/&gt;</div><div style="background-color:rgb(255,255,255)">                 \
&lt;/onCacheHit&gt;</div><div style="background-color:rgb(255,255,255)">              \
&lt;protocol type=&quot;HTTP&quot;&gt;</div><div \
style="background-color:rgb(255,255,255)">                       \
&lt;methods&gt;GET&lt;/methods&gt;</div><div \
style="background-color:rgb(255,255,255)">                       \
&lt;headersToExcludeInHash/&gt;</div><div style="background-color:rgb(255,255,255)">  \
&lt;responseCodes&gt;(1|2)[0-9][0-9<wbr>]&lt;/responseCodes&gt;</div><div \
style="background-color:rgb(255,255,255)">                       \
&lt;hashGenerator&gt;org.wso2.carbo<wbr>n.mediator.cache.digest.HttpRe<wbr>questHashGenerator&lt;/hashGenera<wbr>tor&gt;</div><div \
style="background-color:rgb(255,255,255)">                  \
&lt;/protocol&gt;</div><div style="background-color:rgb(255,255,255)">                \
&lt;implementation maxSize=&quot;100&quot;/&gt;</div><div \
style="background-color:rgb(255,255,255)">              &lt;/cache&gt;</div><div \
style="background-color:rgb(255,255,255)">              &lt;send&gt;</div><div \
style="background-color:rgb(255,255,255)">                  \
&lt;endpoint&gt;</div><div style="background-color:rgb(255,255,255)">                 \
&lt;address uri=&quot;<a href="http://demo2236300.mockable.io/testService" \
target="_blank">http://demo2236300.mockab<wbr>le.io/testService</a>&quot;/&gt;</div><div \
style="background-color:rgb(255,255,255)">                  \
&lt;/endpoint&gt;</div><div style="background-color:rgb(255,255,255)">              \
&lt;/send&gt;</div><div style="background-color:rgb(255,255,255)">         \
&lt;/inSequence&gt;</div><div style="background-color:rgb(255,255,255)">         \
&lt;outSequence&gt;</div><div style="background-color:rgb(255,255,255)">              \
&lt;log level=&quot;full&quot;/&gt;</div><div \
style="background-color:rgb(255,255,255)">              &lt;cache \
collector=&quot;true&quot;/&gt;</div><div style="background-color:rgb(255,255,255)">  \
&lt;send/&gt;</div><div style="background-color:rgb(255,255,255)">         \
&lt;/outSequence&gt;</div><div style="background-color:rgb(255,255,255)">     \
&lt;/target&gt;</div><div style="background-color:rgb(255,255,255)">     \
&lt;description/&gt;</div><div \
style="background-color:rgb(255,255,255)">&lt;/proxy&gt;</div><div><span \
style="background-color:rgb(255,255,255)">           </span></div><div><b><span \
style="background-color:rgb(255,255,255)">  </span>Log for the second \
call:</b><br><br>[2018-01-29 14:28:39,010] [EI-Core] DEBUG - wire HTTP-Listener I/O \
dispatcher-6 &gt;&gt; &quot;GET /services/connectMockito \
HTTP/1.1[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,011] [EI-Core] DEBUG - wire \
HTTP-Listener I/O dispatcher-6 &gt;&gt; &quot;Host: \
keerthikas-macbook-pro.local:8<wbr>280[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,011] \
[EI-Core] DEBUG - wire HTTP-Listener I/O dispatcher-6 &gt;&gt; &quot;Connection: \
keep-alive[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,011] [EI-Core] DEBUG - wire \
HTTP-Listener I/O dispatcher-6 &gt;&gt; &quot;Cache-Control: \
no-cache[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,011] [EI-Core] DEBUG - wire \
HTTP-Listener I/O dispatcher-6 &gt;&gt; &quot;Content-Type: \
application/json[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,011] [EI-Core] DEBUG - \
wire HTTP-Listener I/O dispatcher-6 &gt;&gt; &quot;User-Agent: Mozilla/5.0 \
(Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) \
Chrome/63.0.3239.132 Safari/537.36[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,011] \
[EI-Core] DEBUG - wire HTTP-Listener I/O dispatcher-6 &gt;&gt; &quot;Postman-Token: \
48f7595e-3e2c-cee7-9652-a82c27<wbr>2b67e2[\r][\n]&quot;<br><br>[2018-01-29 \
14:28:39,012] [EI-Core] DEBUG - wire HTTP-Listener I/O dispatcher-6 &gt;&gt; \
&quot;Accept: */*[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,012] [EI-Core] DEBUG - \
wire HTTP-Listener I/O dispatcher-6 &gt;&gt; &quot;Accept-Encoding: gzip, \
deflate[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,012] [EI-Core] DEBUG - wire \
HTTP-Listener I/O dispatcher-6 &gt;&gt; &quot;Accept-Language: \
en-US,en;q=0.9[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,012] [EI-Core] DEBUG - wire \
HTTP-Listener I/O dispatcher-6 &gt;&gt; &quot;[\r][\n]&quot;<br><br>[2018-01-29 \
14:28:39,014] [EI-Core] DEBUG - wire HTTP-Sender I/O dispatcher-4 &lt;&lt; &quot;GET \
/testService HTTP/1.1[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,014] [EI-Core] DEBUG \
- wire HTTP-Sender I/O dispatcher-4 &lt;&lt; &quot;Accept: \
*/*[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,014] [EI-Core] DEBUG - wire HTTP-Sender \
I/O dispatcher-4 &lt;&lt; &quot;Cache-Control: \
no-cache[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,014] [EI-Core] DEBUG - wire \
HTTP-Sender I/O dispatcher-4 &lt;&lt; &quot;Postman-Token: \
48f7595e-3e2c-cee7-9652-a82c27<wbr>2b67e2[\r][\n]&quot;<br><br>[2018-01-29 \
14:28:39,014] [EI-Core] DEBUG - wire HTTP-Sender I/O dispatcher-4 &lt;&lt; \
&quot;Accept-Encoding: gzip, deflate[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,015] \
[EI-Core] DEBUG - wire HTTP-Sender I/O dispatcher-4 &lt;&lt; &quot;Accept-Language: \
en-US,en;q=0.9[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,015] [EI-Core] DEBUG - wire \
HTTP-Sender I/O dispatcher-4 &lt;&lt; &quot;Content-Type: \
application/json[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,015] [EI-Core] DEBUG - \
wire HTTP-Sender I/O dispatcher-4 &lt;&lt; <span \
style="background-color:rgb(246,178,107)">&quot;Host: <a \
href="http://demo2236300.mockable.io" \
target="_blank">demo2236300.mockable.io</a></span>[\r][\n<wbr>]&quot;<br><br>[2018-01-29 \
14:28:39,015] [EI-Core] DEBUG - wire HTTP-Sender I/O dispatcher-4 &lt;&lt; \
&quot;Connection: Keep-Alive[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,015] [EI-Core] \
DEBUG - wire HTTP-Sender I/O dispatcher-4 &lt;&lt; &quot;User-Agent: \
Synapse-PT-HttpComponents-NIO[<wbr>\r][\n]&quot;<br><br>[2018-01-29 14:28:39,015] \
[EI-Core] DEBUG - wire HTTP-Sender I/O dispatcher-4 &lt;&lt; \
&quot;[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,582] [EI-Core] DEBUG - wire \
HTTP-Sender I/O dispatcher-4 &gt;&gt; &quot;HTTP/1.1 200 \
OK[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,582] [EI-Core] DEBUG - wire HTTP-Sender \
I/O dispatcher-4 &gt;&gt; &quot;cache-control: \
no-cache[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,582] [EI-Core] DEBUG - wire \
HTTP-Sender I/O dispatcher-4 &gt;&gt; &quot;access-control-allow-origin: \
*[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,582] [EI-Core] DEBUG - wire HTTP-Sender \
I/O dispatcher-4 &gt;&gt; &quot;Content-Type: application/json; \
charset=UTF-8[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,582] [EI-Core] DEBUG - wire \
HTTP-Sender I/O dispatcher-4 &gt;&gt; &quot;X-Cloud-Trace-Context: \
4e909d0476e6249930df95cc5b5489<wbr>9a[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,582] \
[EI-Core] DEBUG - wire HTTP-Sender I/O dispatcher-4 &gt;&gt; &quot;Date: Mon, 29 Jan \
2018 08:58:39 GMT[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,583] [EI-Core] DEBUG - \
wire HTTP-Sender I/O dispatcher-4 &gt;&gt; &quot;Server: Google \
Frontend[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,583] [EI-Core] DEBUG - wire \
HTTP-Sender I/O dispatcher-4 &gt;&gt; &quot;Content-Length: \
27[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,583] [EI-Core] DEBUG - wire HTTP-Sender \
I/O dispatcher-4 &gt;&gt; &quot;[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,583] \
[EI-Core] DEBUG - wire HTTP-Sender I/O dispatcher-4 &gt;&gt; \
&quot;{[\n]&quot;<br><br>[2018-01-29 14:28:39,583] [EI-Core] DEBUG - wire HTTP-Sender \
I/O dispatcher-4 &gt;&gt; &quot; &quot;msg&quot;: &quot;Hello \
Worldaa&quot;[\n]&quot;<br><br>[2018-01-29 14:28:39,583] [EI-Core] DEBUG - wire \
HTTP-Sender I/O dispatcher-4 &gt;&gt; &quot;}&quot;<br><br>[2018-01-29 14:28:39,587] \
[EI-Core]   INFO - LogMediator To: <a \
href="http://www.w3.org/2005/08/addressing/anonymous" \
target="_blank">http://www.w3.org/2005/08/addr<wbr>essing/anonymous</a>, WSAction: , \
SOAPAction: , MessageID: urn:uuid:b6b34d4e-e9c0-4228-af<wbr>b6-54fc74fc2e03, \
Direction: response, Envelope: &lt;?xml version=&#39;1.0&#39; \
encoding=&#39;utf-8&#39;?&gt;&lt;soapenv:Env<wbr>elope xmlns:soapenv=&quot;<a \
href="http://schemas.xmlsoap.org/soap/envelope/" \
target="_blank">http://schemas.<wbr>xmlsoap.org/soap/envelope/</a>&quot;&gt;&lt;s<wbr>oapenv:Body&gt;&lt;jsonObject&gt;&lt;msg&gt;H<wbr>ello \
Worldaa&lt;/msg&gt;&lt;/jsonObject&gt;&lt;/so<wbr>apenv:Body&gt;&lt;/soapenv:Envelope&gt;<br><br>[2018-01-29 \
14:28:39,590] [EI-Core] DEBUG - wire HTTP-Listener I/O dispatcher-6 &lt;&lt; \
&quot;HTTP/1.1 200 OK[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,590] [EI-Core] DEBUG \
- wire HTTP-Listener I/O dispatcher-6 &lt;&lt; &quot;access-control-allow-origin: \
*[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,590] [EI-Core] DEBUG - wire HTTP-Listener \
I/O dispatcher-6 &lt;&lt; &quot;X-Cloud-Trace-Context: \
4e909d0476e6249930df95cc5b5489<wbr>9a[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,590] \
[EI-Core] DEBUG - wire HTTP-Listener I/O dispatcher-6 &lt;&lt; &quot;messageType: \
application/json[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,590] [EI-Core] DEBUG - \
wire HTTP-Listener I/O dispatcher-6 &lt;&lt; &quot;cacheKey: \
-83912422-79-114-92-101-8043-2<wbr>6-695-56120-127[\r][\n]&quot;<br><br>[2018-01-29 \
14:28:39,590] [EI-Core] DEBUG - wire HTTP-Listener I/O dispatcher-6 &lt;&lt; \
&quot;cache-control: no-cache[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,590] \
[EI-Core] DEBUG - wire HTTP-Listener I/O dispatcher-6 &lt;&lt; &quot;Content-Type: \
application/json; charset=UTF-8[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,591] \
[EI-Core] DEBUG - wire HTTP-Listener I/O dispatcher-6 &lt;&lt; &quot;Date: Mon, 29 \
Jan 2018 08:58:39 GMT[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,591] [EI-Core] DEBUG \
- wire HTTP-Listener I/O dispatcher-6 &lt;&lt; &quot;Transfer-Encoding: \
chunked[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,591] [EI-Core] DEBUG - wire \
HTTP-Listener I/O dispatcher-6 &lt;&lt; &quot;Connection: \
keep-alive[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,591] [EI-Core] DEBUG - wire \
HTTP-Listener I/O dispatcher-6 &lt;&lt; &quot;[\r][\n]&quot;<br><br>[2018-01-29 \
14:28:39,591] [EI-Core] DEBUG - wire HTTP-Listener I/O dispatcher-6 &lt;&lt; \
&quot;1b[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,591] [EI-Core] DEBUG - wire \
HTTP-Listener I/O dispatcher-6 &lt;&lt; &quot;{[\n]&quot;<br><br>[2018-01-29 \
14:28:39,591] [EI-Core] DEBUG - wire HTTP-Listener I/O dispatcher-6 &lt;&lt; &quot; \
&quot;msg&quot;: &quot;Hello Worldaa&quot;[\n]&quot;<br><br>[2018-01-29 14:28:39,591] \
[EI-Core] DEBUG - wire HTTP-Listener I/O dispatcher-6 &lt;&lt; \
&quot;}[\r][\n]&quot;<br><br>[2018-01-29 14:28:39,591] [EI-Core] DEBUG - wire \
HTTP-Listener I/O dispatcher-6 &lt;&lt; &quot;0[\r][\n]&quot;<br><br>[2018-01-29 \
14:28:39,591] [EI-Core] DEBUG - wire HTTP-Listener I/O dispatcher-6 &lt;&lt; \
&quot;[\r][\n]&quot;<span style="background-color:rgb(255,255,255)">             \
</span></div><div><span \
style="background-color:rgb(255,255,255)"><br></span></div><div><span \
style="background-color:rgb(255,255,255)">Thanks,</span></div><div><span \
style="background-color:rgb(255,255,255)">Keerthika.</span></div></span></div><span \
class="m_-1701976510547138888HOEnZb"><font color="#888888">-- <br><div \
class="m_-1701976510547138888m_1390308677848716392gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><a \
</font></span></div></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font \
color="#888888">-- <br><div class="m_-1701976510547138888gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><span><div><div dir="ltr"><span \
style="font-weight:bold;font-size:16px;color:#121212;font-family:Helvetica,Arial,sans-serif">Riyafa \
Abdul Hameed</span><br> <span \
style="font-size:13px;color:#333;font-family:Helvetica,Arial,sans-serif">Software \
Engineer,</span> <a href="http://wso2.com/" target="_blank">WSO2 Lanka (Pvt) \
Ltd</a><span style="font-size:13px;color:#333;font-family:Helvetica,Arial,sans-serif"></span> \
<p style="margin-top:5px"> <span style="font:13px \
Arial;text-transform:none;color:#45668e">Email: </span><a \
href="mailto:riyafa.12@cse.mrt.ac.lk" style="font:13px \
Arial;text-transform:none;color:#828282;text-decoration:none" target="_blank"> \
riyafa@wso2.com</a><br> <span style="font:13px \
Arial;text-transform:none;color:#45668e">Website: </span><a \
href="http://riyafa.wordpress.com/" style="font:13px \
Arial;text-transform:none;color:#828282;text-decoration:none" target="_blank"> \
https://riyafa.wordpress.com/ </a><br> </p> <div \
style="text-align:left;margin-top:10px"><a href="http://facebook.com/riyafa.ahf" \
target="_blank"><img style="border-radius:0;border:0;width:16px;height:16px" \
src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/facebook.png" width="16" \
height="16"></a>  <a href="http://lk.linkedin.com/in/riyafa" target="_blank"><img \
style="border-radius:0;border:0;width:16px;height:16px" \
src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/linkedin.png" width="16" \
height="16"></a>  <a href="http://twitter.com/Riyafa1" target="_blank"><img \
style="border-radius:0;border:0;width:16px;height:16px" \
src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/twitter.png" width="16" \
height="16"></a></div></div></div></span></div></div> </font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><a href="mailto:dev-request@wso2.org" \
target="_blank"></a><span><font color="#888888"><div dir="ltr"><span><font \
color="#888888">Keerthika Mahendralingam<br>Software Engineer</font></span></div><div \
dir="ltr"><span><font color="#888888">Mobile :</font></span>+94 (0) 776 \
121144<span><font color="#888888"><a value="+94770760240"><br></a><div><a \
href="mailto:keerthika@wso2.com" \
target="_blank">keerthika@wso2.com</a></div><div><div \
style="color:rgb(34,34,34)"><font color="#666666">WSO2, Inc.  </font></div><div \
style="color:rgb(34,34,34)"><font color="#666666">lean . enterprise . middleware  \
</font></div></div> </font></span></div></font></span></div></div></div></div></div></div>
 </div>



_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic