roshan 2004/02/02 20:48:53
Modified: c/src/engine ClientAxisEngine.cpp
Log:
changes for header support
Revision Changes Path
1.11 +10 -8 ws-axis/c/src/engine/ClientAxisEngine.cpp
Index: ClientAxisEngine.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/engine/ClientAxisEngine.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ClientAxisEngine.cpp 14 Jan 2004 09:37:56 -0000 1.10
+++ ClientAxisEngine.cpp 3 Feb 2004 04:48:53 -0000 1.11
@@ -72,14 +72,7 @@
//Invoke all handlers and then the remote webservice
Status = Invoke(m_pMsgData); //we generate response in the same way even if this has
failed
- if (AXIS_SUCCESS == Status)
- {
- int nSoapVersion = m_pDZ->GetVersion();
- if (nSoapVersion == VERSION_LAST) /* version not supported */
- {
- return AXIS_FAIL;
- }
- }
+
}
while(0);
@@ -149,6 +142,15 @@
if (AXIS_SUCCESS != (Status = m_pDZ->SetInputStream(m_pSoap))) break;
}
while(0);
+
+ int nSoapVersion = m_pDZ->GetVersion();
+ if (nSoapVersion == VERSION_LAST) /* version not supported */
+ {
+ Status = AXIS_FAIL;
+ //return AXIS_FAIL;
+ }
+
+ m_pDZ->GetHeader();
/*
switch (level)
|