Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-01-2007, 09:28 PM
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
  #2 (permalink)  
Old 05-01-2007, 09:30 PM
New Member
 
Posts: 3
Default

I keep trying to post the request that needs to be created but the forum won't let me so maybe if I only post the context part it will work.

<soap:Header>
<context xmlns="urn:zimbra">
<authToken>authToken goes here</authToken>
</context>
</soap:Header>
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0