I have an mvc app that is running under iis7
It needs to get data from a desktop application (Quickbooks) on the same box to process.
I have a little console app also running also on the same server at takes web requests for data from the mvc app and gets xml data from quickbooks for me.
Then I am trying to POST that data back to the mvc app.
I'm getting a timeout exception. If I point the console app at fiddler, there is the requested POST data, pretty as you please, but if the POST data is sent to localhost the
mvc app just sits there like I don't hear anything. I have tried to send the data to the "front door" at the mvc's fqdn but that doesn't work either. I thought iis would handle this for me.
So My question is: do I need to write an explicit listener in my controller or am I not thinking right?
The console app that takes the request for me to get QB data is at port 3000.
WebClient myWebClient = new WebClient();
try
{
byte[] response = myWebClient.UploadData("http://localhost:3000", byteArray);
string qbdtrtn = myWebClient.Encoding.GetString(response);
}
catch (Exception e)
{
}
What I have tried:
Seemingly everything under the sun. :-)