Project

Profile

Help

Patch #1413

closed

http-post extension

Added by Anonymous about 20 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Internals
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Legacy ID:
sf-1064868
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

SourceForge user: gschadow

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:

<post:message url="http://babelfish.com/tanslate">

 <from language="$sourceLang"/>

 <to language="$targetLang"/>

 <text>XINS stands for "XWSF is not SOAP!"</text>

</post:message>

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


Files

http-post.zip (9.56 KB) http-post.zip Anonymous, 2004-11-11 23:49
http-post.zip (11.1 KB) http-post.zip Original ZIP file retrieved from SourceForge 2017-03-22 Michael Kay, 2017-03-22 02:01

Please register to edit this issue

Also available in: Atom PDF