This seems to be a bug in the mule bundled version of CXF which is quite old.   
I would recommend taking it up with Mule to get a newer version of CXF.

Dan


On Sun September 13 2009 2:48:47 am manoj.java wrote:
> I am using cxf at server side to expose the web service.
> I have used the org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor for
> authentication.
> 
> Below is the my request XML which is generated from the Axis2 client. While
> invoking the web service i am getting the following error.
> [9/13/09 11:24:28:296 IST] 00000024 WSS4JInInterc W
>                                 
>  org.apache.ws.security.WSSecurityException: An error was discovered
>  processing the <wsse:Security> header
>       at
> org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInIn
> terceptor.java:200) at
> org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInIn
> terceptor.java:77) at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChai
> n.java:236) at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationO
> bserver.java:89) at
> org.mule.transport.cxf.CxfServiceComponent.sendToDestination(CxfServiceComp
> onent.java:284) at
> org.mule.transport.cxf.CxfServiceComponent.onCall(CxfServiceComponent.java:
> 112) at
> org.mule.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPoi
> ntResolver.java:52) at
> org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPo
> intResolverSet.java:50) at
> org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.j
> ava:205) at
> org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJa
> vaComponent.java:83) at
> org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.jav
> a:74) at
> org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:
> 133) at
>  org.mule.component.AbstractComponent.invoke(AbstractComponent.java:161) at
> org.mule.service.AbstractService.invokeComponent(AbstractService.java:929)
>       at org.mule.model.seda.SedaService.doSend(SedaService.java:257)
>       at org.mule.service.AbstractService.sendEvent(AbstractService.java:500)
>       at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354)
>       at
> org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInbound
> RouterCollection.java:228) at
> org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboun
> dRouterCollection.java:188) at
> org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.o
> nMessage(AbstractMessageReceiver.java:364) at
> org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageRece
> iver.java:252) at
> org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageRece
> iver.java:193) at
> org.mule.transport.http.HttpMessageReceiver$HttpWorker.doRequest(HttpMessag
> eReceiver.java:273) at
> org.mule.transport.http.HttpMessageReceiver$HttpWorker.processRequest(HttpM
> essageReceiver.java:227) at
> org.mule.transport.http.HttpMessageReceiver$HttpWorker.run(HttpMessageRecei
> ver.java:190) at org.mule.work.WorkerContext.run(WorkerContext.java:310)
>       at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker
> (ThreadPoolExecutor.java:1061) at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.ru
> n(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:797)
> 
> 
> 
> Here is the Request payload.
> 
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Header
> xmlns:wsse="http://schemas.xmlsoap.org/soap/envelope/";><wsse:Security><wsse
> :UsernameToken><wsse:Username>username</wsse:Username></wsse:UsernameToken>
> </wsse:Security></soapenv:Header><soapenv:Body><ns3:AssessmentRequestMessag
> e
>  xmlns:ns3="http://v1.service.assessment.services.optumhealth.com";><Provide
> rRequestor><FirstName>HRATestClientProviderFN</FirstName><LastName>HRATestC
> lientProviderLN</LastName><ProviderIdentification><IdentificationValue>9876
> 5</IdentificationValue><IdentificationType>ProviderID</IdentificationType><
> /ProviderIdentification><ProviderIdentification><IdentificationValue>88765<
> /IdentificationValue><IdentificationType>FedTaxID</IdentificationType></Pro
> viderIdentification><ProviderIdentification><IdentificationValue>78765</Ide
> ntificationValue><IdentificationType>NationalProviderID</IdentificationType
> ></ProviderIdentification></ProviderRequestor><ManagedPersonCriteria><First
> Name>Manoj</FirstName><LastName>Singh</LastName><DateOfBirth>1951-01-15+05:
> 30</DateOfBirth><ManagedPersonIdentification><IdentificationValue>111042913
> 973</IdentificationValue><IdentificationType>MemberID</IdentificationType><
> /ManagedPersonIdentification><StateCode>TN</StateCode></ManagedPersonCriter
> ia></ns3:AssessmentRequestMessage></soapenv:Body></soapenv:Envelope>
> 

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to