Hi There, I am using xfire 1.2.4 with java 5 and Tomcat 5. I am calling a web service which, after it completes a response, snips the connection to my client. Each call to the web service should be autonomous and I do not want to maintain a session so the snipping of the connection should be fine. Each time the connection is severed I get a "Could not unmarshall type." fault message with the underlying cause "com.ctc.wstx.exc.WstxIOException: Connection reset". I can see the entire payload being returned to me so I want to ignore the fault and continue to parse the response. Is there a way to make my xfire client ignore connection resets? Alternatively, is there a way to ignore certain faults so that they do not cause the process to fail? What I have tried: 1) I tried changing client settings to try an circumvent this as follows: client.setProperty(CommonsHttpMessageSender.DISABLE_KEEP_ALIVE, "true");
client.setProperty(CommonsHttpMessageSender.DISABLE_EXPECT_CONTINUE, "true"); But these seem to have no effect. 2) I have a fault handler in which I can successfully capture and isolate the fault but I can not make the application 'ignore' it as in "please ignore this fault and continue processing as if it never occurred". Is there a setting to do this? I tried the following but it did not work: context.getExchange().setHasFault(false); Is there a way to ignore this and continue? 3) I was looking at writing a custom invoker but I think this is overkill for what I want. Any suggestions? Thanks a lot Dan This email and any files transmitted with it are intended only for the person(s) or entity to which they are addressed and may contain confidential information. Any review, retransmission, dissemination, copying or other use of, this information by persons or entities other than the intended recipient is prohibited. If you have received this in error and/or, are not the named addressee, please contact the sender and delete the material from all computers. Optimad does not accept any liability for the content of the email. Although emails are routinely screened for viruses Optimad does not accept responsibility for any damage caused. Replies to this email and all emails sent to Optimad Media Systems may be intercepted by Message Labs and screened for viruses. Optimad excludes all liability (to the extent permitted by law) to the senders of emails to Optimad for the access to emails granted to Message Labs.
