i got around it by doing the following

URL wsdlURL = new URL("https://..?wsdl";);
                QName SERVICE_NAME = new QName("http://tempuri.org/";,
"ServiceName");
                Service service = Service.create(SERVICE_NAME);
                service.addPort(SERVICE_NAME,
javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING, "https://...svc?wsdl";);
                        IExternalNotification externalNotification =
service.getPort(SERVICE_NAME,....class);



--
View this message in context: 
http://cxf.547215.n5.nabble.com/org-apache-neethi-builders-PrimitiveAssertion-cannot-be-cast-to-org-apache-cxf-ws-security-policy-mon-tp5737523p5737622.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to