Results 1 to 3 of 3

Thread: [SOLVED] SOAP <change>

  1. #1
    ljm
    ljm is offline Project Contributor
    Join Date
    May 2006
    Posts
    81
    Rep Power
    8

    Default [SOLVED] SOAP <change>

    What does a SOAP client have to do in order to be guaranteed to always get a <change> element in the SOAP response to a server update?

    My understanding is that the client doesn't actually have to do anything. ie. so long as the client doesn't provide the <nosession> element it is always going to get a <change> element back. Is that right?

    Just want to confirm...thanks!
    Zindus - contact sync for Thunderbird and Zimbra

  2. #2
    ljm
    ljm is offline Project Contributor
    Join Date
    May 2006
    Posts
    81
    Rep Power
    8

    Default soap:Header

    And a second sort-of-related question.

    Reading soap.txt, it's clear that the <soap:Header> element is optional. However there's no mention of when it's supplied and when it isn't.

    From reading the code, it looks as if it's always supplied unless there's a soap:Fault.

    I'm currently debugging a soap exchange in which the SOAP responses all look reasonable except that none of them have a soap:Header element.

    I'm scratching my header re: what might be causing the soap:Header element to be missing. Any ideas?
    Zindus - contact sync for Thunderbird and Zimbra

  3. #3
    ljm
    ljm is offline Project Contributor
    Join Date
    May 2006
    Posts
    81
    Rep Power
    8

    Default

    Don't worry - I worked out as much of an answer to this as I needed.

    My problem was that with <nosession/> in the request, 4.5.4 wasn't returning a soap:Header element in the FooReponse (where Foo is a Create/Modify). That feels like a bug to me but given that that 4.x is deprecated I won't bother filing a bug report. In any case, without the <nosession/> element, it works as one would expect.
    Zindus - contact sync for Thunderbird and Zimbra

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Simple SOAP Admin Example In PHP
    By mikes2277 in forum Developers
    Replies: 11
    Last Post: 07-23-2011, 01:00 AM
  2. [SOLVED] SOAP access to the Zimbra server
    By sahuguet in forum Developers
    Replies: 29
    Last Post: 04-10-2008, 07:34 AM
  3. Replies: 1
    Last Post: 03-19-2008, 01:51 AM
  4. [SOLVED] PHP SOAP Woes with displayName
    By bking93 in forum Developers
    Replies: 1
    Last Post: 12-06-2007, 10:03 AM
  5. [SOLVED] SOAP Examples?
    By phingers in forum Developers
    Replies: 2
    Last Post: 11-08-2007, 01:26 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
  •