Hi,
I have an unmanaged VC7 app calling a C# dotnet service. I'm using the
VS2003 generated proxy class derived from
CSoapSocketClie ntT. The client app works fine for most of my customers, but
for some it appears to be upset by their firewall / proxy.
If I use CSoapSocketClie ntT.SetProxy(NU LL) to pick up the proxy settings
from IE, attempting to call a web method fails on every second call with
SOAP_CLIENT_SEN D_ERROR, any idea on what is happening here? I can change
the order of the calls to the web methods and it still fails on every second
call. If I don't call SetProxy(NULL) then it works fine on all calls. I
have tested the proxy settings in IE and they are correct and working.
Also, I'm trying to handle the situation where a proxy requires
authentication. After a bit of searching I came up with:
m_pSUws->SetProxy(NULL) ;
CAtlHttpClient& httpClient = m_pSUws->m_socket;
CNTLMAuthObject authNTLM;
CBasicAuthObjec t authBASIC;
httpClient.AddA uthObj(_T("NTLM "), &authNTLM);
httpClient.AddA uthObj(_T("BASI C"), &authBASIC);
httpClient.Nego tiateAuth(true) ;
m_pSUws is the CSoapSocketClie ntT derived proxy class. Am I on the right
track with this?
Thanks,
Paul