Thank you George,

I' m walking through API and I found some problem with the
"my/voicemail/operator/{operator}" request. The property mailboxManager
declared in the rest.bean.xml file is not managed in the java class
(personalAttendantOperatorResource)

<html>
<head>
<title>Error 500 Error creating bean with name
'personalAttendantOperatorResource' defined in URL
[jar:file:/opt/build/share/java/sipXecs/sipXconfig/sipxconfig-web.jar!/org/sipfoundry/sipxconfig/rest/rest.beans.xml]:
Error setting property values; nested exception is
*org.springframework.beans.NotWritablePropertyException:
Invalid property 'mailboxManager' of bean class
[org.sipfoundry.sipxconfig.rest.PersonalAttendantOperatorResource]: Bean
property 'mailboxManager' is not writable or has an invalid setter method.
Does the parameter type of the setter match the return type of the
getter?*</title>
....

Is there a specific reason for this (maybe some future usage)? Or it is
just an error writing the bean descriptor?

Thank you

Regards
Luciano Berardi



2012/12/20 George Niculae <[email protected]>

> On Thu, Dec 20, 2012 at 11:07 AM, Luciano Berardi <
> [email protected]> wrote:
>
>> Hi,
>>
>> I'm moving from 4.4 to 4.6. On 4.4 release I used restfull API in order
>> to externally retrieve useful information (phonebooks and info aobut
>> specifc users). Now i'm having problem to reuse those on 4.6.
>>
>> Taking a look to the new structure in the code, I found that some feature
>> like CDR querying and call-controlling is accessible through a bit
>> different url, and these are deployed as separate plugins on the
>> restserver, but what about API to retrieve info about users,phonebooks
>> etc..?
>>
>>
> Hi, they are the same as in 4.4, just that you won't have to specify port.
> So instead
>
> https://host.example.com:8443/sipxconfig/rest
>
> you should use
>
> https://host.example.com/sipxconfig/rest
>
> George
>
> _______________________________________________
> sipx-dev mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-dev/
>



-- 
Luciano Berardi
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to