[Opensource] http request as xml instead of http
parameters?
larry hamel
expresso at codeguild.com
Thu Dec 12 22:03:09 PST 2002
hi Mike T.,
I think the key is in your statement "it will read email, post it to expresso..."
if the gateway is actually using HTTP POST to send the msg to expresso, then the only question is in parsing the incoming XML (which IS an http param). and that's a piece of cake (check out http://dom4j.org , one of my favorites for XPath).
if your gateway wants to use some other mechanism, then the answer is different.
larry
At 04:12 PM 12/12/2002, you wrote:
>I'm looking to take several of my applications in a different direction - making them accessible completely through email.
>
>I plan on doing this by writing a gateway-type application - it will read email, post it to an expresso app, read the response, and send it to the user. One advantage of MVC is the separation of the View. I figure the gateway reading an expresso response it somewhat trivial, because the view can be presented as xml. But, what about the request? Can I easily replace expresso's requirement of http parameter-based requests in favor of xml? This is sounding like SOAP, but I know little about it.
>
>tia,
>mike
More information about the Opensource
mailing list