XML data is usually converted from an object (such as XMLHttp) to a string
for transmission. I found an article that shows doing this with an XMLHttp
290591 HOWTO: Submit Form Data by Using XMLHTTP or ServerXMLHTTP Object
Does this answer your question?
Thank you, Mike Moore
This posting is provided "AS IS", with no warranties, and confers no rights.
>Subject: RE: PKCS Certificates
>Date: Wed, 19 Feb 2003 01:04:33 -0800
>X-Newsreader: Microsoft CDO for Windows 2000
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>NNTP-Posting-Host: TK2MSFTNGXA01 10.40.1.47
>Xref: cpmsftngxa08 microsoft.public.dotnet.framework.aspnet.security:4040
>Thanks for picking up this thread.
>The client I am developing is a Windows Service running on
>a Windows 2000 Advanced Server. The article you pointed
>me at was helpful but did not suggest any way of
>accomplishing what I am trying to do.
>Do you have any suggestions?
>>What is the client? From reading your post, we think your
>client is an
>>XMLHttp object. If your client is running in the context
>of a service, then
>>it has no user registry hive and cannot access the client
>>The following article describes some of the limitations
>>Microsoft.XMLHTTP objects for server to server
>>PRB: Loading Remote XML or Sending XML HTTP Requests from
>Server Is Not
>>Does that answer your question?
>>The application that is creating the HttpWebRequest, is
>it a Windows
>>Thank you, Mike Moore
>>This posting is provided "AS IS", with no warranties, and
>confers no rights.
>>>Subject: PKCS Certificates
>>>Date: Sun, 16 Feb 2003 14:37:31 -0800
>>>X-Newsreader: Microsoft CDO for Windows 2000
>>>X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>>>NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
>>>I'm trying to connect to an HTTPS site in order to post
>>>an XML stream to it. I have the required client PKCS
>>>certificate and can connect to the site using IE
>>>(although it does prompt me to select a certificate to
>>>Now, I want to code this to automatically send the XML
>>>the server, but my problem is that when I try to use the
>>>HttpWebRequest and add the exported .cer file to the
>>>ClientCertificates collection, my connection fails.
>>>Can anyone point me in the right direction please?