I have a Rebol 2 code calling a SOAP web service using the CALL shell interface function :
soap-request: rejoin [{<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header /> <SOAP-ENV:Body>} soap-body ;-- Payload string of the request {</SOAP-ENV:Body> </SOAP-ENV:Envelope>} ] soap-response: copy {} call/wait/input/output rejoin [ curl-directory {\curl -H } {"SOAPAction: " -X POST -H "Content-type: text/xml" -d @- <URL web service>} ] soap-request soap-response
It seems that the CALL function in Rebol 3 Alpha is not ready yet.
But is it possible to achieve equivalent behavior with Esper Consultancy Rebol 3 cURL binding ? What does this code look like?
source share