We help IT Professionals succeed at work.

ASP.net web app talking to an XML engine

Murray Brown
Murray Brown asked
on
Medium Priority
396 Views
Last Modified: 2012-08-14
Hi

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."
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008
Commented:
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?
Murray BrownASP.net/VBA/VSTO Developer

Author

Commented:
Thanks for the direction
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008

Commented:
If you need any help with the request, let me know.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.