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@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@openser_rule'><conditions><identity><one id='sip:john@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