Hi, I am also facing the similar kind of issue. I have posted all details at link
https://issues.apache.org/jira/browse/CXF-2403?focusedCommentId=13215533&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13215533 Please-2 help me to sort it out, I need it asap. Below are WSDL and spring-config (confidential information re edited form it) I am using. Service WSDL is <?xml version="1.0" encoding="utf-8"?> <wsdl:definitions name="ServiceInstance" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <wsdl:documentation> <CreationInfo Created="2012-01-24 12:35:14Z" /> </wsdl:documentation> <wsp:Policy wsu:Id="WSHttpBinding_ITwoWayAsync_policy"> <wsp:ExactlyOne> <wsp:All> <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> <wsp:Policy> <sp:TransportToken> <wsp:Policy> <sp:HttpsToken RequireClientCertificate="true" /> </wsp:Policy> </sp:TransportToken> <sp:AlgorithmSuite> <wsp:Policy> <sp:Basic256 /> </wsp:Policy> </sp:AlgorithmSuite> <sp:Layout> <wsp:Policy> <sp:Strict /> </wsp:Policy> </sp:Layout> </wsp:Policy> </sp:TransportBinding> <wsaw:UsingAddressing /> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> <wsdl:types> <xsd:schema targetNamespace="http://tempuri.org/Imports"> <xsd:import schemaLocation="XYZ.Common.Interfaces.CreateRandom+RandomRequest.xsd" namespace="http://XYZ.Common.Interfaces.CreateRandom" /> </xsd:schema> </wsdl:types> <wsdl:message name="WcfService_XYZ_Common_Orchestrations_OprRandomRequest_InputMessage"> <wsdl:part name="part" element="q1:RandomRequest" xmlns:q1="http://XYZ.Common.Interfaces.CreateRandom" /> </wsdl:message> <wsdl:message name="WcfService_XYZ_Common_Orchestrations_OprRandomRequest_OutputMessage"> <wsdl:part name="part" element="q2:RandomResponse" xmlns:q2="http://XYZ.Common.Interfaces.CreateRandom" /> </wsdl:message> <wsdl:portType name="WcfService_XYZ_Common_Orchestrations"> <wsdl:documentation>service "" port ""</wsdl:documentation> <wsdl:operation name="OprRandomRequest"> <wsdl:documentation>operation "OprRandomRequest" </wsdl:documentation> <wsdl:input message="tns:WcfService_XYZ_Common_Orchestrations_OprRandomRequest_InputMessage" /> <wsdl:output message="tns:WcfService_XYZ_Common_Orchestrations_OprRandomRequest_OutputMessage" /> </wsdl:operation> </wsdl:portType> <wsdl:binding name="WSHttpBinding_ITwoWayAsync" type="tns:WcfService_XYZ_Common_Orchestrations"> <wsp:PolicyReference URI="#WSHttpBinding_ITwoWayAsync_policy" /> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="OprRandomRequest"> <wsdl:documentation>operation "OprRandomRequest" </wsdl:documentation> <soap12:operation soapAction="OprRandomRequest" style="document" /> <wsdl:input> <soap12:body use="literal" encodingStyle="http://www.w3.org/2003/05/soap-encoding" /> </wsdl:input> <wsdl:output> <soap12:body use="literal" encodingStyle="http://www.w3.org/2003/05/soap-encoding" /> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="ServiceInstance"> <wsdl:port name="WSHttpBinding_ITwoWayAsync" binding="tns:WSHttpBinding_ITwoWayAsync"> <soap12:address location="https://localhost.com:9091/XYZ.Common/WcfService_XYZ_Common_Orchestrations.svc" /> <wsa10:EndpointReference> <wsa10:Address> https://localhost:9091/XYZ.Common/WcfService_XYZ_Common_Orchestrations.svc </wsa10:Address> </wsa10:EndpointReference> </wsdl:port> </wsdl:service> </wsdl:definitions> Spring configuration is <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sec="http://cxf.apache.org/configuration/security" xmlns:http="http://cxf.apache.org/transports/http/configuration" xmlns:jaxws="http://cxf.apache.org/jaxws" xsi:schemaLocation=" http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> <http:conduit name="*.http-conduit"> <http:tlsClientParameters disableCNCheck="true"> <sec:keyManagers keyPassword="password"> <sec:keyStore type="JKS" password="password" file="certs/client-keystore"/> </sec:keyManagers> <sec:trustManagers> <sec:keyStore type="JKS" password="password" file="certs/client-truststore"/> </sec:trustManagers> <sec:cipherSuitesFilter> <sec:include>.*</sec:include> <sec:exclude>.DH_anon.</sec:exclude> </sec:cipherSuitesFilter> </http:tlsClientParameters> </http:conduit> </beans> -- View this message in context: http://cxf.547215.n5.nabble.com/Apache-CXF-client-issue-with-calling-SSL-service-tp5052802p5512355.html Sent from the cxf-user mailing list archive at Nabble.com.
