Posting an XML to a COM Object via an ASP Page


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Posting an XML to a COM Object via an ASP Page

Hybrid View

  1. #1
    Marc Picardo Guest

    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?

  2. #2
    Russell Jones Guest

    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?




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center