Hi Dims,
Sounds good. I will have a look at the source code and get back to you soon.
Thanks,
Lasantha
Davanum Srinivas wrote:
Lin Sun, Lasantha,
Please see the attached diff that is not checked in yet. Basically
i've commented out some of the cxf stuff so that Axis2 integration
kicks in. There are some changes in JaxWSTest.java for the url for the
web service itself.
Right now the "?wsdl" works a bit. But the wsdl itself has some stuff
missing. Am working on getting the actual call to work. Hopefully will
be able to do that in a day or two. Once the two of you get familiar
with the current code. We can talk about what else needs to be done
both in terms of features and bugs :) For example, i am currently
using RPCMessageReceiver, we will need to switch to the
JAXWSMessageReceiver. I will drop a note as soon as i get the actual
web service call working. But in the mean while please go thru the
code in geronimo svn repo as well as Axis2 (basically the kernel
module and jaxws module).
Sounds good?
thanks,
dims
------------------------------------------------------------------------
Index: assemblies/geronimo-tomcat6-jee5/src/main/var/config/config.xml
===================================================================
--- assemblies/geronimo-tomcat6-jee5/src/main/var/config/config.xml
(revision 496448)
+++ assemblies/geronimo-tomcat6-jee5/src/main/var/config/config.xml
(working copy)
@@ -162,9 +162,9 @@
</pattern>
</reference>
<reference name="WebServiceBuilder">
- <pattern>
+ <!--<pattern>
<name>CXFBuilder</name>
- </pattern>
+ </pattern>-->
<pattern>
<name>Axis2Builder</name>
</pattern>
Index: assemblies/geronimo-jetty6-jee5/src/main/var/config/config.xml
===================================================================
--- assemblies/geronimo-jetty6-jee5/src/main/var/config/config.xml
(revision 496448)
+++ assemblies/geronimo-jetty6-jee5/src/main/var/config/config.xml
(working copy)
@@ -155,9 +155,9 @@
</pattern>
</reference>
<reference name="WebServiceBuilder">
- <pattern>
+ <!--<pattern>
<name>CXFBuilder</name>
- </pattern>
+ </pattern>-->
<pattern>
<name>Axis2Builder</name>
</pattern>
Index: configs/tomcat6-deployer/src/plan/plan.xml
===================================================================
--- configs/tomcat6-deployer/src/plan/plan.xml (revision 496448)
+++ configs/tomcat6-deployer/src/plan/plan.xml (working copy)
@@ -29,9 +29,9 @@
<name>GBeanBuilder</name>
</reference>
<references name="WebServiceBuilder">
- <pattern>
+ <!--<pattern>
<name>CXFBuilder</name>
- </pattern>
+ </pattern>-->
<pattern>
<name>Axis2Builder</name>
</pattern>
Index: configs/jetty6-deployer/src/plan/plan.xml
===================================================================
--- configs/jetty6-deployer/src/plan/plan.xml (revision 496448)
+++ configs/jetty6-deployer/src/plan/plan.xml (working copy)
@@ -48,9 +48,9 @@
</pattern>
</references>
<references name="WebServiceBuilder">
- <pattern>
+ <!--<pattern>
<name>CXFBuilder</name>
- </pattern>
+ </pattern>-->
<pattern>
<name>Axis2Builder</name>
</pattern>
Index: testsuite/webservices-testsuite/pom.xml
===================================================================
--- testsuite/webservices-testsuite/pom.xml (revision 496448)
+++ testsuite/webservices-testsuite/pom.xml (working copy)
@@ -86,7 +86,20 @@
<plugin>
<groupId>org.apache.geronimo.plugins</groupId>
<artifactId>geronimo-maven-plugin</artifactId>
- </plugin>
+ <configuration>
+ <optionSets>
+ <optionSet>
+ <id>debug</id>
+ <options>
+ <option>-Xdebug</option>
+ <option>-Xnoagent</option>
+ <option>
-Djava.compiler=NONE</option>
+
<option>-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006</option>
+ </options>
+ </optionSet>
+ </optionSets>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.geronimo.genesis.plugins</groupId>
Index:
testsuite/webservices-testsuite/jaxws-tests/jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java
===================================================================
---
testsuite/webservices-testsuite/jaxws-tests/jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java
(revision 496448)
+++
testsuite/webservices-testsuite/jaxws-tests/jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java
(working copy)
@@ -61,13 +61,14 @@
InputStream requestInput =
JaxWSTest.class.getResourceAsStream("/request1.xml");
assertNotNull("SOAP request not specified", requestInput);
- URL url = new URL(baseURL + warName + "/servlet");
+ URL url = new URL(baseURL + warName + "/services/GreeterImpl");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
try {
conn.setDoOutput(true);
conn.setDoInput(true);
conn.setUseCaches(false);
conn.setRequestMethod("POST");
+ conn.setRequestProperty("SOAPAction", "\"greetMe\"");
conn.setRequestProperty("Content-Type", "text/xml");
OutputStream out = conn.getOutputStream();
@@ -131,7 +132,7 @@
String warName = System.getProperty("webAppName");
assertNotNull("Web application name not specified", warName);
- URL url = new URL(baseURL + warName + "/servlet?wsdl");
+ URL url = new URL(baseURL + warName + "/services/GreeterImpl?wsdl");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
try {
conn.setUseCaches(false);
Index:
testsuite/webservices-testsuite/jaxws-tests/jaxws-war/src/main/webapp/WEB-INF/web.xml
===================================================================
---
testsuite/webservices-testsuite/jaxws-tests/jaxws-war/src/main/webapp/WEB-INF/web.xml
(revision 496448)
+++
testsuite/webservices-testsuite/jaxws-tests/jaxws-war/src/main/webapp/WEB-INF/web.xml
(working copy)
@@ -35,5 +35,9 @@
<servlet-name>cxfPojoServlet</servlet-name>
<url-pattern>/servlet</url-pattern>
</servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>cxfPojoServlet</servlet-name>
+ <url-pattern>/services/*</url-pattern>
+ </servlet-mapping>
</web-app>
Index: pom.xml
===================================================================
--- pom.xml (revision 496448)
+++ pom.xml (working copy)
@@ -1381,7 +1381,7 @@
<id>debug</id>
<options>
<option>-Xdebug</option>
-
<option>-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n</option>
+ <option>-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006</option>
</options>
</optionSet>
</optionSets>
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]