Hi Jan, Could you supply a test-case that shows the problem?
Colm. On Thu, Jul 21, 2011 at 8:42 PM, janb <[email protected]> wrote: > Hi, > > I was able to run all WS-Security Tests provided in Colm O hEigeartaigh's > Blog > http://coheigea.blogspot.com/2011/04/saml-support-in-cxf-240.html > > After that I tried to add SAML Authentication Support to my CXF (Version > 2.4.1) Demo-WebService. > I'm trieing to get this running now for a couple of days, but I end up > getting an Error Message from Tomcat (Version 7.0.19) telling me: > > INFO: Deploying web application archive mathservice-service-1.0.war > 21.07.2011 21:10:15 org.apache.catalina.core.StandardContext startInternal > SCHWERWIEGEND: Error listenerStart > 21.07.2011 21:10:15 org.apache.catalina.core.StandardContext startInternal > SCHWERWIEGEND: Context [/mathservice-service-1.0] startup failed due to > previous errors > 21.07.2011 21:10:15 org.apache.catalina.startup.HostConfig deployDirectory > > > My service is running just fine when I remove "wsdlLocation" parameter in > "jaxws:endpoint". > I made shure that my wsdl file can be found (according to catalina LOG > file). > If I enable <p:policies/> feature I also end up with the same error message > in tomcat. > The catalina LOG file does not provide any other Error Messages... > > This is my spring conf: > > <beans xmlns="http://www.springframework.org/schema/beans" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:jaxws="http://cxf.apache.org/jaxws" > xmlns:cxf="http://cxf.apache.org/core" > xmlns:p="http://cxf.apache.org/policy" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans.xsd > http://www.springframework.org/schema/context > http://www.springframework.org/schema/context/spring-context.xsd > http://cxf.apache.org/core > http://cxf.apache.org/schemas/core.xsd > http://cxf.apache.org/policy > http://cxf.apache.org/schemas/policy.xsd > http://cxf.apache.org/jaxws > http://cxf.apache.org/schemas/jaxws.xsd"> > > <import resource="classpath:META-INF/cxf/cxf.xml" /> > > <bean id="MathServiceBean" > class="org.talend.services.mathservice.service.MathServiceImpl" /> > > <cxf:bus> > <cxf:features> > > <cxf:logging/> > </cxf:features> > </cxf:bus> > > > <jaxws:endpoint id="MathService" > xmlns:serviceNamespace="http://services.talend.org/MathService" > serviceName="serviceNamespace:MathServiceProvider" > endpointName="serviceNamespace:MathServiceProvider" > implementor="#MathServiceBean" > address="/MathServiceProvider" > wsdlLocation="MathService.wsdl"> > > > <jaxws:properties> > <entry key="ws-security.username" value="bob"/> > <entry key="ws-security.callback-handler" > > value="org.apache.cxf.systest.ws.wssec10.client.KeystorePasswordCallback"/> > <entry key="ws-security.signature.properties" > > value="org/apache/cxf/systest/ws/wssec10/client/bob.properties"/> > <entry key="ws-security.encryption.properties" > > value="org/apache/cxf/systest/ws/wssec10/client/alice.properties"/> > <entry key="ws-security.encryption.username" value="alice"/> > </jaxws:properties> > </jaxws:endpoint> > </beans> > > > I don't know how to continue... > > Any help would be very much appreciated! > > Kind Regards > Jan > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/SAML-Support-in-CXF-tp4620749p4620749.html > Sent from the cxf-user mailing list archive at Nabble.com. > -- Colm O hEigeartaigh http://coheigea.blogspot.com/ Talend - http://www.talend.com
