Can you put a breakpoint in org.apache.cxf.ws.policy.builder.primitive.PrimitiveAssertionBuilder constructors and build() methods ? It appears a ws/addr module delegates to it (with Spring initializing it) for dealing with the legacy UsingAddressing assertions...
May be the builder is not even invoked ? cheers, Sergey On Fri, Sep 10, 2010 at 4:02 PM, iPhone Developer <[email protected]> wrote: > I managed to get a detailed log of cxf's activities just before the method > call on level 'FINEST' and pasted it below. > Are the warnings about missing assertion builders critical? I think I have > read somewhere that they can be ignored. > > > > DEBUG 2010-09-10 16:56:48,740 [http-9380-2] (ClientImpl.java:445) - Invoke, > operation info: [BindingOperationInfo: > {http://Yello.NaturEnergiePlus.Services.Contracts.Kunden.ServiceContracts > }Au > thenticate], params: > > [datacontracts.kunden.contracts.services.naturenergieplus.yello.Authenticate > requ...@65c0bb4b] > DEBUG 2010-09-10 16:56:48,740 [http-9380-2] (ClientImpl.java:445) - Invoke, > operation info: [BindingOperationInfo: > {http://Yello.NaturEnergiePlus.Services.Contracts.Kunden.ServiceContracts > }Au > thenticate], params: > > [datacontracts.kunden.contracts.services.naturenergieplus.yello.Authenticate > requ...@65c0bb4b] > DEBUG 2010-09-10 16:56:48,741 [http-9380-2] (ClientImpl.java:569) - set > requestContext to message > be{ws-security.encryption.properties=cxf-encryption.properties, > ws-security.callback-handler=cxfCallbackHandler, > java.lang.reflect.Method=public abstract > > datacontracts.kunden.contracts.services.naturenergieplus.yello.AuthenticateR > esponse > > servicecontracts.kunden.contracts.services.naturenergieplus.yello.IKundenPor > > talService.authenticate(datacontracts.kunden.contracts.services.naturenergie > plus.yello.AuthenticateRequest) throws > > servicecontracts.kunden.contracts.services.naturenergieplus.yello.IKundenPor > talServiceAuthenticateFaultExceptionFaultFaultMessage, > ws-security.encryption.username=encryptionUser, > > org.apache.cxf.jaxws.context.WrappedMessageContext.SCOPES={ws-security.encry > ption.properties=APPLICATION, ws-security.callback-handler=APPLICATION, > ws-security.encryption.username=APPLICATION, > ws-security.signature.properties=APPLICATION, > org.apache.cxf.message.Message.ENDPOINT_ADDRESS=APPLICATION}, > ws-security.signature.properties=cxf-signature.properties, > org.apache.cxf.message.Message.ENDPOINT_ADDRESS= > http://s4o4121.enbw.net/WebS > erviceHost/NaturEnergiePlus/1_0/KundenPortalService.svc<http://s4o4121.enbw.net/WebS%0AerviceHost/NaturEnergiePlus/1_0/KundenPortalService.svc> > } > DEBUG 2010-09-10 16:56:48,741 [http-9380-2] (ClientImpl.java:569) - set > requestContext to message > be{ws-security.encryption.properties=cxf-encryption.properties, > ws-security.callback-handler=cxfCallbackHandler, > java.lang.reflect.Method=public abstract > > datacontracts.kunden.contracts.services.naturenergieplus.yello.AuthenticateR > esponse > > servicecontracts.kunden.contracts.services.naturenergieplus.yello.IKundenPor > > talService.authenticate(datacontracts.kunden.contracts.services.naturenergie > plus.yello.AuthenticateRequest) throws > > servicecontracts.kunden.contracts.services.naturenergieplus.yello.IKundenPor > talServiceAuthenticateFaultExceptionFaultFaultMessage, > ws-security.encryption.username=encryptionUser, > > org.apache.cxf.jaxws.context.WrappedMessageContext.SCOPES={ws-security.encry > ption.properties=APPLICATION, ws-security.callback-handler=APPLICATION, > ws-security.encryption.username=APPLICATION, > ws-security.signature.properties=APPLICATION, > org.apache.cxf.message.Message.ENDPOINT_ADDRESS=APPLICATION}, > ws-security.signature.properties=cxf-signature.properties, > org.apache.cxf.message.Message.ENDPOINT_ADDRESS= > http://s4o4121.enbw.net/WebS > erviceHost/NaturEnergiePlus/1_0/KundenPortalService.svc<http://s4o4121.enbw.net/WebS%0AerviceHost/NaturEnergiePlus/1_0/KundenPortalService.svc> > } > DEBUG 2010-09-10 16:56:48,743 [http-9380-2] (ClientImpl.java:796) - > Interceptors contributed by bus: > [org.apache.cxf.ws.policy.policyoutintercep...@4c19cc84] > DEBUG 2010-09-10 16:56:48,743 [http-9380-2] (ClientImpl.java:796) - > Interceptors contributed by bus: > [org.apache.cxf.ws.policy.policyoutintercep...@4c19cc84] > DEBUG 2010-09-10 16:56:48,743 [http-9380-2] (ClientImpl.java:800) - > Interceptors contributed by client: [] DEBUG 2010-09-10 16:56:48,743 > [http-9380-2] (ClientImpl.java:800) - Interceptors contributed by client: > [] > DEBUG 2010-09-10 16:56:48,744 [http-9380-2] (ClientImpl.java:804) - > Interceptors contributed by endpoint: > [org.apache.cxf.interceptor.messagesenderintercep...@31c21524, > org.apache.cxf.jaxws.interceptors.swaoutintercep...@3cfa0801, > org.apache.cxf.jaxws.handler.logical.logicalhandleroutintercep...@432398ed > , > org.apache.cxf.jaxws.interceptors.wrapperclassoutintercep...@560d120a, > org.apache.cxf.jaxws.interceptors.holderoutintercep...@741b7aa8, > org.apache.cxf.jaxws.handler.soap.soaphandlerintercep...@3811e725] > DEBUG 2010-09-10 16:56:48,744 [http-9380-2] (ClientImpl.java:804) - > Interceptors contributed by endpoint: > [org.apache.cxf.interceptor.messagesenderintercep...@31c21524, > org.apache.cxf.jaxws.interceptors.swaoutintercep...@3cfa0801, > org.apache.cxf.jaxws.handler.logical.logicalhandleroutintercep...@432398ed > , > org.apache.cxf.jaxws.interceptors.wrapperclassoutintercep...@560d120a, > org.apache.cxf.jaxws.interceptors.holderoutintercep...@741b7aa8, > org.apache.cxf.jaxws.handler.soap.soaphandlerintercep...@3811e725] > DEBUG 2010-09-10 16:56:48,744 [http-9380-2] (ClientImpl.java:808) - > Interceptors contributed by binding: > [org.apache.cxf.interceptor.attachmentoutintercep...@1f5e4ae5, > org.apache.cxf.interceptor.staxoutintercep...@67871079, > > org.apache.cxf.binding.soap.interceptor.soapheaderoutfilterintercep...@544aa > d08, org.apache.cxf.interceptor.wrappedoutintercep...@72a61373, > org.apache.cxf.interceptor.bareoutintercep...@75471dd2, > > org.apache.cxf.binding.soap.interceptor.soappreprotocoloutintercep...@ff7022 > 5, org.apache.cxf.binding.soap.interceptor.soapoutintercep...@21add353] > DEBUG 2010-09-10 16:56:48,744 [http-9380-2] (ClientImpl.java:808) - > Interceptors contributed by binding: > [org.apache.cxf.interceptor.attachmentoutintercep...@1f5e4ae5, > org.apache.cxf.interceptor.staxoutintercep...@67871079, > > org.apache.cxf.binding.soap.interceptor.soapheaderoutfilterintercep...@544aa > d08, org.apache.cxf.interceptor.wrappedoutintercep...@72a61373, > org.apache.cxf.interceptor.bareoutintercep...@75471dd2, > > org.apache.cxf.binding.soap.interceptor.soappreprotocoloutintercep...@ff7022 > 5, org.apache.cxf.binding.soap.interceptor.soapoutintercep...@21add353] > DEBUG 2010-09-10 16:56:48,744 [http-9380-2] (ClientImpl.java:814) - > Interceptors contributed by databinding: [] DEBUG 2010-09-10 16:56:48,744 > [http-9380-2] (ClientImpl.java:814) - Interceptors contributed by > databinding: [] DEBUG 2010-09-10 16:56:48,770 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.ws.policy.policyoutintercep...@4c19cc84 to phase setup > DEBUG > 2010-09-10 16:56:48,770 [http-9380-2] (PhaseInterceptorChain.java:203) - > Adding interceptor org.apache.cxf.ws.policy.policyoutintercep...@4c19cc84to > phase setup DEBUG 2010-09-10 16:56:48,770 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.interceptor.messagesenderintercep...@31c21524 to phase > prepare-send DEBUG 2010-09-10 16:56:48,770 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.interceptor.messagesenderintercep...@31c21524 to phase > prepare-send DEBUG 2010-09-10 16:56:48,771 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.jaxws.interceptors.swaoutintercep...@3cfa0801 to phase > pre-logical DEBUG 2010-09-10 16:56:48,771 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.jaxws.interceptors.swaoutintercep...@3cfa0801 to phase > pre-logical DEBUG 2010-09-10 16:56:48,771 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.jaxws.handler.logical.logicalhandleroutintercep...@432398ed > to phase pre-marshal DEBUG 2010-09-10 16:56:48,771 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.jaxws.handler.logical.logicalhandleroutintercep...@432398ed > to phase pre-marshal DEBUG 2010-09-10 16:56:48,771 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.jaxws.interceptors.wrapperclassoutintercep...@560d120a to > phase pre-logical DEBUG 2010-09-10 16:56:48,771 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.jaxws.interceptors.wrapperclassoutintercep...@560d120a to > phase pre-logical DEBUG 2010-09-10 16:56:48,772 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.jaxws.interceptors.holderoutintercep...@741b7aa8 to phase > pre-logical DEBUG 2010-09-10 16:56:48,772 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.jaxws.interceptors.holderoutintercep...@741b7aa8 to phase > pre-logical DEBUG 2010-09-10 16:56:48,772 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.jaxws.handler.soap.soaphandlerintercep...@3811e725 to phase > pre-protocol DEBUG 2010-09-10 16:56:48,772 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.jaxws.handler.soap.soaphandlerintercep...@3811e725 to phase > pre-protocol DEBUG 2010-09-10 16:56:48,772 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.interceptor.attachmentoutintercep...@1f5e4ae5 to phase > pre-stream DEBUG 2010-09-10 16:56:48,772 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.interceptor.attachmentoutintercep...@1f5e4ae5 to phase > pre-stream DEBUG 2010-09-10 16:56:48,773 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.interceptor.staxoutintercep...@67871079 to phase pre-stream > DEBUG 2010-09-10 16:56:48,773 [http-9380-2] > (PhaseInterceptorChain.java:203) > - Adding interceptor org.apache.cxf.interceptor.staxoutintercep...@67871079 > to phase pre-stream DEBUG 2010-09-10 16:56:48,773 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > > org.apache.cxf.binding.soap.interceptor.soapheaderoutfilterintercep...@544aa > d08 to phase pre-logical DEBUG 2010-09-10 16:56:48,773 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > > org.apache.cxf.binding.soap.interceptor.soapheaderoutfilterintercep...@544aa > d08 to phase pre-logical DEBUG 2010-09-10 16:56:48,773 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.interceptor.wrappedoutintercep...@72a61373 to phase marshal > DEBUG 2010-09-10 16:56:48,773 [http-9380-2] > (PhaseInterceptorChain.java:203) > - Adding interceptor > org.apache.cxf.interceptor.wrappedoutintercep...@72a61373 to phase marshal > DEBUG 2010-09-10 16:56:48,774 [http-9380-2] > (PhaseInterceptorChain.java:203) > - Adding interceptor org.apache.cxf.interceptor.bareoutintercep...@75471dd2 > to phase marshal DEBUG 2010-09-10 16:56:48,774 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.interceptor.bareoutintercep...@75471dd2 to phase marshal > DEBUG 2010-09-10 16:56:48,774 [http-9380-2] > (PhaseInterceptorChain.java:203) > - Adding interceptor > > org.apache.cxf.binding.soap.interceptor.soappreprotocoloutintercep...@ff7022 > 5 to phase post-logical DEBUG 2010-09-10 16:56:48,774 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > > org.apache.cxf.binding.soap.interceptor.soappreprotocoloutintercep...@ff7022 > 5 to phase post-logical DEBUG 2010-09-10 16:56:48,774 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.binding.soap.interceptor.soapoutintercep...@21add353 to > phase > write DEBUG 2010-09-10 16:56:48,774 [http-9380-2] > (PhaseInterceptorChain.java:203) - Adding interceptor > org.apache.cxf.binding.soap.interceptor.soapoutintercep...@21add353 to > phase > write WARN 2010-09-10 16:56:48,787 [http-9380-2] > (AssertionBuilderRegistryImpl.java:102) - No assertion builder for type > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}RequireDerivedKeys<http://schemas.xmlsoap.org/ws/2005/07/securitypolicy%7DRequireDerivedKeys> > registered. > WARN 2010-09-10 16:56:48,787 [http-9380-2] > (AssertionBuilderRegistryImpl.java:102) - No assertion builder for type > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}RequireDerivedKeys<http://schemas.xmlsoap.org/ws/2005/07/securitypolicy%7DRequireDerivedKeys> > registered. > WARN 2010-09-10 16:56:48,789 [http-9380-2] > (AssertionBuilderRegistryImpl.java:102) - No assertion builder for type > { > http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}RequireThumbprintRefer<http://schemas.xmlsoap.org/ws/2005/07/securitypolicy%7DRequireThumbprintRefer> > ence registered. > WARN 2010-09-10 16:56:48,789 [http-9380-2] > (AssertionBuilderRegistryImpl.java:102) - No assertion builder for type > { > http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}RequireThumbprintRefer<http://schemas.xmlsoap.org/ws/2005/07/securitypolicy%7DRequireThumbprintRefer> > ence registered. > WARN 2010-09-10 16:56:48,789 [http-9380-2] > (AssertionBuilderRegistryImpl.java:102) - No assertion builder for type > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}WssX509V3Token10<http://schemas.xmlsoap.org/ws/2005/07/securitypolicy%7DWssX509V3Token10> > registered. > WARN 2010-09-10 16:56:48,789 [http-9380-2] > (AssertionBuilderRegistryImpl.java:102) - No assertion builder for type > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}WssX509V3Token10<http://schemas.xmlsoap.org/ws/2005/07/securitypolicy%7DWssX509V3Token10> > registered. > WARN 2010-09-10 16:56:48,796 [http-9380-2] > (AssertionBuilderRegistryImpl.java:102) - No assertion builder for type > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}IncludeTimestamp<http://schemas.xmlsoap.org/ws/2005/07/securitypolicy%7DIncludeTimestamp> > registered. > WARN 2010-09-10 16:56:48,796 [http-9380-2] > (AssertionBuilderRegistryImpl.java:102) - No assertion builder for type > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}IncludeTimestamp<http://schemas.xmlsoap.org/ws/2005/07/securitypolicy%7DIncludeTimestamp> > registered. > WARN 2010-09-10 16:56:48,796 [http-9380-2] > (AssertionBuilderRegistryImpl.java:102) - No assertion builder for type > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}EncryptSignature<http://schemas.xmlsoap.org/ws/2005/07/securitypolicy%7DEncryptSignature> > registered. > WARN 2010-09-10 16:56:48,796 [http-9380-2] > (AssertionBuilderRegistryImpl.java:102) - No assertion builder for type > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}EncryptSignature<http://schemas.xmlsoap.org/ws/2005/07/securitypolicy%7DEncryptSignature> > registered. > WARN 2010-09-10 16:56:48,797 [http-9380-2] > (AssertionBuilderRegistryImpl.java:102) - No assertion builder for type > { > http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}OnlySignEntireHeadersA<http://schemas.xmlsoap.org/ws/2005/07/securitypolicy%7DOnlySignEntireHeadersA> > ndBody registered. > WARN 2010-09-10 16:56:48,797 [http-9380-2] > (AssertionBuilderRegistryImpl.java:102) - No assertion builder for type > { > http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}OnlySignEntireHeadersA<http://schemas.xmlsoap.org/ws/2005/07/securitypolicy%7DOnlySignEntireHeadersA> > ndBody registered. > WARN 2010-09-10 16:56:48,802 [http-9380-2] > (AssertionBuilderRegistryImpl.java:102) - No assertion builder for type > {http://www.w3.org/2006/05/addressing/wsdl}UsingAddressing<http://www.w3.org/2006/05/addressing/wsdl%7DUsingAddressing>registered. > WARN 2010-09-10 16:56:48,802 [http-9380-2] > (AssertionBuilderRegistryImpl.java:102) - No assertion builder for type > {http://www.w3.org/2006/05/addressing/wsdl}UsingAddressing<http://www.w3.org/2006/05/addressing/wsdl%7DUsingAddressing>registered. > DEBUG 2010-09-10 16:56:48,803 [http-9380-2] (PolicyEngineImpl.java:506) - > Alternative > {http://www.w3.org/2006/05/addressing/wsdl}UsingAddressing<http://www.w3.org/2006/05/addressing/wsdl%7DUsingAddressing>is > not supported > DEBUG 2010-09-10 16:56:48,803 [http-9380-2] (PolicyEngineImpl.java:506) - > Alternative > {http://www.w3.org/2006/05/addressing/wsdl}UsingAddressing<http://www.w3.org/2006/05/addressing/wsdl%7DUsingAddressing>is > not supported > >
