Solved

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

Posted on 2008-10-24
4
950 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…

809 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