You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by larry ruiz <lr...@gmail.com> on 2008/04/23 21:10:18 UTC

cxfbc provider not handling soap headers correctly

hi,
I'm using smx3.2.1 and I'm trying to configure a provider to a webservice
that uses soap headers, but JbiOutWsdl1Interceptor is throwing a
NullPointerException when it tries to append the headers,

I have attached a patch that add the scenario to CxfBcProviderTest testcase 

What would be the workaround, I'm figuring out how the internals of the
provider works, how it transform the jbi:message to a soap, but if someone
could give quick explanation I would appreciate it

regards,
Larry
http://www.nabble.com/file/p16834771/cxfbc_provider_soapheader_testcase.patch
cxfbc_provider_soapheader_testcase.patch 
-- 
View this message in context: http://www.nabble.com/cxfbc-provider-not-handling-soap-headers-correctly-tp16834771p16834771.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: cxfbc provider not handling soap headers correctly

Posted by Freeman Fang <fr...@gmail.com>.
Hi Larry,

This should be a bug, would you please fill a jira and append your 
testcase there?
Btw, the transform between jbi message and soap message is based on cxf 
service model, which build from the wsdl. So basically we need get 
soapheader info from the servicemodel and then figure out which part in 
the jbi message should be map to the soapheader.

Regards
Freeman

larry ruiz wrote:
> hi,
> I'm using smx3.2.1 and I'm trying to configure a provider to a webservice
> that uses soap headers, but JbiOutWsdl1Interceptor is throwing a
> NullPointerException when it tries to append the headers,
>
> I have attached a patch that add the scenario to CxfBcProviderTest testcase 
>
> What would be the workaround, I'm figuring out how the internals of the
> provider works, how it transform the jbi:message to a soap, but if someone
> could give quick explanation I would appreciate it
>
> regards,
> Larry
> http://www.nabble.com/file/p16834771/cxfbc_provider_soapheader_testcase.patch
> cxfbc_provider_soapheader_testcase.patch 
>