Mark W Posted April 11, 2009 Share Posted April 11, 2009 This is what I am trying to send: <SOAP-ENV:Header> <key1> <key2>Value</key2> </key1> </SOAP-ENV:Header> This is the code I'm using: $header = new SoapHeader('', 'key', 'value'); $this->client->__setSoapHeaders($header); And this is what is being sent: <SOAP-ENV:Header> <ns2:key>value</ns2:key> </SOAP-ENV:Header> Can anyone tell me how to send what I need? Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/153609-soap/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.