View Single Post
  #1 (permalink)  
Old 05-01-2007, 09:28 PM
bookatechie bookatechie is offline
New Member
 
Posts: 3
Default PHP create context header

This is what I got so far but it doesnt work.

$soapHeader = new SoapHeader('urn:zimbra',
'context',
new Context(
array(
new SoapParam($authToken['authToken'], 'authToken'),
)));

$soapClient->__setSoapHeaders($soapHeader);


This gives me the following error...

Uncaught SoapFault exception: [soap:Client] no valid authtoken present

Does anyone know what the correct php syntax is to create the content section?


Thank you!
Reply With Quote