svn commit: r918401 - /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java

2010-03-03 Thread isurues
Author: isurues
Date: Wed Mar  3 11:00:45 2010
New Revision: 918401

URL: http://svn.apache.org/viewvc?rev=918401&view=rev
Log:
It is possible to deply services without a version in axis2. therefore Version 
instance can be null in this method. Fixing a possible NPE

Modified:

axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java

Modified: 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java?rev=918401&r1=918400&r2=918401&view=diff
==
--- 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
 Wed Mar  3 11:00:45 2010
@@ -294,7 +294,11 @@
  * @param moduleVersion the version of the module to remove
  */
 public void removeModule(String moduleName, Version moduleVersion) {
-removeModule(moduleName, moduleVersion.toString());
+String version = null;
+if (moduleVersion != null) {
+version = moduleVersion.toString();
+}
+removeModule(moduleName, version);
 }
 
 /**




svn commit: r918666 - in /axis/axis2/java/core/trunk/modules/jaxws-integration: ./ test-resources/pdf/ test-resources/wsdl/ test/org/apache/axis2/jaxws/sample/ test/org/apache/axis2/jaxws/sample/mtomf

2010-03-03 Thread nagy
Author: nagy
Date: Wed Mar  3 19:51:46 2010
New Revision: 918666

URL: http://svn.apache.org/viewvc?rev=918666&view=rev
Log:
AXIS2-4644

Added new tests to verify MTOMFeature JAX-WS API functionality.

Contributor: Nikhil Thaker


Added:
axis/axis2/java/core/trunk/modules/jaxws-integration/test-resources/pdf/

axis/axis2/java/core/trunk/modules/jaxws-integration/test-resources/pdf/JAX-WS.pdf
   (with props)

axis/axis2/java/core/trunk/modules/jaxws-integration/test-resources/wsdl/ProcessDocumentService.wsdl

axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/MTOMFeatureTests.java

axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/mtomfeature/

axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/mtomfeature/META-INF/

axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/mtomfeature/META-INF/ProcessDocumentService.wsdl

axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/mtomfeature/ProcessDocumentDelegate.java

axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/mtomfeature/ProcessDocumentPortBindingImpl.java

axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/mtomfeature/ProcessDocumentService.java
Modified:
axis/axis2/java/core/trunk/modules/jaxws-integration/pom.xml

Modified: axis/axis2/java/core/trunk/modules/jaxws-integration/pom.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/jaxws-integration/pom.xml?rev=918666&r1=918665&r2=918666&view=diff
==
--- axis/axis2/java/core/trunk/modules/jaxws-integration/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/jaxws-integration/pom.xml Wed Mar  3 
19:51:46 2010
@@ -369,6 +369,12 @@
 
 
 
+Generating java from 
ProcessDocumentService.wsdl
+
+
+
+
+
 
 
 
@@ -1280,6 +1286,22 @@



+   
+   

+  

+  

+   

+   

+  

+   

+   

+   
+   
+   
+   
+   
 
 
 
@@ -1369,6 +1391,7 @@
 **/BasicAuthSecurityTests.java
 **/AddressBookTests.java
 **/MtomSampleTests.java
+**/MTOMFeatureTests.java
 **/JAXBProviderTests.java
 **/BareTests.java
 **/AddNumbersHandlerTests.java
@@ -1419,6 +1442,7 @@
 **/SoapMessageProviderTests.java
 **/StringProviderTests.java
 **/OMProviderTests.java
+

 
 

Added: 
axis/axis2/java/core/trunk/modules/jaxws-integration/test-resources/pdf/JAX-WS.pdf
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/jaxws-integration/test-resources/pdf/JAX-WS.pdf?rev=918666&view=auto
==
Binary file - no diff available.

Propchange: 
axis/axis2/java/core/trunk/modules/jaxws-integration/test-resources/pdf/JAX-WS.pdf
--
svn:mime-type = application/octet-stream

Added: 
axis/axis2/java/core/trunk