CXF Module.
A Mule module for web service connectivity using CXF..
Here is the list of declaration for mule-module-cxf. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.mule.modules</groupId> <artifactId>mule-module-cxf</artifactId> <version>3.2.0</version> </dependency>
If you think this Maven repository POM file listing for mule-module-cxf is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following plugins are used in the mule-module-cxf-3.2.0.jar
The following packages are defined in the mule-module-cxf-3.2.0.jar
org.mule.module.cxf org.mule.module.cxf.builder org.mule.module.cxf.component org.mule.module.cxf.config org.mule.module.cxf.endpoint org.mule.module.cxf.feature org.mule.module.cxf.i18n org.mule.module.cxf.security org.mule.module.cxf.support org.mule.module.cxf.transport
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <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"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.mule.modules</groupId> <artifactId>mule-modules</artifactId> <version>3.2.0</version> </parent> <artifactId>mule-module-cxf</artifactId> <packaging>jar</packaging> <name>CXF Module</name> <description>A Mule module for web service connectivity using CXF.</description> <build> <plugins> <plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>${cxfVersion}</version> <executions> <execution> <id>generate-test-sources</id> <phase>generate-test-sources</phase> <goals> <goal>wsdl2java</goal> </goals> <configuration> <testSourceRoot>${basedir}/target/generated/src/test/java</testSourceRoot> <wsdlOptions> <wsdlOption> <wsdl> ${basedir}/src/test/resources/employeeDirectory.wsdl </wsdl> </wsdlOption> </wsdlOptions> </configuration> </execution> </executions> <dependencies> <!-- We reconfigure CXF to use log4j. This affects the classes that run as part of the plugin as well --> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>${log4jVersion}</version> </dependency> </dependencies> </plugin> <!-- This is absolutely necessary as the cxf-codegen-plugin already attaches the generated source dir to the lifecycle. Then again, when generating your IDE project files, this project will have compile errors because of missing sources so it doesn't hurt if we add the generated source directory here, too. --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>add-test-source</goal> </goals> <configuration> <sources> <source>${basedir}/target/generated/src/test/java</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <useSystemClassLoader>false</useSystemClassLoader> <forkMode>always</forkMode> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-core</artifactId> <version>${cxfVersion}</version> <exclusions> <!-- We use javax.activation --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-activation_1.1_spec</artifactId> </exclusion> <!-- We use javax.mail --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-javamail_1.4_spec</artifactId> </exclusion> <!-- We use stax-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-stax-api_1.0_spec</artifactId> </exclusion> <!-- We use javax.xml.ws:jaxws-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jaxws_2.1_spec</artifactId> </exclusion> <!-- We use slf4j --> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity-dep</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-simple</artifactId> <version>${cxfVersion}</version> <exclusions> <!-- We use javax.activation --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-activation_1.1_spec</artifactId> </exclusion> <!-- We use javax.mail --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-javamail_1.4_spec</artifactId> </exclusion> <!-- We use stax-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-stax-api_1.0_spec</artifactId> </exclusion> <!-- We use javax.xml.ws:jaxws-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jaxws_2.1_spec</artifactId> </exclusion> <!-- We use slf4j --> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity-dep</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>${cxfVersion}</version> <exclusions> <!-- We use javax.activation --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-activation_1.1_spec</artifactId> </exclusion> <!-- We use javax.mail --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-javamail_1.4_spec</artifactId> </exclusion> <!-- We use stax-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-stax-api_1.0_spec</artifactId> </exclusion> <!-- We use javax.xml.ws:jaxws-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jaxws_2.1_spec</artifactId> </exclusion> <!-- We use slf4j --> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity-dep</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-databinding-aegis</artifactId> <version>${cxfVersion}</version> <exclusions> <!-- We use javax.activation --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-activation_1.1_spec</artifactId> </exclusion> <!-- We use javax.mail --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-javamail_1.4_spec</artifactId> </exclusion> <!-- We use stax-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-stax-api_1.0_spec</artifactId> </exclusion> <!-- We use javax.xml.ws:jaxws-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jaxws_2.1_spec</artifactId> </exclusion> <!-- We use slf4j --> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity-dep</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-databinding-jaxb</artifactId> <version>${cxfVersion}</version> <exclusions> <!-- We use javax.activation --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-activation_1.1_spec</artifactId> </exclusion> <!-- We use javax.mail --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-javamail_1.4_spec</artifactId> </exclusion> <!-- We use stax-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-stax-api_1.0_spec</artifactId> </exclusion> <!-- We use javax.xml.ws:jaxws-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jaxws_2.1_spec</artifactId> </exclusion> <!-- We use slf4j --> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-local</artifactId> <version>${cxfVersion}</version> <exclusions> <!-- We use javax.activation --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-activation_1.1_spec</artifactId> </exclusion> <!-- We use javax.mail --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-javamail_1.4_spec</artifactId> </exclusion> <!-- We use stax-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-stax-api_1.0_spec</artifactId> </exclusion> <!-- We use javax.xml.ws:jaxws-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jaxws_2.1_spec</artifactId> </exclusion> <!-- We use slf4j --> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity-dep</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-ws-security</artifactId> <version>${cxfVersion}</version> <exclusions> <!-- We use javax.activation --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-activation_1.1_spec</artifactId> </exclusion> <!-- We use javax.mail --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-javamail_1.4_spec</artifactId> </exclusion> <!-- We use stax-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-stax-api_1.0_spec</artifactId> </exclusion> <!-- We use javax.xml.ws:jaxws-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jaxws_2.1_spec</artifactId> </exclusion> <!-- We use slf4j --> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk15</artifactId> </exclusion> <exclusion> <groupId>xalan</groupId> <artifactId>xalan</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity-dep</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-ws-rm</artifactId> <version>${cxfVersion}</version> <exclusions> <!-- We use javax.activation --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-activation_1.1_spec</artifactId> </exclusion> <!-- We use javax.mail --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-javamail_1.4_spec</artifactId> </exclusion> <!-- We use stax-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-stax-api_1.0_spec</artifactId> </exclusion> <!-- We use javax.xml.ws:jaxws-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jaxws_2.1_spec</artifactId> </exclusion> <!-- We use slf4j --> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <!-- This needs to be provided since it's JDK-specific --> <exclusion> <groupId>bouncycastle</groupId> <artifactId>bcprov-jdk15</artifactId> </exclusion> <exclusion> <groupId>xalan</groupId> <artifactId>xalan</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity-dep</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-wstx-msv-validation</artifactId> <version>${cxfVersion}</version> <exclusions> <!-- We use javax.activation --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-activation_1.1_spec</artifactId> </exclusion> <!-- We use javax.mail --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-javamail_1.4_spec</artifactId> </exclusion> <!-- We use stax-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-stax-api_1.0_spec</artifactId> </exclusion> <!-- We use javax.xml.ws:jaxws-api --> <exclusion> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jaxws_2.1_spec</artifactId> </exclusion> <!-- We use slf4j --> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <!-- This needs to be provided since it's JDK-specific --> <exclusion> <groupId>bouncycastle</groupId> <artifactId>bcprov-jdk15</artifactId> </exclusion> <exclusion> <groupId>xalan</groupId> <artifactId>xalan</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity</artifactId> </exclusion> <exclusion> <groupId>velocity</groupId> <artifactId>velocity-dep</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.sun.xml.messaging.saaj</groupId> <artifactId>saaj-impl</artifactId> </dependency> <dependency> <groupId>org.mule.modules</groupId> <artifactId>mule-module-spring-security</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.mule.transports</groupId> <artifactId>mule-transport-http</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.mule.modules</groupId> <artifactId>mule-module-xml</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.mule.transports</groupId> <artifactId>mule-transport-tcp</artifactId> <version>${project.version}</version> </dependency> <!-- We should reenable this as it makes CXF faster <dependency> <groupId>asm</groupId> <artifactId>asm.osgi</artifactId> <version>${asmVersion}</version> </dependency> --> <dependency> <groupId>net.sf.saxon</groupId> <artifactId>saxon</artifactId> <version>${saxonVersion}-osgi</version> </dependency> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-annotation_1.0_spec</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>${springVersion}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${springVersion}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${springVersion}</version> </dependency> <!-- Unit tests --> <dependency> <groupId>org.mule.tests</groupId> <artifactId>mule-tests-functional</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-testutils</artifactId> <version>${cxfVersion}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http</artifactId> <version>${cxfVersion}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mule</groupId> <artifactId>mule-core</artifactId> <version>${project.version}</version> <scope>test</scope> <type>test-jar</type> </dependency> <!-- Used for the security test --> <dependency> <groupId>org.mule.transports</groupId> <artifactId>mule-transport-http</artifactId> <version>${project.version}</version> <scope>test</scope> <type>test-jar</type> </dependency> <!-- for integration tests --> <!-- Maven classpath gets messed up and WsdlCallTestCase doesn't pass unless this is here --> <dependency> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mule.transports</groupId> <artifactId>mule-transport-vm</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mule.transports</groupId> <artifactId>mule-transport-servlet</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mule.transports</groupId> <artifactId>mule-transport-jetty</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mule.transports</groupId> <artifactId>mule-transport-quartz</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>xmlunit</groupId> <artifactId>xmlunit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>mockobjects</groupId> <artifactId>mockobjects-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> </dependency> <dependency> <groupId>javax.xml.ws</groupId> <artifactId>jaxws-api</artifactId> </dependency> <!-- for dynamic client --> <dependency> <groupId>ant</groupId> <artifactId>ant</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>xalan</groupId> <artifactId>xalan</artifactId> <version>${xalanVersion}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>xalan</groupId> <artifactId>serializer</artifactId> <version>${xalanVersion}</version> <scope>test</scope> </dependency> </dependencies> <repositories> <repository> <id>java.net</id> <url>http://download.java.net/maven/2/</url> </repository> </repositories> </project>