Jump to content

SOAP


Mark W

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.