Note that,
Whiling i am debugging Trassportlistener, I noticed the message context has
the payload[1] that i am sending util it invoke the AxisEngine.receive

   if (replyToMessageID != null && callBackMap != null &&
                callBackMap.get(replyToMessageID) != null) {

                SynchronousCallback synchronousCallback =
                    (SynchronousCallback) callBackMap.get(replyToMessageID);
                synchronousCallback.setInMessageContext(msgCtx);
                callBackMap.remove(replyToMessageID);
            } else {
                *AxisEngine.receive(msgCtx);*
            }



[1]
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><text
xmlns="http://ws.apache.org/commons/ns/payload
">TestingEAMIL</text></soapenv:Body>


On Wed, May 14, 2014 at 8:07 PM, Vanjikumaran Sivajothy <[email protected]>wrote:

> Hi Dev,
>
> I tried to perform sample given in [1] and successfully send the email
> with attachment and received back the response. This use-case perfectly
> working when my attachment is a Soap message and the suffix of the
> attachment is "xml".
>
> But when i tried simple text based format, it is gave an error in the ESB
> console as in [2] and got the email with the message [3]
>
>
> PS
> With this email i have attached my sample soap payload and the proxy.
>
> [1]h
> ttps://docs.wso2.org/display/ESB481/Sample+256%3A+Proxy+Services+with+the+MailTo+Transport<https://docs.wso2.org/display/ESB481/Sample+256%3A+Proxy+Services+with+the+MailTo+Transport>
>
> [2]
> [2014-05-14 19:48:21,908] ERROR - AxisEngine The endpoint reference (EPR)
> for the Operation not found is  and the WSA Action = null. If this EPR was
> previously reachable, please contact the server administrator.
> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation
> not found is  and the WSA Action = null. If this EPR was previously
> reachable, please contact the server administrator.
>  at
> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:102)
> at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
>  at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
>  at
> org.apache.axis2.transport.base.AbstractTransportListener.handleIncomingMessage(AbstractTransportListener.java:328)
> at
> org.apache.axis2.transport.mail.MailTransportListener.processMail(MailTransportListener.java:515)
>  at
> org.apache.axis2.transport.mail.MailTransportListener.access$000(MailTransportListener.java:61)
> at
> org.apache.axis2.transport.mail.MailTransportListener$MailProcessor.run(MailTransportListener.java:331)
>  at
> org.apache.axis2.transport.mail.MailTransportListener.processMail(MailTransportListener.java:295)
> at
> org.apache.axis2.transport.mail.MailTransportListener.checkMail(MailTransportListener.java:199)
>  at
> org.apache.axis2.transport.mail.MailTransportListener.poll(MailTransportListener.java:80)
> at
> org.apache.axis2.transport.mail.MailTransportListener.poll(MailTransportListener.java:61)
>  at
> org.apache.axis2.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:67)
> at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>  at java.lang.Thread.run(Thread.java:662)
>
>
> [3]<?xml version="1.0" encoding="US-ASCII"?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><soapenv:Fault
> xmlns:axis2ns4="http://schemas.xmlsoap.org/soap/envelope/";><faultcode>axis2ns4:Client</faultcode><faultstring>The
> endpoint reference (EPR) for the Operation not found is  and the WSA Action
> = null. If this EPR was previously reachable, please contact the server
> administrator.</faultstring><detail></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
>
> --
> Sivajothy Vanjikumaran
> *Senior Software Engineer*
> *Integration Technologies Team*
> *WSO2 Inc. http://wso2.com <http://wso2.com/>*
> *Mobile:(+94)777219209*
> *Mobile USA:**(+1)812-223-4546*
> [image: Facebook] <https://www.facebook.com/vanjikumaran> [image: 
> Twitter]<https://twitter.com/vanjikumaran> [image:
> LinkedIn] <http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293> 
> [image:
> Blogger] <http://vanjikumaran.blogspot.com/> [image: 
> SlideShare]<http://www.slideshare.net/vanjikumaran>
>
> This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may
> have received this communication in error, please reply to the
> sender indicating that fact and delete the copy you received and in
> addition, you should not print, copy, re-transmit, disseminate, or
> otherwise use the information contained in this communication.
> Internet communications cannot be guaranteed to be timely, secure, error
> or virus-free. The sender does not accept liability for any errors
> or omissions
>



-- 
Sivajothy Vanjikumaran
*Senior Software Engineer*
*Integration Technologies Team*
*WSO2 Inc. http://wso2.com <http://wso2.com/>*
*Mobile:(+94)777219209*
*Mobile USA:**(+1)812-223-4546*
[image: Facebook] <https://www.facebook.com/vanjikumaran> [image:
Twitter]<https://twitter.com/vanjikumaran> [image:
LinkedIn] <http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293>
[image:
Blogger] <http://vanjikumaran.blogspot.com/> [image:
SlideShare]<http://www.slideshare.net/vanjikumaran>

This communication may contain privileged or other confidential information
and is intended exclusively for the addressee/s. If you are not the
intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print,
copy, re-transmit, disseminate, or otherwise use the information contained
in this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to