Hi Daniel,

i am giving the two cases  emdedded cxf and cxf as osgi bundle

In first case the cxf is embedded inside our osgi bundle and when we access
wsdl the following is shown in log, where it is clearly visible that
PolicyBasedWSS4JInInterceptor is added in pre-protocol phase. where as in
secind case where cxf being used as osgi bundle it is not added to
pre-protocol phase

Case-1(cxf-embedded):
-----------------------
2012-02-14 12:47:58,453 DEBUG  [qtp25969872-94 - /node/wsman?wsdl] util.log
-68-org.ops4j.pax.web.pax-web-jetty-bundle-1.1.0 - REQUEST /node/wsman on
org.eclipse.jetty.server.nio.SelectChannelConnector$SelectChannelHttpConnection@[email protected]:7000<->127.0.0.1:2393.
 
2012-02-14 12:47:58,453 DEBUG  [qtp25969872-94 - /node/wsman?wsdl] util.log
-68-org.ops4j.pax.web.pax-web-jetty-bundle-1.1.0 - scope null||/node/wsman @
o.e.j.s.h.ContextHandler{/node,null}. 
2012-02-14 12:47:58,453 DEBUG  [qtp25969872-94 - /node/wsman?wsdl] util.log
-68-org.ops4j.pax.web.pax-web-jetty-bundle-1.1.0 - context=/node||/wsman @
o.e.j.s.h.ContextHandler{/node,null}. 
2012-02-14 12:47:58,484 DEBUG  [qtp25969872-94 - /node/wsman?wsdl]
http_jetty.JettyHTTPDestination --- - Service http request on thread:
Thread[qtp25969872-94 - /node/wsman?wsdl,5,main]. 
2012-02-14 12:47:58,484 DEBUG  [qtp25969872-94 - /node/wsman?wsdl]
http.Headers --- - Request Headers: {Accept=[image/gif, image/jpeg,
image/pjpeg, image/pjpeg, application/x-ms-application,
application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
application/x-shockwave-flash, */*], accept-encoding=[gzip, deflate],
Accept-Language=[en-us], connection=[Keep-Alive], Content-Type=[null],
Host=[localhost:7000], User-Agent=[Mozilla/4.0 (compatible; MSIE 8.0;
Windows NT 5.1; Trident/4.0; GIS IE 6.0 Build 20080321; .NET CLR 1.0.3705;
.NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729; InfoPath.2; MS-RTC LM 8; .NET4.0C; .NET4.0E)]}. 
2012-02-14 12:47:58,484 DEBUG  [qtp25969872-94 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.transport.https.CertConstraintsInterceptor@1d68d7a to phase
pre-stream. 
2012-02-14 12:47:58,484 DEBUG  [qtp25969872-94 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Chain
org.apache.cxf.phase.PhaseInterceptorChain@e76512 was created. Current flow:
  receive [PolicyInInterceptor, LoggingInInterceptor,
AttachmentInInterceptor]
  pre-stream [CertConstraintsInterceptor]
  post-stream [StaxInInterceptor]
  read [SAAJPreInInterceptor, WSDLGetInterceptor, ReadHeadersInterceptor,
SoapActionInInterceptor, StartBodyInterceptor]
  pre-protocol [MAPCodec, SAAJInInterceptor, MustUnderstandInterceptor]
  post-protocol [CheckFaultInterceptor]
  unmarshal [URIMappingInterceptor, DocLiteralInInterceptor,
SoapHeaderInterceptor]
  pre-logical [MAPAggregator, OneWayProcessorInterceptor]
  post-logical [MessageModeInInterceptor]
  pre-invoke [SwAInInterceptor]
  invoke [ServiceInvokerInterceptor]
  post-invoke [OutgoingChainInterceptor]
. 
2012-02-14 12:47:58,484 DEBUG  [qtp25969872-94 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Invoking handleMessage on interceptor
org.apache.cxf.ws.policy.PolicyInInterceptor@a75d3f. 
2012-02-14 12:47:58,484 DEBUG  [qtp25969872-94 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JInInterceptor@19a1072 to
phase pre-protocol. 
2012-02-14 12:47:58,484 DEBUG  [qtp25969872-94 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Chain
org.apache.cxf.phase.PhaseInterceptorChain@e76512 was modified. Current
flow:
  receive [PolicyInInterceptor, LoggingInInterceptor,
AttachmentInInterceptor]
  pre-stream [CertConstraintsInterceptor]
  post-stream [StaxInInterceptor]
  read [SAAJPreInInterceptor, WSDLGetInterceptor, ReadHeadersInterceptor,
SoapActionInInterceptor, StartBodyInterceptor]
  pre-protocol [MAPCodec, SAAJInInterceptor, MustUnderstandInterceptor,
PolicyBasedWSS4JInInterceptor]
  post-protocol [CheckFaultInterceptor]
  unmarshal [URIMappingInterceptor, DocLiteralInInterceptor,
SoapHeaderInterceptor]
  pre-logical [MAPAggregator, OneWayProcessorInterceptor]
  post-logical [MessageModeInInterceptor]
  pre-invoke [SwAInInterceptor]
  invoke [ServiceInvokerInterceptor]
  post-invoke [OutgoingChainInterceptor]
. 
2012-02-14 12:47:58,484 DEBUG  [qtp25969872-94 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor@8af9c9
to phase read. 
2012-02-14 12:47:58,484 DEBUG  [qtp25969872-94 - /node/wsman?wsdl]
policy.PolicyInInterceptor --- - Added interceptor of type
PolicyBasedWSS4JInInterceptor. 
2012-02-14 12:47:58,484 DEBUG  [qtp25969872-94 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.ws.security.wss4j.UsernameTokenInterceptor@1addb59 to phase
pre-protocol. 
2012-02-14 12:47:58,484 DEBUG  [qtp25969872-94 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Chain
org.apache.cxf.phase.PhaseInterceptorChain@e76512 was modified. Current
flow:
  receive [PolicyInInterceptor, LoggingInInterceptor,
AttachmentInInterceptor]
  pre-stream [CertConstraintsInterceptor]
  post-stream [StaxInInterceptor]
  read [SAAJPreInInterceptor, WSDLGetInterceptor, ReadHeadersInterceptor,
SoapActionInInterceptor, StartBodyInterceptor]
  pre-protocol [MAPCodec, SAAJInInterceptor, MustUnderstandInterceptor,
PolicyBasedWSS4JInInterceptor, UsernameTokenInterceptor]
  post-protocol [CheckFaultInterceptor]
  unmarshal [URIMappingInterceptor, DocLiteralInInterceptor,
SoapHeaderInterceptor]
  pre-logical [MAPAggregator, OneWayProcessorInterceptor]
  post-logical [MessageModeInInterceptor]
  pre-invoke [SwAInInterceptor]
  invoke [ServiceInvokerInterceptor]
  post-invoke [OutgoingChainInterceptor]
. 
2012-02-14 12:47:58,484 DEBUG  [qtp25969872-94 - /node/wsman?wsdl]
policy.PolicyInInterceptor --- - Added interceptor of type
UsernameTokenInterceptor. 
2012-02-14 12:47:58,484 DEBUG  [qtp25969872-94 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.ws.policy.PolicyVerificationInInterceptor@1c17ceb to phase
pre-invoke. 
2012-02-14 12:47:58,484 DEBUG  [qtp25969872-94 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Chain
org.apache.cxf.phase.PhaseInterceptorChain@e76512 was modified. Current
flow:
  receive [PolicyInInterceptor, LoggingInInterceptor,
AttachmentInInterceptor]
  pre-stream [CertConstraintsInterceptor]
  post-stream [StaxInInterceptor]
  read [SAAJPreInInterceptor, WSDLGetInterceptor, ReadHeadersInterceptor,
SoapActionInInterceptor, StartBodyInterceptor]
  pre-protocol [MAPCodec, SAAJInInterceptor, MustUnderstandInterceptor,
PolicyBasedWSS4JInInterceptor, UsernameTokenInterceptor]
  post-protocol [CheckFaultInterceptor]
  unmarshal [URIMappingInterceptor, DocLiteralInInterceptor,
SoapHeaderInterceptor]
  pre-logical [MAPAggregator, OneWayProcessorInterceptor]
  post-logical [MessageModeInInterceptor]
  pre-invoke [SwAInInterceptor, PolicyVerificationInInterceptor]
  invoke [ServiceInvokerInterceptor]
  post-invoke [OutgoingChainInterceptor]
 
Case2-cxf osgi bundle:
-----------------------

2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
http_jetty.JettyHTTPDestination --- - Service http request on thread:
Thread[qtp2916810-109 - /node/wsman?wsdl,5,main]. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
http.Headers --- - Request Headers: {Accept=[image/gif, image/jpeg,
image/pjpeg, image/pjpeg, application/x-ms-application,
application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
application/x-shockwave-flash, */*], accept-encoding=[gzip, deflate],
Accept-Language=[en-us], connection=[keep-alive], Content-Type=[null],
Host=[localhost:7000], User-Agent=[Mozilla/4.0 (compatible; MSIE 8.0;
Windows NT 5.1; Trident/4.0; GIS IE 6.0 Build 20080321; .NET CLR 1.0.3705;
.NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729; InfoPath.2; MS-RTC LM 8; .NET4.0C; .NET4.0E)]}. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.ws.policy.PolicyInInterceptor@1f7f1d6 to phase receive. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.interceptor.ServiceInvokerInterceptor@2a4437 to phase invoke. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.interceptor.OutgoingChainInterceptor@e4909b to phase
post-invoke. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.interceptor.OneWayProcessorInterceptor@1d1ec11 to phase
pre-logical. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.jaxws.interceptors.SwAInInterceptor@e175f3 to phase
pre-invoke. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.binding.soap.saaj.SAAJInInterceptor@6e077 to phase
pre-protocol. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor@17ae544
to phase read. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.jaxws.interceptors.MessageModeInInterceptor@1620f9d to phase
post-logical. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.frontend.WSDLGetInterceptor@ef393c to phase read. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.ws.addressing.MAPAggregator@196c6ef to phase pre-logical. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.ws.addressing.soap.MAPCodec@1dea7fd to phase pre-protocol. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.ws.mex.MEXInInterceptor@e6f3cd to phase pre-protocol. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.interceptor.AttachmentInInterceptor@9031d6 to phase receive. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.interceptor.StaxInInterceptor@b80606 to phase post-stream. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.binding.soap.interceptor.SoapActionInInterceptor@193a68c to
phase read. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.interceptor.DocLiteralInInterceptor@9b4186 to phase
unmarshal. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.binding.soap.interceptor.SoapHeaderInterceptor@ead002 to
phase unmarshal. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor@1fe4951 to
phase read. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.binding.soap.interceptor.StartBodyInterceptor@17f7439 to
phase read. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor@a75b5d to
phase post-protocol. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.binding.soap.interceptor.MustUnderstandInterceptor@15f52b3 to
phase pre-protocol. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.interceptor.URIMappingInterceptor@12e78f0 to phase unmarshal. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Adding interceptor
org.apache.cxf.transport.https.CertConstraintsInterceptor@cdc0c4 to phase
pre-stream. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Chain
org.apache.cxf.phase.PhaseInterceptorChain@5df6d was created. Current flow:
  receive [PolicyInInterceptor, AttachmentInInterceptor]
  pre-stream [CertConstraintsInterceptor]
  post-stream [StaxInInterceptor]
  read [SAAJPreInInterceptor, WSDLGetInterceptor, ReadHeadersInterceptor,
SoapActionInInterceptor, StartBodyInterceptor]
  pre-protocol [SAAJInInterceptor, MAPCodec, MEXInInterceptor,
MustUnderstandInterceptor]
  post-protocol [CheckFaultInterceptor]
  unmarshal [URIMappingInterceptor, DocLiteralInInterceptor,
SoapHeaderInterceptor]
  pre-logical [MAPAggregator, OneWayProcessorInterceptor]
  post-logical [MessageModeInInterceptor]
  pre-invoke [SwAInInterceptor]
  invoke [ServiceInvokerInterceptor]
  post-invoke [OutgoingChainInterceptor]
