mariusdr
Posts: 21
|
Posted: 09/14/2012, 10:10 AM |
|
Hi, has anyone used HTTP POST to communicate with a web service? I have to send a formatted string to this web service (which represents a transaction) and receive a string back, with either a confirmation or an error. How can I do that in CCS? Can I just link the following code to an event (submit button)?
POST /CohesionWebService/CohesionConnect.asmx/GetHostReply HTTP/1.1
Host: localhost
Content-Type: application/x-www-form-urlencoded
Content-Length: length
sTran=stringHTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://fidelityifs.com/webservices">string</string>
Any help is greatly appreciated!!!
Thanks
|
|
|
|