Indeed, I'm pretty sure this is the reason. Below is my CXFSE pom.xml As said, the CRM Service consists of 3 Projects: - CXF-BC Nothing special here, just the WSDL and XSD - CXF-SA A simple pom combining BC and SE - CXF-SE ... see pom
The pom has a few dependencies, which I added during development of my JUnit tests. Personally I think it has something to do with servicemix-bean, which required to read my spring-test.xml that looks similar to the bean.xml. <?xml version="1.0"?> <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/maven-v4_0_0.xsd"> <parent> <artifactId>crmservice</artifactId> <groupId>my.company.product.components.crmservice</groupId> <version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>my.company.product.components.crmservice</groupId> <artifactId>crmservice-cxfse-su</artifactId> <packaging>jbi-service-unit</packaging> <name>crmservice-cxfse-su</name> <version>1.0-SNAPSHOT</version> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>org.apache.servicemix</groupId> <artifactId>servicemix-cxf-se</artifactId> <version>${servicemix-version}</version> </dependency> <dependency> <groupId>org.apache.servicemix</groupId> <artifactId>servicemix-bean</artifactId> <version>${servicemix-version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.servicemix</groupId> <artifactId>servicemix-shared-compat</artifactId> <version>${servicemix-version}</version> <scope>test</scope> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>${commons-lang-version}</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit-version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.servicemix</groupId> <artifactId>servicemix-jbi</artifactId> <version>${servicemix-version}</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>${cxf-version}</version> <dependencies> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-bindings-soap</artifactId> <version>${cxf-version}</version> <exclusions> <exclusion> <groupId>javax.annotation</groupId> <artifactId>jsr250-api</artifactId> </exclusion> <exclusion> <groupId>javax.jws</groupId> <artifactId>jsr181-api</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <executions> <execution> <phase>generate-sources</phase> <configuration> <sourceRoot>${basedir}/target/jaxws</sourceRoot> <wsdlOptions> <wsdlOption> <wsdl>${basedir}/src/main/resources/crmService.wsdl</wsdl> <extraargs> <extraarg>-exsh</extraarg> <extraarg>true</extraarg> <!-- <extraarg>-client</extraarg> <extraarg>-all</extraarg> --> <extraarg>-p</extraarg> <extraarg>http://adfusion.adlinkgroup.net/crmservice/v1/=my.company.product.components.crmservice</extraarg> </extraargs> </wsdlOption> </wsdlOptions> </configuration> <goals> <goal>wsdl2java</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.servicemix.tooling</groupId> <artifactId>jbi-maven-plugin</artifactId> <version>${servicemix-version}</version> <extensions>true</extensions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <forkMode>always</forkMode> <workingDirectory>${basedir}</workingDirectory> <includes> <include>**/*Test.*</include> </includes> </configuration> </plugin> </plugins> </build> </project> -- View this message in context: http://www.nabble.com/Unrecognized-xbean-namespace-mapping%3A-http%3A--servicemix.apache.org-cxfse-1.0-tp15050999s12049p15059998.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
