Hi Chathura,

In order to identify the issue, need to see the response coming to ESB.

To do that enable the wire logs and share.

On Mon, Mar 9, 2015 at 2:09 PM, Chathura Priyankara <chathu...@wso2.com>
wrote:

> Hi,
>
> I'm getting following error in client side when after receiving the
> response from the service through ESB.
>
>      [java] javax.xml.stream.XMLStreamException: ParseError at
> [row,col]:[1,1]
>      [java] Message: Premature end of file.
>
> Is this error comes because response message is empty ?
> How can I fix this issue ?
>
> The ESB log :
>
> [2015-03-09 14:01:17,002] DEBUG - SynapseCallbackReceiver Synapse received
> an asynchronous response message
> [2015-03-09 14:01:17,002] DEBUG - SynapseCallbackReceiver Received To: null
> [2015-03-09 14:01:17,002] DEBUG - SynapseCallbackReceiver SOAPAction:
> [2015-03-09 14:01:17,002] DEBUG - SynapseCallbackReceiver WSA-Action:
> [2015-03-09 14:01:17,002] DEBUG - SynapseCallbackReceiver Body :
> <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Body></soapenv:Body></soapenv:Envelope>
> [2015-03-09 14:01:17,003] DEBUG - Axis2SynapseEnvironment Injecting
> MessageContext
> [2015-03-09 14:01:17,003] DEBUG - Axis2SynapseEnvironment Using Main
> Sequence for injected message
> [2015-03-09 14:01:17,003] DEBUG - SequenceMediator Start : Sequence <main>
> [2015-03-09 14:01:17,003] DEBUG - SequenceMediator Setting the onError
> handler : errorHandler for the sequence : main
> [2015-03-09 14:01:17,003] DEBUG - SequenceMediator Sequence
> <SequenceMediator> :: mediate()
> [2015-03-09 14:01:17,003] DEBUG - SequenceMediator Mediation started from
> mediator position : 0
> [2015-03-09 14:01:17,003] DEBUG - InMediator Start : In mediator
> [2015-03-09 14:01:17,003] DEBUG - InMediator Current message is a response
> - skipping child mediators
> [2015-03-09 14:01:17,003] DEBUG - InMediator End : In mediator
> [2015-03-09 14:01:17,003] DEBUG - OutMediator Start : Out mediator
> [2015-03-09 14:01:17,003] DEBUG - OutMediator Current message is outgoing
> - executing child mediators
> [2015-03-09 14:01:17,004] DEBUG - OutMediator Sequence <OutMediator> ::
> mediate()
> [2015-03-09 14:01:17,004] DEBUG - OutMediator Mediation started from
> mediator position : 0
> [2015-03-09 14:01:17,004] DEBUG - SendMediator Start : Send mediator
> [2015-03-09 14:01:17,004] DEBUG - SendMediator Sending response message
> using implicit message properties..
> Sending To: http://www.w3.org/2005/08/addressing/anonymous
> SOAPAction:
> [2015-03-09 14:01:17,004] DEBUG - SendMediator End : Send mediator
> [2015-03-09 14:01:17,004] DEBUG - OutMediator End : Out mediator
> [2015-03-09 14:01:17,005] DEBUG - SequenceMediator End : Sequence <main>
>
>
> Thanks!
> --
> Chathura Priyankara
> Software Engineer | WSO2 Inc.
> Mobile : +94718795340
> Blog : www.codeoncloud.blogspot.com
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>

Save a tree -Conserve nature & Save the world for your future. Print this
email only if it is absolutely necessary.
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to