Solved

how to receive http url encoded post with xml name value pairs included on efax status disposition

Posted on 2008-10-24
4
951 Views
Last Modified: 2013-11-15
Hi all,
I run into this issue and trying to look for answer for weeks.
efax has this feature to post a status of inbound or outbound faxes to an url.
It would pass a single pair name/value pairs in a url encoded post.

Quoted from efax SDK, " Create an application that accepts a URL-encoded HTTP(S) POST containing a single name/value pair where the parameter name equals "xml" and the parameter value contains the XML-formatted data. Pass the XML-formated data to an instance of the InboundClient object ..."

I have setup a page load event to capture any posting and write it to a file.
It was done by stream writing a "request.inputstream" in a aspx web page and able to steam out to a file with my testing xml post, but it failed on efax post.
I have even tried with a generic handler (ashx), by using context.query, but still failed on accepting any posting from them.

So, is there a solution for receiving any url encoded http post?

Million thanks in advace!
0
Comment
Question by:kenwtan12
  • 2
4 Comments
 
LVL 49

Expert Comment

by:DanRollins
ID: 22828125
Sorry if this seems dumb, but I can't tell from your question if you knoiw this:  
You need to have IIS or other web server running on the target machine.  Then  use ASP or PHP (etc.) to write a page that accepts form data.
0
 

Author Comment

by:kenwtan12
ID: 22866990
The aspx page is running on IIS 5.0 of a XP Pro workstation. It was able to post a specific message back to the sender (efax) "Post Successful" with Response.Write. Someone was saying efax only post to secure site. So, I will setup a https url site for further testing.
0
 

Accepted Solution

by:
kenwtan12 earned 0 total points
ID: 22962240
Resolved. It needs a secure http site. And it works with ashx's context.request.inputstream.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

679 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