Hi Senuwan,

Can you check whether you can send the email with the attachment without
the body? In order to isolate the issue, if there is any. Also please refer
the following article by Chanaka for more details.

[1]
http://soatutorials.blogspot.com/2013/05/send-email-with-attachment-in-wso2-esb_18.html

Cheers,

*Nadeeshaan Gunasinghe*
Senior Software Engineer, WSO2 Inc. http://wso2.com
+94770596754 | [email protected] | Skype: nadeeshaan.gunasinghe <#>
<http://www.facebook.com/nadeeshaan.gunasinghe>
<http://lk.linkedin.com/in/nadeeshaan> <http://twitter.com/Nadeeshaan>
<http://nadeeshaan.blogspot.com/>
Get your own email signature
<https://wisestamp.com/email-install?utm_source=promotion&utm_medium=signature&utm_campaign=get_your_own>

On Mon, Jan 8, 2018 at 6:25 PM, Senuwan Withana <[email protected]> wrote:

> Hi Team,
>
> According to my Scenario I need to send an email and an attachment to the
> two users. One user works inside the company and other user changes
> dynamically.
> Email send sequence  is functioning correctly. But I have two questions to
> solve,
>
> [1]. When I execute the sequence it will send email to only to the
> dynamically changing user. But added log is printed correctly.
> [2]. If I use payload to define email body, I could not able to send the
> attachment.  According to the my scenario I want to send a message on email
> body and attached the attachment.
>
> *Sequence *
>
> <sequence name="FinalEmail" xmlns="http://ws.apache.org/ns/synapse";>
>     <property name="ContentType" scope="axis2" value="text/html"/>
>     <property name="Subject" scope="transport" value="Product Catelogue"/>
>     <property name="OUT_ONLY" value="true"/>
>     <property name="transport.mail.Format" scope="axis2"
> value="Attachment"/>
>     <property name="AttachmentFile" scope="axis2" value="Catalogue.txt"/>
>     <property name="FORCE_SC_ACCEPTED" scope="axis2" value="true"/>
>     <property name="messageType" scope="axis2" type="STRING"
> value="text/html"/>
>     <property expression="//m0:CUSTOMER_EMAIL" name="Email"  xmlns:m0="
> http://ws.wso2.org/dataservice"; xmlns:ns="http://org.apache.synapse/xsd"/>
>     <property expression="//m0:RECORD_ID" name="Record_ID"   xmlns:m0="
> http://ws.wso2.org/dataservice"; xmlns:ns="http://org.apache.synapse/xsd"/>
>     <header expression="fn:concat('mailto:',$ctx:Email)" name="To"
> xmlns:ns="http://org.apache.synapse/xsd"; xmlns:ns2="http://org.apache.
> synapse/xsd"/>
>     <call/>
>     <property name="transport.mail.Format" scope="axis2" value="text"/>
>     <payloadFactory media-type="xml">
>         <format>
>             <ns:text xmlns:ns="http://ws.apache.org/commons/ns/payload";>Hello
> Manager,Please find the catalogue details.</ns:text>
>         </format>
>     </payloadFactory>
>     <log level="custom">
>         <property name="TestLog01*****************" value="11"/>
>     </log>
>     <property name="messageType" scope="axis2" type="STRING"
> value="text/html"/>
>     <property name="transport.mail.Format" scope="axis2"
> value="Attachment"/>
>     <property name="AttachmentFile" scope="axis2" value="Catalogue.txt"/>
>     <log level="custom">
>         <property name="TestLog02*****************" value="12"/>
>     </log>
>     <call>
>         <endpoint>
>             <address uri="mailto:[email protected]"/>
>         </endpoint>
>     </call>
> </sequence>
>
> *Output*
>
> [2018-01-08 18:13:17,388] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 >> "PUT /OrderStatus/approve?RECORD_ID=162 HTTP/1.1[\r][\n]"
> [2018-01-08 18:13:17,389] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 >> "cache-control: no-cache[\r][\n]"
> [2018-01-08 18:13:17,389] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 >> "Postman-Token: e99442c8-38fe-4ee7-aa3c-
> 3b9a4184b702[\r][\n]"
> [2018-01-08 18:13:17,389] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 >> "User-Agent: PostmanRuntime/6.4.1[\r][\n]"
> [2018-01-08 18:13:17,389] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 >> "Accept: */*[\r][\n]"
> [2018-01-08 18:13:17,389] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 >> "Host: localhost:8280[\r][\n]"
> [2018-01-08 18:13:17,389] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 >> "accept-encoding: gzip, deflate[\r][\n]"
> [2018-01-08 18:13:17,389] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 >> "content-length: 0[\r][\n]"
> [2018-01-08 18:13:17,389] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 >> "Connection: keep-alive[\r][\n]"
> [2018-01-08 18:13:17,389] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 >> "[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "POST /services/CARAPP HTTP/1.1[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "POST /services/CARAPP HTTP/1.1[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "SOAPAction: urn:UpdateDetails[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "SOAPAction: urn:UpdateDetails[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "Accept: */*[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "Accept: */*[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "Postman-Token: e99442c8-38fe-4ee7-aa3c-
> 3b9a4184b702[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "Postman-Token: e99442c8-38fe-4ee7-aa3c-
> 3b9a4184b702[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "cache-control: no-cache[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "cache-control: no-cache[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "accept-encoding: gzip, deflate[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "accept-encoding: gzip, deflate[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "Content-Type: text/xml[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "Content-Type: text/xml[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "Transfer-Encoding: chunked[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "Transfer-Encoding: chunked[\r][\n]"
> [2018-01-08 18:13:17,392] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "Host: localhost:8280[\r][\n]"
> [2018-01-08 18:13:17,393] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "Host: localhost:8280[\r][\n]"
> [2018-01-08 18:13:17,393] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "Connection: Keep-Alive[\r][\n]"
> [2018-01-08 18:13:17,393] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "Connection: Keep-Alive[\r][\n]"
> [2018-01-08 18:13:17,393] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]"
> [2018-01-08 18:13:17,393] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]"
> [2018-01-08 18:13:17,393] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "[\r][\n]"
> [2018-01-08 18:13:17,393] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "[\r][\n]"
> [2018-01-08 18:13:17,393] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "1c7[\r][\n]"
> [2018-01-08 18:13:17,393] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "1c7[\r][\n]"
> [2018-01-08 18:13:17,393] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:dat="
> http://ws.wso2.org/dataservice";><soapenv:Header><dummyvalue xmlns="
> http://ws.apache.org/ns/synapse";>12</dummyvalue></
> soapenv:Header><soapenv:Body><p:UpdateDetails xmlns:p="http://ws.wso2.org/
> dataservice"><xs:RECORD_ID xmlns:xs="http://ws.wso2.org/dataservice
> ">162</xs:RECORD_ID></p:UpdateDetails></soapenv:Body></soapenv:
> Envelope>[\r][\n]"
> [2018-01-08 18:13:17,393] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:dat="
> http://ws.wso2.org/dataservice";><soapenv:Header><dummyvalue xmlns="
> http://ws.apache.org/ns/synapse";>12</dummyvalue></
> soapenv:Header><soapenv:Body><p:UpdateDetails xmlns:p="http://ws.wso2.org/
> dataservice"><xs:RECORD_ID xmlns:xs="http://ws.wso2.org/dataservice
> ">162</xs:RECORD_ID></p:UpdateDetails></soapenv:Body></soapenv:
> Envelope>[\r][\n]"
> [2018-01-08 18:13:17,393] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "0[\r][\n]"
> [2018-01-08 18:13:17,393] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "0[\r][\n]"
> [2018-01-08 18:13:17,394] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "[\r][\n]"
> [2018-01-08 18:13:17,395] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "[\r][\n]"
> [2018-01-08 18:13:17,414] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "HTTP/1.1 202 Accepted[\r][\n]"
> [2018-01-08 18:13:17,414] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "HTTP/1.1 202 Accepted[\r][\n]"
> [2018-01-08 18:13:17,414] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "Content-Type: text/xml; charset=UTF-8[\r][\n]"
> [2018-01-08 18:13:17,414] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "Date: Mon, 08 Jan 2018 12:43:17 GMT[\r][\n]"
> [2018-01-08 18:13:17,414] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
> [2018-01-08 18:13:17,414] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "Transfer-Encoding: chunked[\r][\n]"
> [2018-01-08 18:13:17,414] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "Date: Mon, 08 Jan 2018 12:43:17 GMT[\r][\n]"
> [2018-01-08 18:13:17,414] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "Connection: Keep-Alive[\r][\n]"
> [2018-01-08 18:13:17,415] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "[\r][\n]"
> [2018-01-08 18:13:17,415] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "0[\r][\n]"
> [2018-01-08 18:13:17,415] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "Transfer-Encoding: chunked[\r][\n]"
> [2018-01-08 18:13:17,415] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "[\r][\n]"
> [2018-01-08 18:13:17,415] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "Connection: Keep-Alive[\r][\n]"
> [2018-01-08 18:13:17,415] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "[\r][\n]"
> [2018-01-08 18:13:17,415] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "0[\r][\n]"
> [2018-01-08 18:13:17,415] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "[\r][\n]"
> [2018-01-08 18:13:17,418] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "GET /view?RECORD_ID=162 HTTP/1.1[\r][\n]"
> [2018-01-08 18:13:17,419] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "Content-Type: text/xml; charset=UTF-8[\r][\n]"
> [2018-01-08 18:13:17,419] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "Host: localhost:8280[\r][\n]"
> [2018-01-08 18:13:17,419] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "Connection: Keep-Alive[\r][\n]"
> [2018-01-08 18:13:17,419] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]"
> [2018-01-08 18:13:17,419] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 << "[\r][\n]"
> [2018-01-08 18:13:17,419] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "GET /view?RECORD_ID=162 HTTP/1.1[\r][\n]"
> [2018-01-08 18:13:17,419] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
> [2018-01-08 18:13:17,419] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "Host: localhost:8280[\r][\n]"
> [2018-01-08 18:13:17,419] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "Connection: Keep-Alive[\r][\n]"
> [2018-01-08 18:13:17,419] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]"
> [2018-01-08 18:13:17,419] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 >> "[\r][\n]"
> [2018-01-08 18:13:17,423] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 << "POST /services/CARAPP HTTP/1.1[\r][\n]"
> [2018-01-08 18:13:17,423] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 << "SOAPAction: urn:GETDetails[\r][\n]"
> [2018-01-08 18:13:17,423] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 >> "POST /services/CARAPP HTTP/1.1[\r][\n]"
> [2018-01-08 18:13:17,423] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 << "Content-Type: text/xml[\r][\n]"
> [2018-01-08 18:13:17,423] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 >> "SOAPAction: urn:GETDetails[\r][\n]"
> [2018-01-08 18:13:17,423] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 << "Transfer-Encoding: chunked[\r][\n]"
> [2018-01-08 18:13:17,423] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 >> "Content-Type: text/xml[\r][\n]"
> [2018-01-08 18:13:17,423] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 << "Host: localhost:8280[\r][\n]"
> [2018-01-08 18:13:17,423] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 >> "Transfer-Encoding: chunked[\r][\n]"
> [2018-01-08 18:13:17,423] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 << "Connection: Keep-Alive[\r][\n]"
> [2018-01-08 18:13:17,423] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 >> "Host: localhost:8280[\r][\n]"
> [2018-01-08 18:13:17,423] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 << "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]"
> [2018-01-08 18:13:17,423] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 >> "Connection: Keep-Alive[\r][\n]"
> [2018-01-08 18:13:17,423] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 << "[\r][\n]"
> [2018-01-08 18:13:17,424] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 >> "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]"
> [2018-01-08 18:13:17,424] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 >> "[\r][\n]"
> [2018-01-08 18:13:17,424] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 >> "1dc[\r][\n]"
> [2018-01-08 18:13:17,428] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 >> "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:dat="
> http://ws.wso2.org/dataservice";><soapenv:Header><dummyvalue xmlns="
> http://ws.apache.org/ns/synapse";>12</dummyvalue></
> soapenv:Header><soapenv:Body><p:GETDetails xmlns:p="http://ws.wso2.org/
> dataservice"><!--Exactly 1 occurrence--><xs:RECORD_ID xmlns:xs="
> http://ws.wso2.org/dataservice";>162</xs:RECORD_
> ID></p:GETDetails></soapenv:Body></soapenv:Envelope>[\r][\n]"
> [2018-01-08 18:13:17,428] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 >> "0[\r][\n]"
> [2018-01-08 18:13:17,428] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 >> "[\r][\n]"
> [2018-01-08 18:13:17,424] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 << "1dc[\r][\n]"
> [2018-01-08 18:13:17,430] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:dat="
> http://ws.wso2.org/dataservice";><soapenv:Header><dummyvalue xmlns="
> http://ws.apache.org/ns/synapse";>12</dummyvalue></
> soapenv:Header><soapenv:Body><p:GETDetails xmlns:p="http://ws.wso2.org/
> dataservice"><!--Exactly 1 occurrence--><xs:RECORD_ID xmlns:xs="
> http://ws.wso2.org/dataservice";>162</xs:RECORD_
> ID></p:GETDetails></soapenv:Body></soapenv:Envelope>[\r][\n]"
> [2018-01-08 18:13:17,430] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 << "0[\r][\n]"
> [2018-01-08 18:13:17,430] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 << "[\r][\n]"
> [2018-01-08 18:13:17,443] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 << "HTTP/1.1 200 OK[\r][\n]"
> [2018-01-08 18:13:17,443] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 >> "HTTP/1.1 200 OK[\r][\n]"
> [2018-01-08 18:13:17,445] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 << "Content-Type: text/xml; charset=UTF-8[\r][\n]"
> [2018-01-08 18:13:17,445] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
> [2018-01-08 18:13:17,445] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 >> "Date: Mon, 08 Jan 2018 12:43:17 GMT[\r][\n]"
> [2018-01-08 18:13:17,445] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 << "Date: Mon, 08 Jan 2018 12:43:17 GMT[\r][\n]"
> [2018-01-08 18:13:17,445] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 >> "Transfer-Encoding: chunked[\r][\n]"
> [2018-01-08 18:13:17,445] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 << "Transfer-Encoding: chunked[\r][\n]"
> [2018-01-08 18:13:17,445] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 >> "Connection: Keep-Alive[\r][\n]"
> [2018-01-08 18:13:17,445] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 >> "[\r][\n]"
> [2018-01-08 18:13:17,445] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 >> "2a7[\r][\n]"
> [2018-01-08 18:13:17,445] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 << "Connection: Keep-Alive[\r][\n]"
> [2018-01-08 18:13:17,445] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 >> "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><Entries
> xmlns="http://ws.wso2.org/dataservice";><Entry><RECORD_
> ID>162</RECORD_ID><CUSTOMER_EMAIL>[email protected]</
> CUSTOMER_EMAIL><CAR_MODEL>Alto</CAR_MODEL><BODY_COLOR>
> blue</BODY_COLOR><ENGINE_CAPACITY>800</ENGINE_CAPACITY>
> <INTERIOR_MATERIAL>Leather</INTERIOR_MATERIAL><SUN_ROOF>
> No</SUN_ROOF><HEATED_LEATHER_SEATS>Yes</HEATED_LEATHER_
> SEATS><NAVIGATION>Yes</NAVIGATION><AUTOMATIC_TAILGATE>No</AUTOMATIC_
> TAILGATE><STATUS>Approved</STATUS><INTERIOR_COLOR>Pink</
> INTERIOR_COLOR><TIRE_SIZE>5T</TIRE_SIZE></Entry></Entries></
> soapenv:Body></soapenv:Envelope>[\r][\n]"
> [2018-01-08 18:13:17,445] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 << "[\r][\n]"
> [2018-01-08 18:13:17,445] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 >> "0[\r][\n]"
> [2018-01-08 18:13:17,446] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-3 >> "[\r][\n]"
> [2018-01-08 18:13:17,445] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 << "2a7[\r][\n]"
> [2018-01-08 18:13:17,447] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><Entries
> xmlns="http://ws.wso2.org/dataservice";><Entry><RECORD_
> ID>162</RECORD_ID><CUSTOMER_EMAIL>[email protected]</
> CUSTOMER_EMAIL><CAR_MODEL>Alto</CAR_MODEL><BODY_COLOR>
> blue</BODY_COLOR><ENGINE_CAPACITY>800</ENGINE_CAPACITY>
> <INTERIOR_MATERIAL>Leather</INTERIOR_MATERIAL><SUN_ROOF>
> No</SUN_ROOF><HEATED_LEATHER_SEATS>Yes</HEATED_LEATHER_
> SEATS><NAVIGATION>Yes</NAVIGATION><AUTOMATIC_TAILGATE>No</AUTOMATIC_
> TAILGATE><STATUS>Approved</STATUS><INTERIOR_COLOR>Pink</
> INTERIOR_COLOR><TIRE_SIZE>5T</TIRE_SIZE></Entry></Entries></
> soapenv:Body></soapenv:Envelope>[\r][\n]"
> [2018-01-08 18:13:17,447] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 << "0[\r][\n]"
> [2018-01-08 18:13:17,447] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-1 << "[\r][\n]"
> [2018-01-08 18:13:17,448] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "HTTP/1.1 200 OK[\r][\n]"
> [2018-01-08 18:13:17,448] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "HTTP/1.1 200 OK[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "Content-Type: text/xml; charset=UTF-8[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "Date: Mon, 08 Jan 2018 12:43:17 GMT[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "Date: Mon, 08 Jan 2018 12:43:17 GMT[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "Transfer-Encoding: chunked[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "Transfer-Encoding: chunked[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "Connection: Keep-Alive[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "Connection: Keep-Alive[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "2a7[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "2a7[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><Entries
> xmlns="http://ws.wso2.org/dataservice";><Entry><RECORD_
> ID>162</RECORD_ID><CUSTOMER_EMAIL>[email protected]</
> CUSTOMER_EMAIL><CAR_MODEL>Alto</CAR_MODEL><BODY_COLOR>
> blue</BODY_COLOR><ENGINE_CAPACITY>800</ENGINE_CAPACITY>
> <INTERIOR_MATERIAL>Leather</INTERIOR_MATERIAL><SUN_ROOF>
> No</SUN_ROOF><HEATED_LEATHER_SEATS>Yes</HEATED_LEATHER_
> SEATS><NAVIGATION>Yes</NAVIGATION><AUTOMATIC_TAILGATE>No</AUTOMATIC_
> TAILGATE><STATUS>Approved</STATUS><INTERIOR_COLOR>Pink</
> INTERIOR_COLOR><TIRE_SIZE>5T</TIRE_SIZE></Entry></Entries></
> soapenv:Body></soapenv:Envelope>[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><Entries
> xmlns="http://ws.wso2.org/dataservice";><Entry><RECORD_
> ID>162</RECORD_ID><CUSTOMER_EMAIL>[email protected]</
> CUSTOMER_EMAIL><CAR_MODEL>Alto</CAR_MODEL><BODY_COLOR>
> blue</BODY_COLOR><ENGINE_CAPACITY>800</ENGINE_CAPACITY>
> <INTERIOR_MATERIAL>Leather</INTERIOR_MATERIAL><SUN_ROOF>
> No</SUN_ROOF><HEATED_LEATHER_SEATS>Yes</HEATED_LEATHER_
> SEATS><NAVIGATION>Yes</NAVIGATION><AUTOMATIC_TAILGATE>No</AUTOMATIC_
> TAILGATE><STATUS>Approved</STATUS><INTERIOR_COLOR>Pink</
> INTERIOR_COLOR><TIRE_SIZE>5T</TIRE_SIZE></Entry></Entries></
> soapenv:Body></soapenv:Envelope>[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "0[\r][\n]"
> [2018-01-08 18:13:17,449] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "0[\r][\n]"
> [2018-01-08 18:13:17,451] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-4 << "[\r][\n]"
> [2018-01-08 18:13:17,451] [EI-Core] DEBUG - wire HTTP-Sender I/O
> dispatcher-2 >> "[\r][\n]"
> [2018-01-08 18:13:17,456] [EI-Core]  INFO - LogMediator
> Email_ID***************** = [email protected]
> [2018-01-08 18:13:17,456] [EI-Core]  INFO - LogMediator ID************ =
> 162
> [2018-01-08 18:13:19,930] [EI-Core]  INFO - LogMediator To:
> http://localhost:8280/services/CARAPP, WSAction: , SOAPAction: ,
> MessageID: urn:uuid:97D93C935F63092C7B137578033092885155037474,
> Direction: request, Envelope: <?xml version='1.0'
> encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.
> xmlsoap.org/soap/envelope/"><soapenv:Body><Entries xmlns="
> http://ws.wso2.org/dataservice";><Entry><RECORD_
> ID>162</RECORD_ID><CUSTOMER_EMAIL>[email protected]</
> CUSTOMER_EMAIL><CAR_MODEL>Alto</CAR_MODEL><BODY_COLOR>
> blue</BODY_COLOR><ENGINE_CAPACITY>800</ENGINE_CAPACITY>
> <INTERIOR_MATERIAL>Leather</INTERIOR_MATERIAL><SUN_ROOF>
> No</SUN_ROOF><HEATED_LEATHER_SEATS>Yes</HEATED_LEATHER_
> SEATS><NAVIGATION>Yes</NAVIGATION><AUTOMATIC_TAILGATE>No</AUTOMATIC_
> TAILGATE><STATUS>Approved</STATUS><INTERIOR_COLOR>Pink</
> INTERIOR_COLOR><TIRE_SIZE>5T</TIRE_SIZE></Entry></Entries></
> soapenv:Body></soapenv:Envelope>
> [2018-01-08 18:13:22,447] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 << "HTTP/1.1 200 OK[\r][\n]"
> [2018-01-08 18:13:22,448] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 << "Subject: Approved the Order[\r][\n]"
> [2018-01-08 18:13:22,448] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 << "Content-Type: text/html; charset=UTF-8[\r][\n]"
> [2018-01-08 18:13:22,448] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 << "Date: Mon, 08 Jan 2018 12:43:22 GMT[\r][\n]"
> [2018-01-08 18:13:22,448] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 << "Transfer-Encoding: chunked[\r][\n]"
> [2018-01-08 18:13:22,448] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 << "Connection: keep-alive[\r][\n]"
> [2018-01-08 18:13:22,448] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 << "[\r][\n]"
> [2018-01-08 18:13:22,448] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 << "87[\r][\n]"
> [2018-01-08 18:13:22,448] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 << "<ns:text xmlns:ns="http://ws.apache.
> org/commons/ns/payload">Hello,Thank You for using our service.Your Order
> 162 is approved.</ns:text>[\r][\n]"
> [2018-01-08 18:13:22,448] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 << "0[\r][\n]"
> [2018-01-08 18:13:22,448] [EI-Core] DEBUG - wire HTTP-Listener I/O
> dispatcher-3 << "[\r][\n]"
> [2018-01-08 18:13:30,553] [EI-Core]  INFO - LogMediator
> TestLog01***************** = 11
> [2018-01-08 18:13:30,558] [EI-Core]  INFO - LogMediator
> TestLog02***************** = 12
>
>
>
>
> Waiting for appropriate suggestions
>
> Thanks,
> *Senuwan Withana*
> Software Engineer - Support Team | WSO2
>
> Email : [email protected]
> Mobile: 94773212853
> Web: http://www.wso2.com
>
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to