Solved web app talking to an XML engine

Posted on 2012-08-13
Last Modified: 2012-08-14

In my web application I am trying to communicate with an XML engine via an HTTP address over a special port for example: http://IPAddress:Port/APIWebModule/APIServlet*
This is a first for me so need a little guidance on the instructions given
"¿The client will send a request as follows:¿The HTTP POST method has to be used:¿The client will send the entire XML request string directly to above address.
¿The request will NOT be accepted if the XML is passed in a http form variable.
¿The XML must NOT be URL-Encoded
¿eRes® will respond with XML that the client has to parse (using any DOM or SAX XML parser) and extract the desired information."
Question by:murbro
    LVL 96

    Accepted Solution

    If this is a simple request, then you might be able to use the System.Net.WebClient to post to the URL.  If this is more complicated, then you need to move up the System.Net.HttpWebRequest.

    You need to explain what is meant by "The client will send the entire XML request string directly to above address".  If it isn't sent in a form variable, then is it a query string argument in the URL?

    Author Closing Comment

    Thanks for the direction
    LVL 96

    Expert Comment

    by:Bob Learned
    If you need any help with the request, let me know.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
    Introduction In my previous article ( I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now