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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.