'How to create custom SOAP header with php classes
Can anyone please help me create or point me in the right direction to get the following SOAP header using PHP classes? 🙏
<SOAP-ENV:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<ns2:HTNGHeader xmlns:ns2="http://htng.org/1.1/Header/">
<ns2:From>
<ns2:systemId></ns2:systemId>
<ns2:Credential>
<ns2:userName></ns2:userName>
<ns2:password></ns2:password>
</ns2:Credential>
</ns2:From>
</ns2:HTNGHeader>
<wsa:Action></wsa:Action>
<wsa:To></wsa:To>
</SOAP-ENV:Header>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
