Solved

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

Posted on 2008-10-24
4
961 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
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…

688 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