axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r381414 - in /webservices/axis/trunk/proposals/dug/java/src/org/apache/axis: client/Call.java wsa/AsyncService.java
Date Mon, 27 Feb 2006 19:46:41 GMT
Author: dug
Date: Mon Feb 27 11:46:40 2006
New Revision: 381414

URL: http://svn.apache.org/viewcvs?rev=381414&view=rev
Log:
Merge async service's fix from trunk.
Add a util method to return the current Call object's request message

Modified:
    webservices/axis/trunk/proposals/dug/java/src/org/apache/axis/client/Call.java
    webservices/axis/trunk/proposals/dug/java/src/org/apache/axis/wsa/AsyncService.java

Modified: webservices/axis/trunk/proposals/dug/java/src/org/apache/axis/client/Call.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/proposals/dug/java/src/org/apache/axis/client/Call.java?rev=381414&r1=381413&r2=381414&view=diff
==============================================================================
--- webservices/axis/trunk/proposals/dug/java/src/org/apache/axis/client/Call.java (original)
+++ webservices/axis/trunk/proposals/dug/java/src/org/apache/axis/client/Call.java Mon Feb
27 11:46:40 2006
@@ -2219,6 +2219,15 @@
     }
 
     /**
+     * Get the current request message in the MessageContext
+     *
+     * @return Message the request message
+     */
+    public Message getRequestMessage() { 
+      return msgContext.getRequestMessage();
+    }
+
+    /**
      * Directly get the response message in our MessageContext.
      *
      * Shortcut for having to go thru the msgContext

Modified: webservices/axis/trunk/proposals/dug/java/src/org/apache/axis/wsa/AsyncService.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/proposals/dug/java/src/org/apache/axis/wsa/AsyncService.java?rev=381414&r1=381413&r2=381414&view=diff
==============================================================================
--- webservices/axis/trunk/proposals/dug/java/src/org/apache/axis/wsa/AsyncService.java (original)
+++ webservices/axis/trunk/proposals/dug/java/src/org/apache/axis/wsa/AsyncService.java Mon
Feb 27 11:46:40 2006
@@ -30,7 +30,7 @@
     }
 
     String msgID = null ;
-    Vector rv = MIHeader.fromRequest().getRelatesTo();
+    Vector rv = MIHeader.fromCurrentMessage().getRelatesTo();
     if ( rv == null ) return null ;
     for ( int i = 0 ; i < rv.size(); i ++ ) {
       RelatesToProperty rtp = (RelatesToProperty) rv.get(i);



Mime
View raw message