The problem is with your WSDL. There are two errors:

a) You are using "wsu:id" instead of "wsu:Id".
b) Your KeyType contains a lowercase "v" instead of "V". It should be:

http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1

Colm.


On Mon, Mar 24, 2014 at 12:30 PM, axelF <[email protected]> wrote:

> I have cxf-rt-ws-policy jar in my classpath.
>
> Here the spring configuration:
>
> <?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:jaxws="http://cxf.apache.org/jaxws";
>         xsi:schemaLocation="http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd";>
>         <import resource="classpath:META-INF/cxf/cxf.xml" />
>         <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
>         <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
>         <jaxws:endpoint xmlns:tns="
> http://www.example.org/contract/Authentication";
>                 id="authenticationporttype"
>
> implementor="org.example.contract.authentication.AuthenticationPortTypeImpl"
>                 wsdlLocation="wsdl/Authentication.wsdl"
> endpointName="tns:AuthenticationPort"
>                 serviceName="tns:AuthenticationService"
> address="/AuthenticationPort">
>                 <jaxws:features>
>                         <bean
> class="org.apache.cxf.feature.LoggingFeature" />
>                 </jaxws:features>
>         </jaxws:endpoint>
> </beans>
>
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Error-in-service-generation-tp5741764p5741770.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to