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