Results 1 to 2 of 2

Thread: PHP create context header

  1. #1
    Join Date
    May 2007
    Rep Power

    Default PHP create context header

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

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


    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!

  2. #2
    Join Date
    May 2007
    Rep Power


    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.

    <context xmlns="urn:zimbra">
    <authToken>authToken goes here</authToken>

Similar Threads

  1. PHP SOAP create appointment example
    By AddGun in forum Developers
    Replies: 13
    Last Post: 09-27-2010, 04:41 PM
  2. Fedora 5: Could not create the Java virtual machine
    By mi2enno in forum Installation
    Replies: 6
    Last Post: 06-01-2007, 03:16 AM
  3. php CreateAccountRequest via SOAP
    By bookatechie in forum Developers
    Replies: 2
    Last Post: 05-02-2007, 11:28 AM
  4. Opensource backup Question.
    By nfear24 in forum Administrators
    Replies: 3
    Last Post: 03-31-2007, 11:47 PM
  5. Return-Path header and PHP mail()
    By yogel in forum Installation
    Replies: 4
    Last Post: 02-22-2007, 09:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts