thank you! I want to know is ws-security,ws-rm make effective while using Dispatch API?I have to make a framework to call webservice,users can config the call around wsdl description.While using static client model,It's possable to build a jar from wsdl,but I think mapping from wsdl to class name and reflect are challenge.So,i want to use Dispatch API,but I am not sure how cxf could support me,cxf is really complex.
dkulp wrote: > > > I'm pretty sure you would need to do: > > dispatch.getRequestContext().put( > BindingProvider.SOAPACTION_URI_PROPERTY, > "theAction") > > Dan > > > > On Mon January 11 2010 10:09:36 am chengy wrote: >> Cxf set soapAction in SoapPreProtocolOutInterceptor: >> BindingOperationInfo boi = >> message.getExchange().get(BindingOperationInfo.class); >> >> but the default PhaseInterceptorChain doesn't put BindingOperationInfo >> anyway. >> If this header is not set,it throws exception when invoke some .NET >> service. >> >> Any suggestions? >> > > -- > Daniel Kulp > dk...@apache.org > http://www.dankulp.com/blog > > -- View this message in context: http://old.nabble.com/How-to-set-soapAction-header-in-Dispatch-API--tp27111961p27121123.html Sent from the cxf-user mailing list archive at Nabble.com.