Hi,
 
a few months ago, I was asked to change my Axis C++ (1.5) client to work
with SSL as soon as possible, and I did manage to get it working (to a
axis-java webservice).
Took me a little time to dig into this and also some small changes to
the 1.5 sources (which are probably unnecessary if you can use the
SVN-head).
 
There are some tricky bits, the most important:
* you must build the HTTPSSLChannel.dll yourself
* most axiscpp.conf properties have defaults, so you don't need special
settings for a normal client, but for SSL you must use AXISCPP_DEPLOY
environment variable and appropriate axiscpp.conf (with
Channel_HTTP_SSL: .../HTTPSSLChannel.dll)
 
Check out this thread and replies in the archives for my findings:
http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200602.mbox/%3c6
[EMAIL PROTECTED]
 
I'm also using basic authentication, this is done easily using (where
'sAuth' is the base64-encoded string for 'user:pwd')
<snip>
MyWebServiceSoap s(sEndPoint, APTHTTP1_1);
if (bUseProxy)
  s.setProxy(sProxySrv, nProxyPrt);
s.setTransportTimeout(AXIS_TRANSPORT_TIMEOUT);
s.setTransportProperty("Authorization", "Basic " + sAuth);
</snip>

Kind regards,
Iwan Tomlow

________________________________

From: Ephemeris Lappis [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 25 april 2006 17:08
To: [email protected]
Subject: [AXIS][AXIS C++] HTTPS support && Authentication



Hello.

 

Could somebody confirm a HTTPS support with AXIS C++, in the client side
context ?

Is some complementary library needed for such a SSL support ?

 

In the same context, does AXIS support HTTP Basic authentication using
client side stub's properties, the same way the Java version does ?

 

Thanks.

 

--

Ephemeris Lappis

Reply via email to