Permalink
Browse files

Combing saajTest test with the more generalized moduleTest. Also fixi…

…ng the Sun SAAJ module
  • Loading branch information...
1 parent 28bf532 commit b0fa76449ebcd035991e39d298a59e0b763cc013 @kylape committed Nov 17, 2012
View
@@ -6,3 +6,6 @@ The web service is pretty straightforward to use (use SoapUI), but the servlet n
http://localhost:8080/moduleTest/moduleTest?command=getModuleOfClass&className=javax.xml.ws.Service
+Use the `testSaajMessageFactory` method to figure out how to make a deployment in EAP 6 use the SAAJ implementation found in the JDK.
+
+Make sure to copy the `sun.internal.saaj` module to your `$JBOSS_HOME/modules` directory.
@@ -27,19 +27,20 @@
<dependencies>
<system export="true">
<paths>
- <path name="com/sun/xml/internal/messaging/saaj/"/>
- <path name="com/sun/xml/internal/messaging/saaj/client/p2p/"/>
- <path name="com/sun/xml/internal/messaging/saaj/packaging/mime/"/>
- <path name="com/sun/xml/internal/messaging/saaj/packaging/mime/internet/"/>
- <path name="com/sun/xml/internal/messaging/saaj/packaging/mime/util/"/>
- <path name="com/sun/xml/internal/messaging/saaj/soap/"/>
- <path name="com/sun/xml/internal/messaging/saaj/soap/dynamic/"/>
- <path name="com/sun/xml/internal/messaging/saaj/soap/impl/"/>
- <path name="com/sun/xml/internal/messaging/saaj/soap/name/"/>
- <path name="com/sun/xml/internal/messaging/saaj/soap/ver1_1/"/>
- <path name="com/sun/xml/internal/messaging/saaj/soap/ver1_2/"/>
- <path name="com/sun/xml/internal/messaging/saaj/util/"/>
- <path name="com/sun/xml/internal/messaging/saaj/util/transform/"/>
+ <path name="com/sun/xml/internal/messaging/saaj"/>
+ <path name="com/sun/xml/internal/messaging/saaj/client/p2p"/>
+ <path name="com/sun/xml/internal/messaging/saaj/packaging/mime"/>
+ <path name="com/sun/xml/internal/messaging/saaj/packaging/mime/internet"/>
+ <path name="com/sun/xml/internal/messaging/saaj/packaging/mime/util"/>
+ <path name="com/sun/xml/internal/messaging/saaj/soap"/>
+ <path name="com/sun/xml/internal/messaging/saaj/soap/dynamic"/>
+ <path name="com/sun/xml/internal/messaging/saaj/soap/impl"/>
+ <path name="com/sun/xml/internal/messaging/saaj/soap/name"/>
+ <path name="com/sun/xml/internal/messaging/saaj/soap/ver1_1"/>
+ <path name="com/sun/xml/internal/messaging/saaj/soap/ver1_2"/>
+ <path name="com/sun/xml/internal/messaging/saaj/util"/>
+ <path name="com/sun/xml/internal/messaging/saaj/util/transform"/>
+ <path name="javax/xml/soap"/>
</paths>
<exports>
<include-set>
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- To the extent possible under law, Red Hat, Inc. has dedicated all copyright
- to this software to the public domain worldwide, pursuant to the CC0 Public
- Domain Dedication. This software is distributed without any warranty. See
- <http://creativecommons.org/publicdomain/zero/1.0/>.
--->
-<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
- <module>
- <web>
- <web-uri>saajTest.war</web-uri>
- <context-root>/saajTest</context-root>
- </web>
- </module>
- <module>
- <ejb>saajTest.jar</ejb>
- </module>
-</application>
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- To the extent possible under law, Red Hat, Inc. has dedicated all copyright
- to this software to the public domain worldwide, pursuant to the CC0 Public
- Domain Dedication. This software is distributed without any warranty. See
- <http://creativecommons.org/publicdomain/zero/1.0/>.
--->
-<jboss-deployment-structure>
- <ear-subdeployments-isolated>false</ear-subdeployments-isolated>
- <sub-deployment name="saajTest.jar">
- <exclusions>
- <module name="org.jboss.ws.saaj-impl"/>
- </exclusions>
- <dependencies>
- <module name="sun.internal.saaj"/>
- <module name="org.jboss.modules"/>
- </dependencies>
- </sub-deployment>
- <sub-deployment name="saajTest.war">
- <exclusions>
- <module name="org.apache.log4j"/>
- <module name="org.hibernate"/>
- <!--<module name="javaee.api"/>-->
- <module name="com.sun.xml.messaging.saaj"/>
- <module name="javax.xml.soap.api"/>
- <module name="org.jboss.ws.saaj-impl"/>
- <module name="javax.activation.api"/>
- </exclusions>
- <dependencies>
- <module name="org.jboss.modules"/>
- </dependencies>
- </sub-deployment>
-</jboss-deployment-structure>
View
@@ -1,5 +0,0 @@
-###Make a deployment use JDK SAAJ
-
-This is an experiment to figure out how to make a deployment in EAP 6 use the SAAJ implementation found in the JDK.
-
-Make sure to copy the `sun.internal.saaj` module to your `$JBOSS_HOME/modules` directory.
@@ -1,2 +0,0 @@
-test-client=
-auth-conf=${basedir}/auth.conf
Oops, something went wrong.

0 comments on commit b0fa764

Please sign in to comment.