axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hawk...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp ClientStubWriter.java
Date Wed, 12 Jan 2005 17:02:05 GMT
hawkeye     2005/01/12 09:02:05

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal
                        ClientStubWriter.java
               c/src/engine/client Stub.cpp
               c/include/axis/client Stub.hpp
               c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp
                        ClientStubWriter.java
  Log:
  Removed updateStateAfterResponse from Stub.
  
  Revision  Changes    Path
  1.60      +0 -9      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/ClientStubWriter.java
  
  Index: ClientStubWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/ClientStubWriter.java,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- ClientStubWriter.java	7 Jan 2005 15:31:39 -0000	1.59
  +++ ClientStubWriter.java	12 Jan 2005 17:02:05 -0000	1.60
  @@ -792,7 +792,6 @@
               }
               writer.write("\t\t}\n");
               writer.write("\t}\n");
  -            writer.write("\tupdateStateAfterResponse();\n");
               writer.write("\tm_pCall->unInitialize();\n");
           }
           else
  @@ -804,7 +803,6 @@
                       writer.write("\t\t\t/*not successful*/\n\t\t}\n");
                   }
                   writer.write("\t}\n");
  -                writer.write("\tupdateStateAfterResponse();\n");
                   writer.write("\tm_pCall->unInitialize();\n");
                   //writer.write("\t}\n\tm_pCall->unInitialize();\n");
               }
  @@ -850,7 +848,6 @@
                                       + "&)arr2;\n\t\t}\n");
                       }
                       writer.write("\t}\n");
  -                    writer.write("\tupdateStateAfterResponse();\n");
                       writer.write("\tm_pCall->unInitialize();\n");
                       //        writer.write("\t}\n\tm_pCall->unInitialize();\n");
                       writer.write("\treturn RetArray;\n");
  @@ -869,7 +866,6 @@
                                   + returntype.getParamName()
                                   + "\", 0);\n\t\t}\n");
                           writer.write("\t}\n");
  -                        writer.write("\tupdateStateAfterResponse();\n");
                           writer.write("\tm_pCall->unInitialize();\n");
                           //            writer.write("\t}\n\tm_pCall->unInitialize();\n");
                           writer.write("\treturn Ret;\n");
  @@ -885,7 +881,6 @@
                                       + outparamType
                                       + "*)m_pCall->getAnyObject();\n\t\t}\n");
                               writer.write("\t}\n");
  -                            writer.write("\tupdateStateAfterResponse();\n");
                               writer.write("\tm_pCall->unInitialize();\n");
                               //                writer.write("\t}\n\tm_pCall->unInitialize();\n");
                               writer.write("\treturn pReturn;\n");
  @@ -908,7 +903,6 @@
                                       + "\", 0);\n\t\t}\n");
                               //Samisa
                               writer.write("\t}\n");
  -                            writer.write("\tupdateStateAfterResponse();\n");
                               writer.write("\tm_pCall->unInitialize();\n");
                               //                writer.write("\t}\n\tm_pCall->unInitialize();\n");
                               writer.write("\treturn pReturn;\n");
  @@ -947,7 +941,6 @@
           int j = 0;
           if (!paramsFault.hasNext())
           {
  -            writer.write("\tupdateStateAfterResponse();\n");
               writer.write("\tm_pCall->unInitialize();\n");
               //writer.write("\t\t\tm_pCall->unInitialize();\n");
               writer.write(
  @@ -1024,7 +1017,6 @@
           if (flag == true)
           {
               writer.write("\t\t\telse\n\t\t\t{\n");
  -            writer.write("\tupdateStateAfterResponse();\n");
               writer.write("\tm_pCall->unInitialize();\n");
               //writer.write("\t\t\t\t  m_pCall->unInitialize();\n");
               writer.write(
  @@ -1067,7 +1059,6 @@
                       + "\", 0);\n");
               writer.write(
                   "\t\t\t\tpSoapFault->setCmplxFaultObject(pFaultDetail);\n");
  -            writer.write("\tupdateStateAfterResponse();\n");
               writer.write("\tm_pCall->unInitialize();\n");
               //writer.write("\t\t\t\tm_pCall->unInitialize();\n");
               writer.write(
  
  
  
  1.32      +0 -4      ws-axis/c/src/engine/client/Stub.cpp
  
  Index: Stub.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/client/Stub.cpp,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- Stub.cpp	6 Jan 2005 05:21:52 -0000	1.31
  +++ Stub.cpp	12 Jan 2005 17:02:05 -0000	1.32
  @@ -199,10 +199,6 @@
       setSOAPMethodAttributes();
   }
   
  -void Stub::updateStateAfterResponse()
  -{
  -}
  -
   void Stub::setProxy(const char* pcProxyHost, unsigned int uiProxyPort)
   {
       m_pCall->setProxy(pcProxyHost, uiProxyPort);
  
  
  
  1.12      +0 -6      ws-axis/c/include/axis/client/Stub.hpp
  
  Index: Stub.hpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/client/Stub.hpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Stub.hpp	6 Jan 2005 05:21:52 -0000	1.11
  +++ Stub.hpp	12 Jan 2005 17:02:05 -0000	1.12
  @@ -718,12 +718,6 @@
       */
       void applyUserPreferences();
   
  -  /**
  -    * After the response is received and the results gathered update the Stub  
  -    * object's state with whatever information left over (e.g. get Set-Cookie 
  -    * value from transport to be used for subsequent calls) 
  -    */
  -    void updateStateAfterResponse();
       
     /**
       * Set SOAP Headers stored in m_vSOAPHeaderBlock vector.
  
  
  
  1.67      +0 -12     ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/ClientStubWriter.java
  
  Index: ClientStubWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/ClientStubWriter.java,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- ClientStubWriter.java	7 Jan 2005 15:31:39 -0000	1.66
  +++ ClientStubWriter.java	12 Jan 2005 17:02:05 -0000	1.67
  @@ -578,18 +578,14 @@
               }
               writer.write("\t\t\t}\n");
               writer.write("\t\t}\n");
  -            writer.write("\tupdateStateAfterResponse();\n");
               writer.write("\tm_pCall->unInitialize();\n");
  -            //writer.write("\t\t}\n\t\tm_pCall->unInitialize();\n");
           }
           else
               if (returntype == null)
               {
                   writer.write("\t\t\t/*not successful*/\n\t\t}\n");
                   writer.write("\t\t}\n");
  -                writer.write("\tupdateStateAfterResponse();\n");
                   writer.write("\tm_pCall->unInitialize();\n");
  -                //    writer.write("\t\t}\n\t\tm_pCall->unInitialize();\n");
               }
               else
                   if (returntypeisarray)
  @@ -631,7 +627,6 @@
                                   + ");\n\t\t\t}\n");
                       }
                       writer.write("\t\t}\n");
  -                    writer.write("\tupdateStateAfterResponse();\n");
                       writer.write("\tm_pCall->unInitialize();\n");
                       //        writer.write("\t\t}\n\t\tm_pCall->unInitialize();\n");
                       writer.write("\t\treturn RetArray;\n");
  @@ -648,7 +643,6 @@
                                   + returntype.getParamName()
                                   + "\", 0);\n\t\t\t}\n");
                           writer.write("\t\t}\n");
  -                        writer.write("\tupdateStateAfterResponse();\n");
                           writer.write("\tm_pCall->unInitialize();\n");
                           //            writer.write("\t\t}\n\t\tm_pCall->unInitialize();\n");
                           writer.write("\t\treturn Ret;\n");
  @@ -670,7 +664,6 @@
                                   + returntype.getParamName()
                                   + "\", 0);\n\t\t}\n");
                           writer.write("\t\t}\n");
  -                        writer.write("\tupdateStateAfterResponse();\n");
                           writer.write("\tm_pCall->unInitialize();\n");
                           //            writer.write("\t\t}\n\t\tm_pCall->unInitialize();\n");
                           writer.write("\t\treturn pReturn;\n");
  @@ -683,7 +676,6 @@
           writer.write(
               "\t\tif(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)\n");
           writer.write("\t\t{\n");
  -        writer.write("\tupdateStateAfterResponse();\n");
           writer.write("\tm_pCall->unInitialize();\n");
           //writer.write("\t\t\tm_pCall->unInitialize();\n");
           writer.write(
  @@ -710,9 +702,7 @@
           int j = 0;
           if (!paramsFault.hasNext())
           {
  -            writer.write("\tupdateStateAfterResponse();\n");
               writer.write("\tm_pCall->unInitialize();\n");
  -            //writer.write("\t\t\tm_pCall->unInitialize();\n");
               writer.write(
                   "\t\t\tthrow "
                       + wscontext.getSerInfo().getServicename()
  @@ -763,7 +753,6 @@
           if (flag == true)
           {
               writer.write("\t\t\telse\n\t\t\t{\n");
  -            writer.write("\tupdateStateAfterResponse();\n");
               writer.write("\tm_pCall->unInitialize();\n");
               writer.write("\t\t\t\t  m_pCall->unInitialize();\n");
               writer.write(
  @@ -807,7 +796,6 @@
                       + "\", 0);\n");
               writer.write(
                   "\t\t\t\t\tpSoapFault->setCmplxFaultObject(pFaultDetail);\n");
  -            writer.write("\tupdateStateAfterResponse();\n");
               writer.write("\tm_pCall->unInitialize();\n");
               //writer.write("\t\t\t\t\tm_pCall->unInitialize();\n");
               writer.write(
  
  
  

Mime
View raw message