axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r366489 - /webservices/axis2/trunk/java/modules/samples/src/sample/axisversion/Version.java
Date Fri, 06 Jan 2006 12:26:45 GMT
Author: deepal
Date: Fri Jan  6 04:26:41 2006
New Revision: 366489

URL: http://svn.apache.org/viewcvs?rev=366489&view=rev
Log:
- made changes to cope with Java2wsld , otherwise code generators are given error

Modified:
    webservices/axis2/trunk/java/modules/samples/src/sample/axisversion/Version.java

Modified: webservices/axis2/trunk/java/modules/samples/src/sample/axisversion/Version.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/axisversion/Version.java?rev=366489&r1=366488&r2=366489&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/src/sample/axisversion/Version.java (original)
+++ webservices/axis2/trunk/java/modules/samples/src/sample/axisversion/Version.java Fri Jan
 6 04:26:41 2006
@@ -25,8 +25,8 @@
 
     public OMElement getVersion() {
         OMFactory fac = OMAbstractFactory.getOMFactory();
-        OMNamespace omNs = fac.createOMNamespace("http://localhost/my", "my");
-        OMElement version = fac.createOMElement("Version", omNs);
+        OMNamespace omNs = fac.createOMNamespace("http://org.apache.axis2/xsd", "ns1");
+        OMElement version = fac.createOMElement("getVersionResponse", omNs);
         version.addChild(
                 fac.createText(version,
                         "Hello I am Axis2 version service , My version is " + org.apache.axis2.Version.getVersionText()));



Mime
View raw message