axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r386794 - in /webservices/axis/trunk/java/src/org/apache/axis/wsa: EndpointReference.java MIHeader.java
Date Sat, 18 Mar 2006 02:50:17 GMT
Author: dug
Date: Fri Mar 17 18:50:15 2006
New Revision: 386794

URL: http://svn.apache.org/viewcvs?rev=386794&view=rev
Log:
fix typo and w3c wsa fix

Modified:
    webservices/axis/trunk/java/src/org/apache/axis/wsa/EndpointReference.java
    webservices/axis/trunk/java/src/org/apache/axis/wsa/MIHeader.java

Modified: webservices/axis/trunk/java/src/org/apache/axis/wsa/EndpointReference.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/src/org/apache/axis/wsa/EndpointReference.java?rev=386794&r1=386793&r2=386794&view=diff
==============================================================================
--- webservices/axis/trunk/java/src/org/apache/axis/wsa/EndpointReference.java (original)
+++ webservices/axis/trunk/java/src/org/apache/axis/wsa/EndpointReference.java Fri Mar 17
18:50:15 2006
@@ -73,7 +73,7 @@
     if ( this.referenceParameters != null ) {
       for ( int i = 0 ; i < this.referenceParameters.size() ; i++ ) {
         String prop = (String) this.referenceParameters.get(i);
-        newObj.addReferenceProperty( new String(prop) );
+        newObj.addReferenceParameter( new String(prop) );
       }
     }
     return newObj ;
@@ -392,6 +392,12 @@
   public void addReferenceParameter(Element element) {
     addReferenceParameter( XMLUtils.ElementToString(element) );
   }
+
+  public void addReferenceParameter(String ns, String elemName, String value) 
+    throws Exception {
+    newReferenceParameter(ns, elemName, value);
+  }
+
 
   // Util
   public Element newReferenceParameter(String ns, String name) throws Exception {

Modified: webservices/axis/trunk/java/src/org/apache/axis/wsa/MIHeader.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/src/org/apache/axis/wsa/MIHeader.java?rev=386794&r1=386793&r2=386794&view=diff
==============================================================================
--- webservices/axis/trunk/java/src/org/apache/axis/wsa/MIHeader.java (original)
+++ webservices/axis/trunk/java/src/org/apache/axis/wsa/MIHeader.java Fri Mar 17 18:50:15
2006
@@ -33,7 +33,7 @@
  * create and read these headers to/from a message.
  */
 public class MIHeader {
-  String            namespace      = EndpointReference.staticNS ;
+  String            namespace      = EndpointReference.getGlobalWSAVersion();
   boolean           requestMessage = false;
 
   String            messageID           = null ;



Mime
View raw message