Author: midon
Date: Thu Apr 23 23:18:52 2009
New Revision: 768092
URL: http://svn.apache.org/viewvc?rev=768092&view=rev
Log:
ODE-591: build valid requests
Modified:
ode/branches/APACHE_ODE_1.X/axis2/src/test/java/org/apache/ode/axis2/management/ExecutionPathTest.java
Modified:
ode/branches/APACHE_ODE_1.X/axis2/src/test/java/org/apache/ode/axis2/management/ExecutionPathTest.java
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2/src/test/java/org/apache/ode/axis2/management/ExecutionPathTest.java?rev=768092&r1=768091&r2=768092&view=diff
==============================================================================
---
ode/branches/APACHE_ODE_1.X/axis2/src/test/java/org/apache/ode/axis2/management/ExecutionPathTest.java
(original)
+++
ode/branches/APACHE_ODE_1.X/axis2/src/test/java/org/apache/ode/axis2/management/ExecutionPathTest.java
Thu Apr 23 23:18:52 2009
@@ -89,11 +89,11 @@
_client = new ServiceClientUtil();
// Use the factory to create three elements
- OMNamespace depns = _factory.createOMNamespace(Namespaces.ODE_PMAPI,
"deployapi");
- OMElement root = _factory.createOMElement("deploy", null);
- OMElement namePart = _factory.createOMElement("name", depns);
+ OMNamespace depns =
_factory.createOMNamespace(Namespaces.ODE_PMAPI_NS, "deployapi");
+ OMElement root = _factory.createOMElement("deploy", depns);
+ OMElement namePart = _factory.createOMElement("name", null);
namePart.setText("DynPartner");
- OMElement zipPart = _factory.createOMElement("package", depns);
+ OMElement zipPart = _factory.createOMElement("package", null);
OMElement zipElmt = _factory.createOMElement("zip", depns);
// Add the zip to deploy
@@ -122,9 +122,9 @@
protected void tearDown() throws Exception {
// Prepare undeploy message
- OMNamespace depns = _factory.createOMNamespace(Namespaces.ODE_PMAPI,
"deployapi");
+ OMNamespace depns =
_factory.createOMNamespace(Namespaces.ODE_PMAPI_NS, "deployapi");
OMElement root = _factory.createOMElement("undeploy", depns);
- OMElement part = _factory.createOMElement("processName", null);
+ OMElement part = _factory.createOMElement("packageName", null);
part.setText("DynPartner");
root.addChild(part);