kenwtan12
asked on
how to receive http url encoded post with xml name value pairs included on efax status disposition
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!
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!
ASKER
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.