I have a pretty simple question with the php / soap header.
This is what I need.
<ns1:Identity token="123456789"></ns1:Identity>
Here is what I get ...
<ns1:Identity><item><key>token</key><value>123456789</value></item></ns1:Identity>
using this code ...
$headers[] = new SoapHeader('http://qpricer.com/Services/Pricing','Identity',array('token'=> '123456789')); $client->__setSoapHeaders($headers);
Using soapui, I narrowed my problem down to this right here.
How to go from second to first?
Help will be greatly appreciated for your time.
soap php soap-client soapheader nusoap
Xavias
source share