This patch requires a little more scrutiny: Have I caught all the
places that need changing? It passes all the tests on my machine.
Ted
Index: org/apache/axis/client/AdminClient.java
===================================================================
RCS file: /home/cvspublic/xml-axis/java/src/org/apache/axis/client/AdminClient.java,v
retrieving revision 1.51
diff -u -r1.51 AdminClient.java
--- org/apache/axis/client/AdminClient.java 5 Feb 2002 16:22:39 -0000 1.51
+++ org/apache/axis/client/AdminClient.java 8 Feb 2002 06:29:12 -0000
@@ -177,7 +177,7 @@
public String list() throws Exception {
log( JavaUtils.getMessage("doList00") );
- String str = "<m:list xmlns:m=\"AdminService\"/>" ;
+ String str = "<m:list xmlns:m=\"urn:AdminService\"/>" ;
ByteArrayInputStream input = new ByteArrayInputStream(str.getBytes());
return process(input);
}
@@ -189,14 +189,14 @@
public String quit() throws Exception {
log(JavaUtils.getMessage("doQuit00"));
- String str = "<m:quit xmlns:m=\"AdminService\"/>";
+ String str = "<m:quit xmlns:m=\"urn:AdminService\"/>";
ByteArrayInputStream input = new ByteArrayInputStream(str.getBytes());
return process(input);
}
public String undeployHandler(String handlerName) throws Exception {
log(JavaUtils.getMessage("doQuit00"));
- String str = "<m:undeploy xmlns:m=\"AdminService\">" +
+ String str = "<m:undeploy xmlns:m=\"urn:AdminService\">" +
"<handler name=\"" + handlerName + "\"/>"+
"</m:undeploy>" ;
ByteArrayInputStream input = new ByteArrayInputStream(str.getBytes());
@@ -205,7 +205,7 @@
public String undeployService(String serviceName) throws Exception {
log(JavaUtils.getMessage("doQuit00"));
- String str = "<m:undeploy xmlns:m=\"AdminService\">" +
+ String str = "<m:undeploy xmlns:m=\"urn:AdminService\">" +
"<service name=\"" + serviceName + "\"/>"+
"</m:undeploy>" ;
ByteArrayInputStream input = new ByteArrayInputStream(str.getBytes());
@@ -274,7 +274,7 @@
log(JavaUtils.getMessage("needPwd00"));
return null;
}
- String str = "<m:passwd xmlns:m=\"AdminService\">";
+ String str = "<m:passwd xmlns:m=\"urn:AdminService\">";
str += args[i + 1];
str += "</m:passwd>";
input = new ByteArrayInputStream(str.getBytes());
@@ -342,7 +342,7 @@
if ( opts != null ) processOpts( opts );
- call.setProperty( HTTPConstants.MC_HTTP_SOAPACTION, "AdminService");
+ call.setProperty( HTTPConstants.MC_HTTP_SOAPACTION, "urn:AdminService");
Vector result = null ;
Object[] params = new Object[] { new SOAPBodyElement(input) };
Index: org/apache/axis/server/server-config.wsdd
===================================================================
RCS file: /home/cvspublic/xml-axis/java/src/org/apache/axis/server/server-config.wsdd,v
retrieving revision 1.10
diff -u -r1.10 server-config.wsdd
--- org/apache/axis/server/server-config.wsdd 1 Feb 2002 05:21:20 -0000 1.10
+++ org/apache/axis/server/server-config.wsdd 8 Feb 2002 06:29:12 -0000
@@ -16,7 +16,7 @@
<handler type="java:org.apache.axis.transport.local.LocalResponder"
name="LocalResponder"/>
<handler type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"
name="Authenticate"/>
- <service name="AdminService" provider="java:MSG">
+ <service name="urn:AdminService" provider="java:MSG">
<parameter name="allowedMethods" value="AdminService"/>
<parameter name="enableRemoteAdmin" value="false"/>
<parameter name="className" value="org.apache.axis.utils.Admin"/>