You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2008/07/08 05:43:52 UTC

svn commit: r674711 - /webservices/axis/trunk/c/src/soap/SoapSerializer.cpp

Author: nadiramra
Date: Mon Jul  7 20:43:51 2008
New Revision: 674711

URL: http://svn.apache.org/viewvc?rev=674711&view=rev
Log:
Implement SoapSerializer::getSOAPMethod()

Modified:
    webservices/axis/trunk/c/src/soap/SoapSerializer.cpp

Modified: webservices/axis/trunk/c/src/soap/SoapSerializer.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/SoapSerializer.cpp?rev=674711&r1=674710&r2=674711&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/soap/SoapSerializer.cpp (original)
+++ webservices/axis/trunk/c/src/soap/SoapSerializer.cpp Mon Jul  7 20:43:51 2008
@@ -988,11 +988,10 @@
 
 SoapMethod * SoapSerializer::getSOAPMethod()
 {
-    /*
-     *TODO
-     * return the SOAPMethod object if one is available. If not available create a SOAPMethod and set it and return it.
-     */
-
+    if ( m_pSoapEnvelope &&
+        (m_pSoapEnvelope->m_pSoapBody))
+    	return m_pSoapEnvelope->m_pSoapBody->m_pSoapMethod;
+	
     return NULL;
 }