Skip to main content

Issue in adding resource-list as a member of the rls-services document

6 replies [Last post]
priyanagarajan
Offline
Joined: 2008-08-27
Points: 0

Hi All,

I am trying to add the resource list as a member of the service element in the rls services document. I get 409 response.

Request sent to the server:
PUT /mobicents/rls-services/users/sip:priya@openxdm.org/index.xml HTTP/1.1
Content-Type: application/rls-services+xml
User-Agent: Jakarta Commons-HttpClient/3.0.1
Host: hostip:port
Content-Length: 426

<?xml version="1.0" encoding="UTF-8"?>http://hostip:port/mobicents/resource-lists/users/sip:priya@openxdm.org/index/~~/resource-lists/list%5b@name=%22mycontacts%22%5dpresence

Response received from the server:
HTTP/1.1 409 Conflict
Server: Apache-Coyote/1.1
Content-Length: 146
Date: Wed, 27 Aug 2008 09:20:41 GMT

<?xml version='1.0' encoding='UTF-8'?>

Can anyone help me to solve this issue?

Thanks in advance!!!

Regards,
Priya Nagarajan

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
eduardomartins
Offline
Joined: 2005-10-10
Points: 0

FYI, resource-lists and rls-services constraints and resource inter dependencies code committed, we will include this, along with a better datasource using JPA and a few more fixes, in a Beta3 release, right after JAIN SLEE 1.2.0.GA, which should happen till the end of the week.

eduardomartins
Offline
Joined: 2005-10-10
Points: 0

I just noticed that the out of schema constraints validation is not good, since the code was made for an old draft of RLS Services, not the final RFC. For now I removed the constraints validation, so if you build from source or get tomorrow's binary snapshot at http://hudson.jboss.org/hudson/view/Mobicents/job/MobicentsSipPresenceRe... as long as you don't send bad XML it should work fine.

I opened an issue at http://code.google.com/p/mobicents/issues/detail?id=338

eduardomartins
Offline
Joined: 2005-10-10
Points: 0

binary snaphsot not validating constarints already available at http://hudson.jboss.org/hudson/view/Mobicents/job/MobicentsSipPresenceRe...

priyanagarajan
Offline
Joined: 2008-08-27
Points: 0

Hi Eduardo Martins,

Thanks for the solution.

But when will the validating for constraints code be availabe for rls-services?

Priya Nagarajan

eduardomartins
Offline
Joined: 2005-10-10
Points: 0

probably only on the second week of september, since next week I will be off

eduardomartins
Offline
Joined: 2005-10-10
Points: 0

unless someone else wants to contribute :-)