Posting an XML to a COM Object via an ASP Page
How to retrieve the XML in a HTTP POST message from a remote server in a COM
object running on a Windows 2000 Server.
Example:
Company A posts an XML message to an ASP page at Company B's web server running
Windows 2000 and IIS 5.0 w/ COM+. Company B invokes the COM object via an
ASP page once the Company A makes the call. How do you retrieve the XML
within the body of the HTTP Post?
Re: Posting an XML to a COM Object via an ASP Page
In the COM+ application, use getObjectContext() to obtain access to the
Request object which exposes the posted data. You need the ObjectContext
object to obtain references to the ASP intrinsic objects, such as the
Application, Session, Request, Response, and Server objects.
Alternately, you can extract the string value containing the posted XML from
the Request object and then call the COM+ application, passing the string as
a parameter.
Russell Jones
Sr. Web Development Editor
DevX.com
"Marc Picardo" <marc.a.picardo@accenture.com> wrote in message
news:3a636487$1@news.devx.com...
>
> How to retrieve the XML in a HTTP POST message from a remote server in a
COM
> object running on a Windows 2000 Server.
>
> Example:
>
> Company A posts an XML message to an ASP page at Company B's web server
running
> Windows 2000 and IIS 5.0 w/ COM+. Company B invokes the COM object via an
> ASP page once the Company A makes the call. How do you retrieve the XML
> within the body of the HTTP Post?