Need adapt a code call a remote SOAP server using C#. I dont have any C# skills.
Code uses WSHttpBinding and WSHttpSecurity
my idea is adapt this code to call SOAP URL and i will pass to this script arguments using GET AND POST methods and this will return to me json.
I will pass this arguments using CURL with PHP or a REST CLIENT. TO A C# script hosted on [login to view URL] core if is possible on linux or .net framework if not is possible on a windows machine this will serve as bind bridge to one solution to another.
PHP REQUEST (GET/POST) -> ASP.NET /CORE SERVER GET/POST C# code -> FINAL SOAP SERVICE.
Test enviroment no have certificate and in http and prod env have a certificate i dont have it. On past i do it with php and works nice add wsse headers but i can trust it if the server side changes. I have implemented php code direct to SOAP but i dont no how add certificate on prod env and if test env it´s works (need test it)
I will provide TEST DATA , php code and C# snipet how to do that. I need learn how install C# on my dev machine scripts to make it work.
Also if possible make php scripts back to work. now have WsdlToPhp\WsSecurity\WsSecurity; packages on composer and i develop with help a friend a solution one year ago now i can send data to SOAP anymore.