cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hsemar <>
Subject Support SOAP 1.1 and SOAP 1.2 in the same Endpoint
Date Mon, 15 Nov 2010 05:49:56 GMT

Hello experts,
                    I have a simple web service, lets call it as
webserviceA, and I would like the web service method to support soap1.1 and
soap 1.2 versions. I'm using JBossWS CXF 3.2.2 GA which uses CXF 2.2.5. 
I have used the following annotion in my service class to add soap 1.2
support. I used JBossWS runtime to create a web service project


The wsdl file is generated with soap 1.2 support and it works fine too. But
the moment I manaually add soap 1.1 binding in the same wsdl and deploy to
the server, only soap 1.1 binding works fine. When I try to access soap 1.2
I got the following message
         <faultstring>A SOAP 1.2 message is not valid when sent to a SOAP
1.1 only endpoint.</faultstring>

I hope the experts here can enlighten me if this is possible at all.
Thanks in Advance,
View this message in context:
Sent from the cxf-user mailing list archive at

View raw message