Vulnerability in EPiServer.Forms
I have e requirement to add a soap service on our end so that another system can send in data through it..
i know is old but we dont have so much choice..
I found a way for CMS 7 but its removed in the newer versions.. anyone have done it for the new CMS version, i know its hard to make in nice but what are your tips :)? Maybe some nice nuget you know about?
we have CMS 11..
thank for any tips :)
I think you just need to add an ASP.NET Web Service to your solution as described here:
This is purely ASP.NET, nothing to do with Episerver.
Tuan Le is right. I gave it a try on CMS 11 (Alloy site) and it works well.
On your CMS project, you can add a Web Service (ASMX) withVisual Studio, says WebService1.asmx
Then create a WebMethod to accept the post data, for example
/// Summary description for WebService1
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
public class WebService1 : System.Web.Services.WebService
public string Submit(string data)
Then you can try making a SOAP request to your service using Postman. See the below reference for details:
Your SOAP message will look like this
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<data>Your test data goes here</data>
Hope this helps