cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Müller <rmuelle...@gmail.com>
Subject Re: Why Apache CXF not being used in WebLogic 12c ?
Date Thu, 02 Oct 2014 11:02:25 GMT
Hi Felix,

I'm successfully using WebLogic 12c with Java 7 and CXF 2.7.12.

The following CXF JARs are contained in my EAR file APP-INF/lib folder:
cxf-api-2.7.12.jar
cxf-rt-bindings-soap-2.7.12.jar
cxf-rt-bindings-xml-2.7.12.jar
cxf-rt-core-2.7.12.jar
cxf-rt-databinding-jaxb-2.7.12.jar
cxf-rt-frontend-jaxws-2.7.12.jar
cxf-rt-frontend-simple-2.7.12.jar
cxf-rt-transports-http-2.7.12.jar
cxf-rt-ws-addr-2.7.12.jar
cxf-rt-ws-security-2.7.12.jar
cxf-tools-common-2.7.12.jar


My application.xml looks similar, this is my weblogic-application.xml:

<?xml version="1.0" encoding="UTF-8"?>
<weblogic-application
xmlns="http://xmlns.oracle.com/weblogic/weblogic-application"
                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       
xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-application
       
http://xmlns.oracle.com/weblogic/weblogic-application/1.4/weblogic-application.xsd">
	<application-param>
		<param-name>webapp.encoding.default</param-name>
		<param-value>UTF-8</param-value>
	</application-param>
	<prefer-application-packages>
		<package-name>org.slf4j.*</package-name>
		<package-name>org.apache.log4j.*</package-name>
		<package-name>org.apache.xerces.*</package-name>
		<package-name>antlr.*</package-name>
        <package-name>com.ctc.wstx.*</package-name>
	</prefer-application-packages>
</weblogic-application>


In the startup script I have a line
JAVA_OPTIONS="-Dorg.apache.cxf.binding.soap.messageFactoryClassName=com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl
${JAVA_OPTIONS}"


Greetings
Roland




--
View this message in context: http://cxf.547215.n5.nabble.com/Why-Apache-CXF-not-being-used-in-WebLogic-12c-tp5749219p5749385.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Mime
View raw message