Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2013

    Question Soap and change quota for context in php

    I'm writing my own management software for OX 7.2. If I create context everything is ok but when i try to change quota for context i've got a problem. I'm changing quota with soap function:
    	$ctx = new Context();
    	$ctx->maxQuota = 1000;
    	$ctx->filestoreId = 2;
    	$cts->id = 96;
    	$result = getContextClient("ox.abad.pl")->changeQuota($ctx,"infostore",0, getCredentialsObject("oxadminmaster", "somepassword"));
    Problem is that no matter what I pass to $ctx and to changeQuota i've got always problem like below:
    Unmarshalling Error: unexpected element (uri:"", local:"idAsString"). Expected elements are <{http://dataobjects.soap.admin.openexchange.com/xsd}enabled>,
    (do i really need to put all this things reported in error to functions?)
    This is my second or third time when i use soap (in any programming language).
    Only one way that I found to change quota remotely is updating row in database. Also i'm trying to avoid cgi-bin scripts for changing quota.
    Does anybody know where I'm making mistake? Thanks for your time to help me.


  2. #2
    Carsten Hoeger is offline Open-Xchange Professional Services
    Join Date
    Mar 2007


    Without seeing the code doing the change on the context, it is hard to tell you what the problem is.
    For sure, there is NO function changeQuota in our API.


    (see also http://oxpedia.org/wiki/index.php?ti...ing_using_SOAP for more info)

Tags for this Thread


Posting Permissions

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