[jboss-user] [Remoting] - Re: NPE from one way message dispatch

adinn do-not-reply at jboss.com
Wed Oct 29 07:36:19 EDT 2008


Hi Alessio,

I think Ron's new API with the flag is the best way to resolve this.

You need to supply flag unmarshallNullStream as true in all cases, This will mean you won't get bitten if Ron changes the default in a later release. And you should also always supply a SOAP handler for both request-reply and one way messages. In the one way case it does not seem to matter whether the return value is null or an empty SOAP message (i.e. one with a null Envelope). If you use the same unmarshaller as for request-reply you will get an empty message so the current handler should be ok.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185348#4185348

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185348



More information about the jboss-user mailing list