Hi all,

I've got some problems with the sendRobust() call (Axis2, snapshot June
08). The scenario on the server side can be seen as quite similar to the
one described in the 'Unexpected EOF in prolog' (13/05/2006) thread,
while on the client side I have the well known EchoNonBlockingDualClient.


The result has to be sent with
options.setUseSeparateListener(true), otherwise the exception below is
thrown.


ERROR ncl.qosp.controller.RoutingService:sendResultToClient - Unable to
send the response to the client: org.apache.axis2.AxisFault:
com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0]; nested exception is:
        org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException:
Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0]
        at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:126)



The problem, however, is that if setUseSeparateListener is false, the
exception is thrown on the server side but the message is correctly
delivered to the client, while if setUseSeparateListener is true, the
sendRobust() seems to freeze and the message is not sent.
The fireAndForget() call + Thread.sleep() works properly.

Regards,
Michele

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to