butek 02/02/08 14:25:01
Modified: java/src/org/apache/axis/transport/http AxisServlet.java
Log:
(OOPS! Missed one!)
Improve performance of Call/MessageContext properties in 3 steps:
1. (done in earlier commit) Turn the common properties into accessors while still
making them available via get/setProperty.
2. (work in this commit) Call the accessors in the runtime rather than
get/setProperty.
Remove all the various constant property name declarations and stick with one set
in Call.
3. (far future commit) Implement nested properties so that we don't have properties
objects in each of Stub/Call/MessageContext/(anything else?). I don't know if this
idea can be reconciled with properties-as-accessors, but I'll think about it.
Revision Changes Path
1.78 +4 -2
xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java
Index: AxisServlet.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- AxisServlet.java 7 Feb 2002 13:46:36 -0000 1.77
+++ AxisServlet.java 8 Feb 2002 22:25:01 -0000 1.78
@@ -509,8 +509,10 @@
if ( "".equals(tmp) )
tmp = req.getContextPath(); // Is this right?
- if ( tmp != null )
- msgContext.setProperty( HTTPConstants.MC_HTTP_SOAPACTION, tmp );
+ if ( tmp != null ) {
+ msgContext.setUseSOAPAction( true );
+ msgContext.setSOAPActionURI( tmp );
+ }
// Create a Session wrapper for the HTTP session.
// These can/should be pooled at some point. (Sam is Watching! :-)