. 
2012-02-14 13:19:07,984 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Invoking handleMessage on interceptor
org.apache.cxf.ws.policy.PolicyInInterceptor@1f7f1d6. 
2012-02-14 13:19:08,000 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
policy.PolicyEngineImpl --- - Alternative
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}AsymmetricBinding
is not supported. 
2012-02-14 13:19:08,000 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
policy.PolicyEngineImpl --- - Alternative
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}AsymmetricBinding
is not supported. 
2012-02-14 13:19:08,000 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
policy.EffectivePolicyImpl --- - No alternative supported.
type: Policy
  type: ExactlyOne
    type: All
      type: Assertion
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}AsymmetricBinding
(org.apache.cxf.ws.security.policy.model.AsymmetricBinding@778b40)
        type: Policy
          type: ExactlyOne
            type: All
              type: All
                type: Assertion
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token
(org.apache.cxf.ws.security.policy.model.X509Token@5734bc)
                type: Assertion
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}InitiatorToken
(org.apache.cxf.ws.security.policy.model.InitiatorToken@1476371)
                  type: Policy
                    type: ExactlyOne
                      type: All
                        type: Assertion
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token
(org.apache.cxf.ws.security.policy.model.X509Token@5734bc)
              type: All
                type: Assertion
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token
(org.apache.cxf.ws.security.policy.model.X509Token@1d1978d)
                type: Assertion
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}RecipientToken
(org.apache.cxf.ws.security.policy.model.RecipientToken@134b632)
                  type: Policy
                    type: ExactlyOne
                      type: All
                        type: Assertion
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token
(org.apache.cxf.ws.security.policy.model.X509Token@1d1978d)
              type: Assertion
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}IncludeTimestamp
({http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}IncludeTimestamp)
              type: Assertion
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Layout
(org.apache.cxf.ws.security.policy.model.Layout@1a5ae0f)
      type: Assertion
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedSupportingTokens
(org.apache.cxf.ws.security.policy.model.SupportingToken@72597e)
        type: Policy
          type: ExactlyOne
            type: All
              type: Assertion
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}UsernameToken
(optional) (org.apache.cxf.ws.security.policy.model.UsernameToken@15197d8)
      type: Assertion
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedParts
(org.apache.cxf.ws.security.policy.model.SignedEncryptedParts@1c7f0d7)
      type: Assertion
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}EncryptedParts
(org.apache.cxf.ws.security.policy.model.SignedEncryptedParts@194c38d)
      type: Assertion
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}EncryptedElements
(org.apache.cxf.ws.security.policy.model.SignedEncryptedElements@1b29f6a)
. 
2012-02-14 13:19:08,078 DEBUG  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Invoking handleFault on interceptor
org.apache.cxf.ws.policy.PolicyInInterceptor@1f7f1d6. 
2012-02-14 13:19:08,078 WARN  [qtp2916810-109 - /node/wsman?wsdl]
phase.PhaseInterceptorChain --- - Interceptor for
{http://ns.ca.com/catalyst/node}NodeX509 has thrown exception, unwinding
now. 
org.apache.cxf.interceptor.Fault: None of the policy alternatives can be
satisfied.
        at
org.apache.cxf.ws.policy.AbstractPolicyInterceptor.handleMessage(AbstractPolicyInterceptor.java:47)[123:org.apache.cxf.bundle:2.5.2]
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)[123:org.apache.cxf.bundle:2.5.2]
        at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:123)[123:org.apache.cxf.bundle:2.5.2]
        at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:323)[123:org.apache.cxf.bundle:2.5.2]
        at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:289)[123:org.apache.cxf.bundle:2.5.2]
        at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:72)[123:org.apache.cxf.bundle:2.5.2]
        at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:943)[91:org.eclipse.jetty.server:7.5.4.v20111024]
        at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:879)[91:org.eclipse.jetty.server:7.5.4.v20111024]
        at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[91:org.eclipse.jetty.server:7.5.4.v20111024]
        at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)[91:org.eclipse.jetty.server:7.5.4.v20111024]
        at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[91:org.eclipse.jetty.server:7.5.4.v20111024]
        at
