Discussion:
[MSXML/MSSOAP] Unknown Error on Soap request with SSL from service (background)
(too old to reply)
Whoazzah
2003-10-21 15:21:11 UTC
Permalink
Hi there,

I have some very very strange problem making a Soap call
using the latest MSSOAP Toolkit. I made a DLL to make a
Soap call from one of our applications. I wrote this DLL
in C++ and used objects like HttpConnector and
Serializer.

The thing is... that I got it working perfectly. The
request is using an SSL Client Certificate and the call
is made through a proxy server (with authorization), no
problem at all, as long as I'm running my application on
the desktop.

But.. the application should be running in the
background, as a service. Here the Soap call stopped
working. After making a connection and creating the
(Serializer) message an errorcode is returned after the
Connector->EndMessage() function (Error -2146822888:
Unknown error 0x800A1518).

I found out (in the MSDN library) this errorcode is
returned for several problems. I don't think one of them
describes mine. I checked my eventlog and some strange
event happens when I make the call. To bad it doesn't
return much more than "Soap error: Unspecified HTTP
error...".

I'm wondering if there might be some bug. I even checked
the network packets to see if the call is actually made,
but it looks like if it does try so, but only once, while
i see two requests going away in the good situation. I
don't exactly know what it should look like, but seems
like if it first sends the certificate and then the
request, but it doesn't get that far...

Hope someone recognises my problem... I installed the
Client Certificates under current user and local machine
(i even put the certificates under the service of my
application), got the site listed in my trusted sites,
etc.. all working in foreground, but as soon as the DLL
is used from a service it's not working.

Thanx a lot!
Whoazzah
2003-10-22 10:12:33 UTC
Permalink
Seems like if something was wrong with my DLL. I created
a new one with default project settings and now it works
in the background too. Looked like if it couldn't make
the call when called from a service, but I still think it
was a weird problem. I have not seen any different
between old and new projectsettings, but it's a live :-)

Thanx!
-----Original Message-----
Hi there,
I have some very very strange problem making a Soap call
using the latest MSSOAP Toolkit. I made a DLL to make a
Soap call from one of our applications. I wrote this DLL
in C++ and used objects like HttpConnector and
Serializer.
The thing is... that I got it working perfectly. The
request is using an SSL Client Certificate and the call
is made through a proxy server (with authorization), no
problem at all, as long as I'm running my application on
the desktop.
But.. the application should be running in the
background, as a service. Here the Soap call stopped
working. After making a connection and creating the
(Serializer) message an errorcode is returned after the
Unknown error 0x800A1518).
I found out (in the MSDN library) this errorcode is
returned for several problems. I don't think one of them
describes mine. I checked my eventlog and some strange
event happens when I make the call. To bad it doesn't
return much more than "Soap error: Unspecified HTTP
error...".
I'm wondering if there might be some bug. I even checked
the network packets to see if the call is actually made,
but it looks like if it does try so, but only once,
while
i see two requests going away in the good situation. I
don't exactly know what it should look like, but seems
like if it first sends the certificate and then the
request, but it doesn't get that far...
Hope someone recognises my problem... I installed the
Client Certificates under current user and local machine
(i even put the certificates under the service of my
application), got the site listed in my trusted sites,
etc.. all working in foreground, but as soon as the DLL
is used from a service it's not working.
Thanx a lot!
.
Loading...