[ http://issues.apache.org/jira/browse/AXIS2-955?page=comments#action_12425037 ] Ali Sadik Kumlali commented on AXIS2-955: -----------------------------------------
Sorry for my other comment that says "this is rather a feature". I forgot the last conclusion about this problem :( As you figured out, if the service throws an exception while processing, you'll see sendRobust () & RawXMLINOutMessageReceiver combination works perfectly. But it is not true if the service ends up successfully and does not throw an exception. Since I thought that was a very strange thing, I sent a mail to the axis-user: http://www.mail-archive.com/[email protected]/msg13665.html An excerpt from the message flow: [Me] - sendRobust(): Can handle HTTP 500. But it expects a not-null input stream from the server. [Deepal] - sendRobuts problem need to be fixed. > ServiceClient.sendRobust() throws AxisFault: Incoming message input stream is > null > ---------------------------------------------------------------------------------- > > Key: AXIS2-955 > URL: http://issues.apache.org/jira/browse/AXIS2-955 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: client-api > Affects Versions: 1.0 > Environment: Weblogic 8.1.2, Solaris 8 (dont ask!) > Reporter: Jeff Peterson > Priority: Minor > > The setup: > Client -------> Service > The service is using the RawXMLINOnlyMessageReceiver and the interface looks > like the following (pseudo-code): > interface Service { > void doWork(OMElement elem); > } > When the client invokes the target service using ServiceClient.sendRobust(), > the following exception is generated on the client-side: > org.apache.axis2.AxisFault: Incoming message input stream is null > at > org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:64) > at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:349) > at > org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:279) > at > org.apache.axis2.client.ServiceClient.sendRobust(ServiceClient.java:359) > at > org.apache.axis2.client.ServiceClient.sendRobust(ServiceClient.java:339) > ... > This does not limit functionality, the full message is received and processed > by the service. It does, however, force the client to handle (ignore) the > exception. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
