I've only tried it by specifying a SOAP 1.2 binding in the WSDL. See here
("Transport_Soap12_Binding"):http://svn.apache.org/viewvc/cxf/trunk/services/sts/systests/advanced/src/test/resources/org/apache/cxf/systest/sts/deployment/ws-trust-1.4-service.wsdl?view=markup Colm. On Mon, Feb 3, 2014 at 2:23 PM, bob45 <[email protected]> wrote: > Hi, > > I implemented a CXF based STS using SecurityTokenServiceProvider and the > wsdlLocation approach: > @WebServiceProvider(serviceName = "SecurityTokenService", > portName = "STS_Port", > targetNamespace = > "http://docs.oasis-open.org/ws-sx/ws-trust/200512/", > wsdlLocation = > "WEB-INF/classes/schemas/ws-trust-1.4.wsdl") > > Now I have a .NET client which sends an RST using SOAP1.2. > I tried to switch to SOAP1.2 using: > @BindingType(javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING) > > That does not work. I guess its the WSDL that defines the SOAP Version!? > Unfortunately I can't change the .NET client. > > How can I change the STS from SOAP1.1 to SOAP1.2? > > > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/STS-via-SOAP1-2-tp5739393.html > Sent from the cxf-user mailing list archive at Nabble.com. > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
