Hi Jesus, all, I initially thought that an empty body might not be allowed, but BP 1.1 seems to allow an empty body. http://www.ws-i.org/profiles/basicprofile-1.1-2004-08-24.html#Bindings_and_Parts
"Use of wsdl:message elements with zero parts is permitted in Document styles to permit operations that can send or receive envelopes with empty soap:Bodys." So, it looks like it definitely needs to be handled (not just avoiding NPE but also invoking the correct operation). Could you open a jira ticket for this? And in your particular case, do you have an annotated provider impl with multiple operations and you want the matching operation to be chosen based on the action header in the message? (this use case seems to correspond to what Dan mentioned). thanks. regards, aki 2013/2/4 Jesus Castillo <[email protected]>: > Just to clarify, this is a pure SOAP1.2 messaging system. So no WSDL is > needed or used. That section is for WSDL mainly. > > Jesus. > > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/NPE-on-MessageModeInInterceptor-when-sending-empty-SOAPBody-tp5722638p5722727.html > Sent from the cxf-user mailing list archive at Nabble.com.
