Solved

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

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
This article discusses how to create an extensible mechanism for linked drop downs.
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now