Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url);
- webRequest.Headers.Add("SOAPAction", action);
- webRequest.ContentType = "text/xml;charset="utf-8"";
- webRequest.Accept = "text/xml";
- webRequest.Method = "POST";
- <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
- <s:Header>
- <h:Header_Request xmlns:h="http://example/common" xmlns="http://example/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <T_SYS>FIN</T_SYS>
- <T_SYS_ENV>FIN</T_SYS_ENV>
- <R_SYS>FIN</R_SYS>
- <TOKEN>e36437dd54c7447f03fb48d28701be0ff7118175</TOKEN>
- <TIMESTAMP>20170530154225</TIMESTAMP>
- </h:Header_Request>
- </s:Header>
- <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <Operator_Request_Element xmlns="http://example/Operator">
- <Operator>
- <DOCUMENTO_GENERALE>
- <T_MODALITA>ELETTRONICA</T_MODALITA>
- </DOCUMENTO_GENERALE>
- <DOCUMENTO_OPERAZIONE>
- <FLAG_EPCM>true</FLAG_EPCM>
- </DOCUMENTO_OPERAZIONE>
- </OPERATORE>
- <CLIENTE>
- <CODICE_CLIENTE>20170530090406800</CODICE_CLIENTE>
- <NDG>000000620676</NDG>
- </CLIENTE>
- <DATI_DETTAGLIO_PRODOTTO>
- <VALORE>S</VALORE>
- </DATI_DETTAGLIO_PRODOTTO>
- </Operator>
- </Operator_Request_Element>
- </s:Body>
- </s:Envelope>
Add Comment
Please, Sign In to add comment