org.eclipse.jetty.server.Server.handle(Server.java:345)[91:org.eclipse.jetty.server:7.5.4.v20111024]
        at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)[91:org.eclipse.jetty.server:7.5.4.v20111024]
        at
org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919)[91:org.eclipse.jetty.server:7.5.4.v20111024]
        at
org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)[87:org.eclipse.jetty.http:7.5.4.v20111024]
        at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)[87:org.eclipse.jetty.http:7.5.4.v20111024]
        at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)[91:org.eclipse.jetty.server:7.5.4.v20111024]
        at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)[86:org.eclipse.jetty.io:7.5.4.v20111024]
        at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)[86:org.eclipse.jetty.io:7.5.4.v20111024]
        at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)[85:org.eclipse.jetty.util:7.5.4.v20111024]
        at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)[85:org.eclipse.jetty.util:7.5.4.v20111024]
        at java.lang.Thread.run(Unknown Source)[:1.6.0_17]
Caused by: org.apache.cxf.ws.policy.PolicyException: None of the policy
alternatives can be satisfied.
        at
org.apache.cxf.ws.policy.EffectivePolicyImpl.chooseAlternative(EffectivePolicyImpl.java:171)[123:org.apache.cxf.bundle:2.5.2]
        at
org.apache.cxf.ws.policy.EffectivePolicyImpl.chooseAlternative(EffectivePolicyImpl.java:164)[123:org.apache.cxf.bundle:2.5.2]
        at
