Posts

Showing posts from August, 2019

Soap call from Controller

public static void Execute(string NTID)         {             HttpWebRequest request = CreateWebRequest();             XmlDocument soapEnvelopeXml = new XmlDocument();             soapEnvelopeXml.LoadXml(@"<?xml version=""1.0"" encoding=""utf-8""?>                <soapenv:Envelope xmlns:soapenv=""http://schemas.xmlsoap.org/soap/envelope/""                          xmlns:urn=""urn:sap-com:document:sap:rfc:functions"">                 <soapenv:Header xmlns:wsa =""http://www.w3.org/2005/08/addressing"" >                    <wsa:Action>urn:sap-com:document:sap:rfc:functions:Z_WS_TRAIN_HIST:Z_GET_TRAIN_HISTRequest                         </wsa:Action></soapenv:Header>                 <soapenv:Body>                     <urn:Z_GET_TRAIN_HIST >                      <IM_TBL_TRAIN_HIST_INPUT>                       <item>