CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 How can I use HTTP POST?

Print topic Send  topic

Author Message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.