Could you create a test-case + I'll take a look? Colm.
On Fri, Nov 7, 2014 at 3:17 PM, Ingo <[email protected]> wrote: > Hi, > I am following the advanced systest ' cross_domain > < > https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=tree;f=services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/cross_domain;h=bc929b418e6c45e7f8cd80a2691144ad4db39c43;hb=HEAD > > > ' of CXF 3.0.2. > > All is running fine and this is the scenario I need (Service having an > issuedToken Policy refering to STS-B, STS-B having an issuedToken Policy > refering to STS-A). > > However, when I deploy the CXF service 'sts' as a war package on tomcat or > jetty, with the exact same sts configuration as in the cross_domain systest > (STS-B), I am always getting an error at the sts client after fetching the > STS-B wsdl via ws-mex: > > *Stacktrace:* > Nov 07, 2014 3:49:42 PM org.apache.cxf.phase.PhaseInterceptorChain > doDefaultLogging > WARNUNG: Interceptor for > { > http://fokus.fraunhofer.de/cc-ehealth/efa-v2/}EFA#{http://fokus.fraunhofer.de/cc-ehealth/efa-v2/}RegistryStoredQuery > has thrown exception, unwinding now > org.apache.cxf.ws.security.trust.TrustException: Exception when trying to > retrieve/process a WSDL via WS-MEX > at > > org.apache.cxf.ws.security.trust.AbstractSTSClient.configureViaEPR(AbstractSTSClient.java:589) > at > org.apache.cxf.ws.security.trust.STSUtils.getClient(STSUtils.java:135) > at > > org.apache.cxf.ws.security.policy.interceptors.IssuedTokenInterceptorProvider$IssuedTokenOutInterceptor.issueToken(IssuedTokenInterceptorProvider.java:490) > at > > org.apache.cxf.ws.security.policy.interceptors.IssuedTokenInterceptorProvider$IssuedTokenOutInterceptor.handleMessage(IssuedTokenInterceptorProvider.java:162) > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) > at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279) > at > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:138) > at com.sun.proxy.$Proxy46.registryStoredQuery(Unknown Source) > > Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Exception > when trying to retrieve/process a WSDL via WS-MEX > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:160) > at com.sun.proxy.$Proxy46.registryStoredQuery(Unknown Source) > ... > Caused by: org.apache.cxf.ws.security.trust.TrustException: Exception when > trying to retrieve/process a WSDL via WS-MEX > at > > org.apache.cxf.ws.security.trust.AbstractSTSClient.configureViaEPR(AbstractSTSClient.java:589) > at > org.apache.cxf.ws.security.trust.STSUtils.getClient(STSUtils.java:135) > at > > org.apache.cxf.ws.security.policy.interceptors.IssuedTokenInterceptorProvider$IssuedTokenOutInterceptor.issueToken(IssuedTokenInterceptorProvider.java:490) > at > > org.apache.cxf.ws.security.policy.interceptors.IssuedTokenInterceptorProvider$IssuedTokenOutInterceptor.handleMessage(IssuedTokenInterceptorProvider.java:162) > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) > at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279) > at > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:138) > ... 3 more > > > *Log:* > > > > Does anyone experience the same problem or has a clue why the > "configureViaEPR" fails? > > Thank you, Ingo > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Exception-when-trying-to-retrieve-process-a-WSDL-via-WS-MEX-tp5750835.html > Sent from the cxf-user mailing list archive at Nabble.com. > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
