1

I'm writing a project in .Net Core 2.2. As a part of it, for the payment service I have to use this web service: The Payment Web Service

My problem is that I want to make a SOAP request, and I don't exactly know how and there are no available documentation about it!

I want to use the SalePaymentRequest method. The sample code from the bank has the following code which uses in web reference: System.Web.Services.Protocols.SoapHttpClientProtocol. Apparently, it is not available in .net core.

In the Following Question there are elements like BasicHttpBinding which I really do not understand how to use! (My Bad!)

I just want to make a sale request and verify it afterwards.

Masoud Tahmasebi
  • 423
  • 6
  • 22
  • do you seen this Article[https://stackoverflow.com/questions/48625444/calling-a-soap-service-in-net-core?noredirect=1&lq=1] ? – zolfaghari Feb 06 '19 at 07:31
  • Please make clear what exactly your question is about? For example I don't know if you are looking for a solution to call SOAP requests within .net core? Or your question is about the role of `BasicHttpBinding`? – mehrandvd Feb 06 '19 at 17:24
  • @zolfaghari Yeah , I did, Unfortunately I don't know how to use the soap request based on this answer – Masoud Tahmasebi Feb 09 '19 at 20:52
  • @mehrandvd I want to make a SOAP request for a payment gateway in .net core and after some searches, I found out that it may can be done with something like the link below, but it has some variables of `BasicHttpBinding` : [link](https://stackoverflow.com/questions/48625444/calling-a-soap-service-in-net-core?noredirect=1&lq=1) – Masoud Tahmasebi Feb 09 '19 at 20:55

0 Answers0