'Getting wrong soap action url
I'm trying to send soap request to server using this code
check Screenshot

Actually I pass correct soap action URL when I debug soap request then I get different soap action URL
string(453) "
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://www.example.org/bankChannelService/">
<SOAP-ENV:Body>
<ns1:bankRecharge>
<chnlNum>3123657174</chnlNum>
<chnlPasWd>5xPmOO6P/jQ=</chnlPasWd>
<userNum>3155201590</userNum>
<amount>2000</amount>
<requestDate>2022-03-25 10:19:06</requestDate>
<requestId>357000925</requestId>
</ns1:bankRecharge>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
"
string(267) "POST /bankchnl_inter/services/bankChannelService HTTP/1.1
Host: www.example.org
Connection: Keep-Alive
User-Agent: PHP-SOAP/7.4.23
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://www.example.org/bankChannelService/bankRecharge"
Content-Length: 453
"
string(445) "
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>404 - Not Found</title>
</head>
<body>
<h1>404 - Not Found</h1>
<script type="text/javascript" src="//wpc.75674.betacdn.net/0075674/www/ec_tpm_bcon.js"></script>
</body>
</html>
Why this soap URL is different ??
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
