axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject cvs commit: ws-axis/c/src/client/transport/axis AxisTransport.cpp
Date Tue, 27 Jan 2004 06:10:19 GMT
damitha     2004/01/26 22:10:19

  Modified:    c/src/client Call.cpp
               c/src/client/transport/axis AxisTransport.cpp
  Log:
  
  
  Revision  Changes    Path
  1.24      +3 -3      ws-axis/c/src/client/Call.cpp
  
  Index: Call.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/client/Call.cpp,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- Call.cpp	17 Jan 2004 12:25:31 -0000	1.23
  +++ Call.cpp	27 Jan 2004 06:10:18 -0000	1.24
  @@ -145,7 +145,7 @@
   	try {
   		m_Soap.sessionid = "somesessionid1234";
   		//remove_headers(&m_Soap);
  -		if (AXIS_SUCCESS != OpenConnection()) return AXIS_FAIL;
  +		if (AXIS_SUCCESS != OpenConnection(false)) return AXIS_FAIL;
   		if (m_pAxisEngine) delete m_pAxisEngine;
   		m_pAxisEngine = new ClientAxisEngine();
   		if (!m_pAxisEngine) return AXIS_FAIL;
  @@ -222,10 +222,10 @@
    * functions with those streams at any time it wants to send/receive
    * bytes to/from the server.
    */
  -int Call::OpenConnection()
  +int Call::OpenConnection(bool secure)
   { 
       m_pTransport = new AxisTransport(&m_Soap);
  -    return m_pTransport->OpenConnection();
  +    return m_pTransport->OpenConnection(secure);
   }
   
   /**
  
  
  
  1.15      +2 -2      ws-axis/c/src/client/transport/axis/AxisTransport.cpp
  
  Index: AxisTransport.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/client/transport/axis/AxisTransport.cpp,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- AxisTransport.cpp	27 Jan 2004 04:13:23 -0000	1.14
  +++ AxisTransport.cpp	27 Jan 2004 06:10:18 -0000	1.15
  @@ -84,11 +84,11 @@
           delete m_pHttpTransport;
   }
   
  -int AxisTransport::OpenConnection()
  +int AxisTransport::OpenConnection(bool secure)
   {
       //Step 1 - Open Transport layer connection taking into account protocol and endpoint
URI in m_Soap
       Url objUrl(m_pSoap->so.http->uri_path);
  -    m_pHttpTransport = TransportFactory::GetTransport(objUrl, false);
  +    m_pHttpTransport = TransportFactory::GetTransport(objUrl, secure);
   	memset(&m_SendBuffers, 0, sizeof(sendbuffers)*NO_OF_SERIALIZE_BUFFERS); 
       if(m_pHttpTransport->Init())
       {
  
  
  

Mime
View raw message