#11 http-post extension

open
nobody
None
5
2012-10-08
2004-11-11
Gunther Schadow
No

Hi again, and finally:

here is my last extension that I post for your
consideration. I found this extremely useful as a means
to make distributed transforms. This extension
implements HTTP POST interactions that you can use to
call on web-services during a transform.

Example:





XINS stands for "XWSF is not SOAP!"

and if sourceLang is English and targetLang is German
the output would have:


XINS steht fuer "XWSF ist keine
SEIFE!"

this is a mock example, but the demo that's part of the
attachment actually does this with the real bablefish
service and using the ever unnecessary SOAP (excuse
my soapbox :-).

This extension works best with the previous exception
handling extension, because as you can imagine,
exceptions do happen in remote operations.

If you want to adopt this code I'd be more than happy
to donate it. It's incredibly useful, really.

regards,
-Gunther

Discussion


Anonymous


Cancel   Add attachments