View Single Post
  #3 (permalink)  
Old 05-02-2007, 12:35 PM
ardiederich ardiederich is offline
Member
 
Posts: 12
Default

Quote:
Originally Posted by Greg View Post
Can you post a SOAP trace? (run zimbraAdmin as https://yourserver.com:7071/zimbraAd...=false&debug=1)
Sure. Note: This doesn't work in IE 6. There is a script error:
Line: 45
Char: 3
Error: Invalid argument.
Code: 0
URL: https://yourserver.com:7071/zimbraAd...=false&debug=1

In firefox 2.0 it works, though. My slightly obfuscated SOAP:

HTML Code:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> <soap:Header> <context xmlns="urn:zimbra"> <userAgent name="ZimbraWebClient - FF2.0 (Win)" version="undefined"/> <sessionId id="37"/> <authToken>
0_b5eb8141bf6f5b13229d3f2842d84756b2e8110f_69643d33363a35396434306663312d656530322d346433372d626239382d6664393431656136363739393b6578703d31333a313137383137333830393532363b61646d696e3d313a313b
</authToken> <format type="js"/> </context> </soap:Header> <soap:Body> <CheckGalConfigRequest xmlns="urn:zimbraAdmin"> <a n="zimbraGalMode">
ldap
</a> <a n="zimbraGalLdapURL">
ldap://exampledc.example.corp:389
</a> <a n="zimbraGalLdapSearchBase">
dc=example,dc=corp
</a> <a n="zimbraGalLdapFilter">
ad
</a> <a n="zimbraGalLdapBindDn">
andrew.diederich@example.corp
</a> <a n="zimbraGalLdapBindPassword">
notmypassword
</a> <query>
*andrew*
</query> </CheckGalConfigRequest> </soap:Body> </soap:Envelope>
And the response:
Code:
Body: {
  CheckGalConfigResponse: {
    _jsns: "urn:zimbraAdmin",
    code: [
      0: {
        _content: "check.OK"
       }
     ],
    message: [
      0: {
        _content: ""
       }
     ]
   }
 },
Header: {
  context: {
    _jsns: "urn:zimbra",
    sessionId: [
      0: {
        _content: "37",
        id: "37",
        type: "admin"
       }
     ]
   }
 },
_jsns: "urn:zimbraSoap"
That SOAP debugger is really neat, by the way. I like the Mark feature.

Last edited by ardiederich : 05-02-2007 at 12:40 PM. Reason: Fixing code / html posting
Reply With Quote