Yes, those two lines of
code are all you need on the client
side to support SSL. Don't forget to change
your URL to
https (not http).
I had the same socket
error just the other day. I was connecting
to the server using SSL on a non-standard
port (ie not 443)
but the server was not configured
properly. My server is
Apache so I can't offer direct help on
the server side, but
I did most of my debugging by
accessing the SOAP admin client
via SSL in a browser (https://localhost/soap). Hope this
helps.
Eric
|
- SSL & SOAP: Error Opening socket: null Naveen Kulkarni
- RE: SSL & SOAP: Error Opening socket: null Eric Hsiung
- RE: SSL & SOAP: Error Opening socket: null Joe Pruitt