Click here to Skip to main content
15,913,941 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i have one web application where i want to integrate payment gateway . i have given one webService Api. where i need to pass payment amount and product code and it will response with message like resultCode=00&&resultDesc="sucessfull". can any one tell me how i can do this i want to create class with two properties resultCode &resultDesc
and initialize its value from the response stream .
Posted

1 solution

You'll need to look at ASP.NET Web services or its younger cousin WCF. They use a proxy class that would contain the properties that you're looking for, and the proxy will contact the remote web service to process the transaction.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900