Re: org.apache.neethi.builders.PrimitiveAssertion cannot be cast to org.apache.cxf.ws.security.policy.model.Token

2013-12-09 Thread qatada.abbas
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.S

Re: org.apache.neethi.builders.PrimitiveAssertion cannot be cast to org.apache.cxf.ws.security.policy.model.Token

2013-12-09 Thread qatada.abbas
I am not setting any policy. It is just a normal client which i generated from wsdl using wsdl2java. then i call the methods on the stub. IExternalNotification externalNotification = new ExternalNotification().getCustomBindingIExternalNotification(); org.apac

org.apache.neethi.builders.PrimitiveAssertion cannot be cast to org.apache.cxf.ws.security.policy.model.Token

2013-12-08 Thread qatada.abbas
Hi I am getting the following exception while running a normal web service client with apache cxf. Looks as if there is some conflict with the jars IExternalNotification externalNotification =new ExternalNotification().getCustomBindingIExternalNotification(); org.apache

Re: CXF STSClient

2013-12-04 Thread qatada.abbas
first call to STS Below is my second call that i have to make but just cant figure out what interceptor to use to add the security header with the token data that was received in the first call bus = BusFactory.getDefaultBus(); features

Re: CXF STSClient

2013-12-04 Thread qatada.abbas
Yes that is the requirement -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-STSClient-tp5737337p5737370.html Sent from the cxf-user mailing list archive at Nabble.com.

CXF STSClient

2013-12-03 Thread qatada.abbas
Hi I am very new WS Trus security system. I have been trying to write a STSClient for a webservice client. The security system requires us to get token from one server then use that token to get token from another server. And the final token could be used to call the actual webservice. The first