Thilina, that one is the 'final' client, which uses sendReceiveNonBlocking. There's a broker in the middle useing sendRobust.
Michele On Fri, 2007-02-23 at 15:34 +0530, Thilina Gunarathne wrote: > >and this error on the client side (even if the response is received): > > >[java] INFO MyServiceAsynchClient$1:onComplete <soapenv:Body > >xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><MyService:echo > >xmlns:tns="http://myservice" > >xmlns:MyService="http://ncl.ac.uk/qosp"><MyService:result>OK</MyService:result></MyService:echo></soapenv:Body> > > [java] ERROR MyServiceAsynchClient$1:onError Transport error: 400 > >Error: Bad Request; nested exception is: > > Above made me think you are expecting a response.. > > ~Thilina > > On 2/22/07, Michele Mazzucco <[EMAIL PROTECTED]> wrote: > > Thilina, > > > > On Thu, 2007-02-22 at 22:57 +0600, Thilina Gunarathne wrote: > > > Michele, > > > sendRobust is there to be used when sending one way messages... You > > > cannot expect to get an response for this... > > > > I'm not waiting for any response. Why are you saying that?, if it's just > > for single or double channel, it was just to try to find out what's > > going wrong. > > > > > > Regards, > > Michele > > > > > > > > Only a fault can be handled as the response for a sendRobust.... > > > Difference between fire&forget and sendRobust is that you can get a > > > fault if something goes wrong in the server only in the latter one.. > > > > > > thanks, > > > Thilina > > > > > > On 2/22/07, Michele Mazzucco <[EMAIL PROTECTED]> wrote: > > > > Glen, > > > > > > > > thanks for you advice. However those look like different issues. > > > > The com.ctc.wstx.exc.WstxEOFException happens only when a single channel > > > > is used, but from previous discussions [1] it looks like it's better not > > > > to use a dual channel with sendRobust, while if a dual channel is used a > > > > BindException happens. > > > > > > > > > > > > Regards, > > > > Michele > > > > > > > > > > > > > > > > [1] https://issues.apache.org/jira/browse/AXIS2-849 > > > > > > > > On Thu, 2007-02-22 at 07:06 -0500, Glen Mazza wrote: > > > > > Try googling on <<com.ctc.wstx.exc.WstxEOFException>> *or* > > > > > <<"Unexpected EOF in prolog" AXIS2>>. I see 99 and 65 hits, > > > > > respectively. > > > > > > > > > > Glen > > > > > > > > > > Michele Mazzucco wrote: > > > > > > Hi all, > > > > > > > > > > > > I can't solve a problem with the sendRobust() call. If I use a > > > > > > single > > > > > > channel (i.e. is options.setUseSeparateListener(true); is not set) > > > > > > I get > > > > > > this error on the server side > > > > > > > > > > > > Unable to forward the request org.apache.axis2.AxisFault: > > > > > > com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
