Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


ASP.net web app talking to an XML engine

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

In my ASP.net 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:Murray Brown
  • 2
LVL 96

Accepted Solution

Bob Learned earned 2000 total points
ID: 38291730
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

by:Murray Brown
ID: 38291859
Thanks for the direction
LVL 96

Expert Comment

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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Screencast - Getting to Know the Pipeline
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

571 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