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 pr...@apache.org on 2005/01/07 12:11:32 UTC
cvs commit: ws-axis/c/src/engine/client Call.cpp
prestonf 2005/01/07 03:11:32
Modified: c/src/engine/client Call.cpp
Log:
Hi All,
These are modifications needed for the draft of the new http transport implementation AXIS3 (see AXISCPP-361).
Regards,
Fred Preston.
Revision Changes Path
1.83 +21 -6 ws-axis/c/src/engine/client/Call.cpp
Index: Call.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/engine/client/Call.cpp,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- Call.cpp 6 Jan 2005 05:21:52 -0000 1.82
+++ Call.cpp 7 Jan 2005 11:11:32 -0000 1.83
@@ -327,15 +327,30 @@
{
try
{
- if (!m_pTransport)
+ if( !m_pTransport)
+ {
m_pTransport = SOAPTransportFactory::getTransportObject(m_nTransportType);
- if (!m_pTransport) return AXIS_FAIL;
+
+ if( !m_pTransport)
+ {
+ return AXIS_FAIL;
+ }
+ }
+
+ char * pcChannelHTTPLibraryPath = g_pConfig->getAxisConfProperty( AXCONF_CHANNEL);
+ char * pcChannelHTTPSSLLibraryPath = g_pConfig->getAxisConfProperty( AXCONF_SSLCHANNEL);
+
+ if( pcChannelHTTPLibraryPath)
+ {
+ m_pTransport->setTransportProperty( CHANNEL_HTTP_DLL_NAME, pcChannelHTTPLibraryPath);
+ }
+
+ if( pcChannelHTTPSSLLibraryPath)
+ {
+ m_pTransport->setTransportProperty( CHANNEL_HTTP_SSL_DLL_NAME, pcChannelHTTPSSLLibraryPath);
+ }
m_pTransport->setEndpointUri(m_pcEndPointUri);
- /* damitha:SSLChannelFactory needs the ssl channel library name to load the
- optional ssl channel library*/
- char* pcLibraryPath = g_pConfig->getAxisConfProperty(AXCONF_SSLCHANNEL);
- m_pTransport->setTransportProperty(DLL_NAME, pcLibraryPath);
//if use proxy then set proxy
if( m_bUseProxy )