Hi,
Putting together an example web service that exhibits this ClassCastException issue proved to be very time consuming. I ended up using the example for building a client from the vendor who provides the web service I need to access. It uses Metro and I have no issues with it. So will abandon CXF for use with this Web Service. David P Please consider the environment before printing this e-mail. ________________________________ From: David Wynter <[email protected]> Sent: 11 January 2017 16:53:24 To: [email protected] Subject: Re: org.apache.neethi.builders.PolicyContainingPrimitiveAssertion cannot be cast to org.apache.wss4j.policy.model.AlgorithmSuite No response? I'll raise a bug David P Please consider the environment before printing this e-mail. ________________________________ From: David Wynter <[email protected]> Sent: 10 January 2017 16:02:12 To: [email protected] Subject: org.apache.neethi.builders.PolicyContainingPrimitiveAssertion cannot be cast to org.apache.wss4j.policy.model.AlgorithmSuite Hi, I have the details of my issue here - http://stackoverflow.com/questions/41569772/cxf-wsdl-causes-classcastexception-to-org-apache-wss4j-policy-model-algorithmsui [https://cdn.sstatic.net/Sites/stackoverflow/img/[email protected]?v=73d79a89bded]<http://stackoverflow.com/questions/41569772/cxf-wsdl-causes-classcastexception-to-org-apache-wss4j-policy-model-algorithmsui> CXF wsdl causes ClassCastException to org.apache.wss4j.policy.model.AlgorithmSuite<http://stackoverflow.com/questions/41569772/cxf-wsdl-causes-classcastexception-to-org-apache-wss4j-policy-model-algorithmsui> stackoverflow.com I have a wsdl supplied by a service I need to access. I am using CXF V3.1.7, it detects a few issues with the supplied wsdl. I fix both issue, identified below. But the then valid wsdl results in a I have also tried CXF V3.1.9 P Please consider the environment before printing this e-mail.
