You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by du...@apache.org on 2006/02/27 20:46:41 UTC
svn commit: r381414 - in
/webservices/axis/trunk/proposals/dug/java/src/org/apache/axis:
client/Call.java wsa/AsyncService.java
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);