[OpenSER-Users] OpenXCAP: 'presence-rules' PUT sent: '409 Conflict' received

ddonate diego.donate at dialcom.com
Wed Nov 28 20:27:55 CET 2007



 Hi, 

   I am using OpenSER and openXCAP to handle 'resource list' and 'presence
rules' of some buddies. The 'resource-list' works fine: I can GET my file
(404 the 1st time, and I PUT one). 

   But I have a problem with the 'presence-rules' PUT, when I receive a
'winfo' NOTIFY (when the user 'john' subscribes to my presence): I send an
HTTP request but I receive a '409 Conflict':

   - My request:

PUT /pres-rules/users/diego at openser/presence_rules.xml HTTP/1.1
User-Agent: IMS_DialcomClient
Accept: text/*
Host: 192.168.1.208:8000
Content-Length: 284
...
<?xml version='1.0' encoding='UTF-8'?><ruleset
xmlns='urn:ietf:params:xml:ns:presence-rules'><rule
id='sip:john at openser_rule'><conditions><identity><one
id='sip:john at openser'/></identity></conditions><actions><sub-handling>allow</sub-handling></actions></rule></ruleset>

    - The traces in the openXCAP are:
--------------------
 Failed to validate document against XML schema:
<string>:1:ERROR:SCHEMASV:SCHEMAV_CVC_ELT_1: Element
'{urn:ietf:params:xml:ns:pres-rules}ruleset': No matching global declaration
available for the validation root.
--------------------

      I know it is related to the schema, but I have not managed to fix
it...

Thanks in advance

Diego
-- 
View this message in context: http://www.nabble.com/OpenXCAP%3A-%27presence-rules%27-PUT-sent%3A-%27409-Conflict%27-received-tf4891756.html#a14007793
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.





More information about the Users mailing list