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 de...@apache.org on 2006/05/04 06:30:04 UTC
svn commit: r399540 -
/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
Author: deepal
Date: Wed May 3 21:30:01 2006
New Revision: 399540
URL: http://svn.apache.org/viewcvs?rev=399540&view=rev
Log:
- setting axisService group when setting AxisService to msgctx
Modified:
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java?rev=399540&r1=399539&r2=399540&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java Wed May 3 21:30:01 2006
@@ -16,12 +16,11 @@
package org.apache.axis2.context;
+import org.apache.axiom.om.OMElement;
import org.apache.axiom.soap.SOAP11Constants;
import org.apache.axiom.soap.SOAP12Constants;
-import org.apache.axiom.soap.SOAPEnvelope;
import org.apache.axiom.soap.SOAPConstants;
-import org.apache.axiom.om.OMNode;
-import org.apache.axiom.om.OMElement;
+import org.apache.axiom.soap.SOAPEnvelope;
import org.apache.axis2.AxisFault;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.addressing.RelatesTo;
@@ -635,6 +634,7 @@
public void setAxisService(AxisService axisService) {
this.axisService = axisService;
+ this.axisServiceGroup = (AxisServiceGroup)this.axisService.getParent();
}
public void setAxisServiceGroup(AxisServiceGroup axisServiceGroup) {
@@ -947,7 +947,7 @@
* We do this basically to make sure we don't parse and build the om tree of the whole envelope
* looking for the soap header. If this method returns true, there still is no guarantee that there is
* a soap:Header present, use getHeader() and also check for null on getHeader() to be absolutely sure.
- *
+ *
* @return boolean
*/
public boolean isHeaderPresent() {