Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var settings = {
  2.   "async": true,
  3.   "crossDomain": true,
  4.   "url": "http://localhost:2445/RavexV3Service.svc?wsdl=",
  5.   "method": "POST",
  6.   "headers": {
  7.     "Content-Type": "text/xml",
  8.     "SOAPAction": "http://192.99.67.200:2445/RavexV3Service.svc/IRavexV3Service/ObterVeiculosV1",
  9.     "Cache-Control": "no-cache",
  10.     "Postman-Token": "37697fdd-fac9-4c44-8d9f-bbff9da3fd1b"
  11.   },
  12.   "data": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns1=\"http://192.99.67.200:2445/RavexV3Service.svc\">\r\n  <SOAP-ENV:Body>\r\n    <ns1:ObterVeiculosV1>\r\n      <ns1:email>Integracaov2@ravex.com.br</ns1:email>\r\n      <ns1:senha>090c26643e8c432e96e5d951b7df88d2</ns1:senha>\r\n      <ns1:pUltimoId>0</ns1:pUltimoId>\r\n    </ns1:ObterVeiculosV1>\r\n  </SOAP-ENV:Body>\r\n</SOAP-ENV:Envelope>"
  13. }
  14.  
  15. $.ajax(settings).done(function (response) {
  16.   console.log(response);
  17. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement