WsPagamento
Click here for a complete list of operations.
SANTANDER_GerarLocation
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /Vendas/TESTE/WS/WsPagamento.asmx HTTP/1.1 Host: wssad.com.br Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/SANTANDER_GerarLocation" <?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/"> <soap:Body> <SANTANDER_GerarLocation xmlns="http://tempuri.org/"> <p_sUsuario>string</p_sUsuario> <p_sSenha>string</p_sSenha> <p_sPIX_vch_TokenSantander>string</p_sPIX_vch_TokenSantander> <p_sPix_int_TransactionID>string</p_sPix_int_TransactionID> <p_sPedido_int_Codigo>string</p_sPedido_int_Codigo> <p_sPedido_mon_ValorTotal>string</p_sPedido_mon_ValorTotal> </SANTANDER_GerarLocation> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?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/"> <soap:Body> <SANTANDER_GerarLocationResponse xmlns="http://tempuri.org/"> <SANTANDER_GerarLocationResult>string</SANTANDER_GerarLocationResult> </SANTANDER_GerarLocationResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /Vendas/TESTE/WS/WsPagamento.asmx HTTP/1.1 Host: wssad.com.br Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SANTANDER_GerarLocation xmlns="http://tempuri.org/"> <p_sUsuario>string</p_sUsuario> <p_sSenha>string</p_sSenha> <p_sPIX_vch_TokenSantander>string</p_sPIX_vch_TokenSantander> <p_sPix_int_TransactionID>string</p_sPix_int_TransactionID> <p_sPedido_int_Codigo>string</p_sPedido_int_Codigo> <p_sPedido_mon_ValorTotal>string</p_sPedido_mon_ValorTotal> </SANTANDER_GerarLocation> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SANTANDER_GerarLocationResponse xmlns="http://tempuri.org/"> <SANTANDER_GerarLocationResult>string</SANTANDER_GerarLocationResult> </SANTANDER_GerarLocationResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /Vendas/TESTE/WS/WsPagamento.asmx/SANTANDER_GerarLocation?p_sUsuario=string&p_sSenha=string&p_sPIX_vch_TokenSantander=string&p_sPix_int_TransactionID=string&p_sPedido_int_Codigo=string&p_sPedido_mon_ValorTotal=string HTTP/1.1 Host: wssad.com.br
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /Vendas/TESTE/WS/WsPagamento.asmx/SANTANDER_GerarLocation HTTP/1.1 Host: wssad.com.br Content-Type: application/x-www-form-urlencoded Content-Length: length p_sUsuario=string&p_sSenha=string&p_sPIX_vch_TokenSantander=string&p_sPix_int_TransactionID=string&p_sPedido_int_Codigo=string&p_sPedido_mon_ValorTotal=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>