Re: SOAP setUserObjectAndGenerateRoomHashByURL error (-26)

2012-06-05 Thread Maxim Solodovnik
http://incubator.apache.org/openmeetings/ErrorsTable.html On Sun, May 27, 2012 at 12:19 AM, Maxim Solodovnik wrote: > I guess I can write xslt for errorvalues.xml to create required page. > > > On Thu, May 24, 2012 at 2:42 PM, seba.wag...@gmail.com < > seba.wag...@gmail.com> wrote: > >> Btw: Thos

Re: SOAP setUserObjectAndGenerateRoomHashByURL error (-26)

2012-05-26 Thread Maxim Solodovnik
I guess I can write xslt for errorvalues.xml to create required page. On Thu, May 24, 2012 at 2:42 PM, seba.wag...@gmail.com < seba.wag...@gmail.com> wrote: > Btw: Those cryptic error codes are no way to confuse people :) > There is an SOAP/REST call to get a localized message for every error id

Re: SOAP setUserObjectAndGenerateRoomHashByURL error (-26)

2012-05-24 Thread Maxim Solodovnik
I mean in the code we have something like: if (user_id < 0) { return -11; } And It is not very self descriptive The code like if (user_id < 0) { return INVALID_CREDENTIALS; } are easier to read. On Thu, May 24, 2012 at 3:18 PM, seba.wag...@gmail.com < seba.wag...@gmail.com> wrote: >

Re: SOAP setUserObjectAndGenerateRoomHashByURL error (-26)

2012-05-24 Thread seba.wag...@gmail.com
The errors are already in a XML file. https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/WebContent/languages/errorvalues.xml I think having the XML file is already the optimum for storing the error codes. However that XML file only contains label-Id's no actual text. That

Re: SOAP setUserObjectAndGenerateRoomHashByURL error (-26)

2012-05-24 Thread Maxim Solodovnik
I would create enum first so these codes will not be "cryptic" to the developers :) On May 24, 2012 2:43 PM, "seba.wag...@gmail.com" wrote: > Btw: Those cryptic error codes are no way to confuse people :) > There is an SOAP/REST call to get a localized message for every error id: > http://incubat

Re: SOAP setUserObjectAndGenerateRoomHashByURL error (-26)

2012-05-24 Thread seba.wag...@gmail.com
Btw: Those cryptic error codes are no way to confuse people :) There is an SOAP/REST call to get a localized message for every error id: http://incubator.apache.org/openmeetings/UserService.html#getErrorByCode However, I think we should generate a page in our docs that shows a list with the errors

Re: SOAP setUserObjectAndGenerateRoomHashByURL error (-26)

2012-05-23 Thread Maxim Solodovnik
I think sorry On Thu, May 24, 2012 at 9:31 AM, Maxim Solodovnik wrote: > I thing you need to perform steps > 1) 2) 4) 5) for the second login > > > On Thu, May 24, 2012 at 9:26 AM, madkoala (m...@madkoala.net) < > m...@madkoala.net> wrote: > >> Hello. I'm working on integrating OM 1.9.1 and .NET

Re: SOAP setUserObjectAndGenerateRoomHashByURL error (-26)

2012-05-23 Thread Maxim Solodovnik
I thing you need to perform steps 1) 2) 4) 5) for the second login On Thu, May 24, 2012 at 9:26 AM, madkoala (m...@madkoala.net) wrote: > Hello. I'm working on integrating OM 1.9.1 and .NET Application (written > in C#). > Almost all features are working well, but there's a serious problem. >