Patches item #653881, was opened at 2002-12-14 17:50
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=653881&group_id=22866

Category: JbossSOAP
Group: CVS HEAD
Status: Open
Resolution: None
Priority: 5
Submitted By: John Fawcett (fawce)
Assigned to: Nobody/Anonymous (nobody)
Summary: update jboss-net to use axis1.1beta

Initial Comment:
jboss.net upgrades to axis1.1beta with these minor 
chages applied to  
jboss.net/src/main/org/jboss/net/axis/server/AxisService.
java

and the new jar files from the axis project placed in 
thirdparty/apach-axis and thirdparty/ibm-*

compiles and runs, i've deployed an ejb based web 
service under it.
thanks,
fawce
 i've never submitted a patch before, so here goes 
nothing...


@@ -5,7 +5,7 @@
  * See terms of license at gnu.org.
  */
 
-// $Id: AxisService.java,v 1.1 2002/11/27 04:30:42 
jfawcett Exp $
+// $Id: AxisService.java,v 1.2 2002/12/14 00:33:31 
jfawcett Exp $
 
 package org.jboss.net.axis.server;
 
@@ -58,6 +58,7 @@ import javax.naming.InitialContext;
 import javax.naming.LinkRef;
 import javax.naming.Context;
 import javax.naming.NamingException;
+import javax.xml.parsers.ParserConfigurationException;
 
 import java.io.FilenameFilter;
 import java.io.File;
@@ -82,7 +83,7 @@ import java.lang.reflect.Proxy;
  * within JMX.
  * @created 27. September 2001
  * @author <a 
href="mailto:[EMAIL PROTECTED]";>Christoph G. 
Jung</a>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
  */
 
 public class AxisService
@@ -410,9 +411,17 @@ public class AxisService
          // the original command
          Element root= doc.getDocumentElement();
          // the deployment command document
-         Document deployDoc= XMLUtils.newDocument();
+         Document deployDoc = null;
+         
+         Document deployClientDoc = null;
+         try{
+         deployDoc= XMLUtils.newDocument();
          // the client deployment command document
-         Document deployClientDoc= 
XMLUtils.newDocument();
+          deployClientDoc= XMLUtils.newDocument();
+         } catch (ParserConfigurationException e){
+               e.printStackTrace();
+         }
+         
          // create command
          Element deploy=
             deployDoc.createElementNS
(root.getNamespaceURI(), "deployment");
@@ -540,7 +549,12 @@ public class AxisService
       // this was the deployment command
       Element root= (Element) ((Document) 
sdi.metaData).getDocumentElement();
       // from which we extract an undeployment 
counterpart
-      Document undeployDoc= XMLUtils.newDocument();
+      Document undeployDoc = null;
+      try{
+      undeployDoc= XMLUtils.newDocument();
+      } catch (ParserConfigurationException e){
+       e.printStackTrace();    
+      }
       Element undeploy=
          undeployDoc.createElementNS
(root.getNamespaceURI(), "undeployment");
       


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=653881&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to