cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: CXF is not handling SOAP fault
Date Wed, 11 Dec 2013 16:56:34 GMT

On Dec 11, 2013, at 11:38 AM, geecxf <amiri@ge.com> wrote:

> Hi Dan,
> 
> Thanks so much for responding. I am generating the client using the
> cxf-codgen-plugin for Maven (version 2.7.3).
> 
> I am getting the port using the following code:
> 
> private EntitlementServicePortType entitlementServicePort =
> this.entitlementService
> 
> .getEntitlementServiceHttpsEndpoint();


Change this code to:

.getEntitlementServiceHttpsSoap11Endpoint();

and it will likely start working as it would actually be setup for SOAP.

Dan


> The WSDL is for version 4.1.0 of WSO2 so it should not be that different
> than the link you sent. I tweaked your link to point to version 4.1.0:
> 
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/service-stubs/org.wso2.carbon.identity.entitlement.stub/4.1.0/src/main/resources/EntitlementService.wsdl
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/CXF-is-not-handling-SOAP-fault-tp5737422p5737717.html
> Sent from the cxf-user mailing list archive at Nabble.com.

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Mime
View raw message