org.apache.cxf.ws.policy.EffectivePolicyImpl.initialise(EffectivePolicyImpl.java:109)[123:org.apache.cxf.bundle:2.5.2]
        at
org.apache.cxf.ws.policy.PolicyEngineImpl.getEffectiveServerRequestPolicy(PolicyEngineImpl.java:327)[123:org.apache.cxf.bundle:2.5.2]
        at
org.apache.cxf.ws.policy.EndpointPolicyImpl.initializeInterceptors(EndpointPolicyImpl.java:296)[123:org.apache.cxf.bundle:2.5.2]
        at
org.apache.cxf.ws.policy.EndpointPolicyImpl.getInterceptors(EndpointPolicyImpl.java:126)[123:org.apache.cxf.bundle:2.5.2]
        at
org.apache.cxf.ws.policy.PolicyInInterceptor.handle(PolicyInInterceptor.java:140)[123:org.apache.cxf.bundle:2.5.2]
        at
org.apache.cxf.ws.policy.AbstractPolicyInterceptor.handleMessage(AbstractPolicyInterceptor.java:45)[123:org.apache.cxf.bundle:2.5.2]
        ... 21 more

Any idea why in case of cxf being used as osgi bundle the
PolicyBasedWSS4JInInterceptor is not getting added?

Thanks,
-Nagamohan

--
View this message in context: 
http://cxf.547215.n5.nabble.com/wsdl-is-not-being-handled-by-cxf-2-5-x-tp5465680p5482076.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to