It's unlikely that this is causing the problem, but remove the WSS4J dependency - 1.6.x can't be used with CXF 3.1.x, the correct WSS4J version should get pulled in from the STS core dependency.
Colm. On Thu, Nov 5, 2015 at 9:58 PM, Anthony Fryer <[email protected]> wrote: > I'm using cxf version 3.1.3. My pom.xml is below... > > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <parent> > <groupId>cyberavenue.cxf</groupId> > <artifactId>cxf-sts-demo-parent</artifactId> > <version>0.0.1-SNAPSHOT</version> > </parent> > <artifactId>doubleit-webapp</artifactId> > <packaging>war</packaging> > > <properties> > <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> > <cxf.version>3.1.3</cxf.version> > <spring.version>4.2.2.RELEASE</spring.version> > <build.timestamp>${maven.build.timestamp}</build.timestamp> > </properties> > > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-war-plugin</artifactId> > <version>2.6</version> > <configuration> > <webResources> > <resource> > <filtering>true</filtering> > <directory>src/main/webapp</directory> > <includes> > <include>**/*.xml</include> > > </includes> > </resource> > </webResources> > </configuration> > </plugin> > </plugins> > > <pluginManagement> > <plugins> > <plugin> > <artifactId>maven-compiler-plugin</artifactId> > <version>3.2</version> > <configuration> > <source>1.7</source> > <target>1.7</target> > </configuration> > </plugin> > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-javadoc-plugin</artifactId> > <version>2.10.3</version> > <configuration> > <skip>true</skip> > </configuration> > </plugin> > </plugins> > </pluginManagement> > </build> > > <dependencies> > > <dependency> > <groupId>${project.groupId}</groupId> > <artifactId>doubleit-ws-impl</artifactId> > <version>${project.version}</version> > </dependency> > > > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring-web</artifactId> > <version>${spring.version}</version> > </dependency> > > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring-context</artifactId> > <version>${spring.version}</version> > </dependency> > > > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-rt-frontend-jaxrs</artifactId> > <version>${cxf.version}</version> > </dependency> > > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-rt-rs-client</artifactId> > <version>${cxf.version}</version> > </dependency> > > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-rt-frontend-jaxws</artifactId> > <version>${cxf.version}</version> > </dependency> > > <dependency> > <groupId>org.apache.cxf.services.sts</groupId> > <artifactId>cxf-services-sts-core</artifactId> > <version>${cxf.version}</version> > </dependency> > > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-rt-ws-mex</artifactId> > <version>${cxf.version}</version> > </dependency> > > > <dependency> > <groupId>org.apache.ws.security</groupId> > <artifactId>wss4j</artifactId> > <version>1.6.19</version> > </dependency> > > > </dependencies> > > </project> > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Mex-returning-wrong-endpoint-for-STS-service-tp5762596p5762660.html > Sent from the cxf-user mailing list archive at Nabble.com. > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
