RLS service document

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

RLS service document

Michael Ciupka-2
Hello,

i get this error in the terminal:
Element 'rls-services': No matching global declaration available for the validation root.

and this is der document:
<?xml version="1.0" encoding="UTF-8"?>
<rls-services>
        <service uri="sip:[hidden email]">
                <resource-list>http://xcap.open-ims.test:8000/xcap-root/resource-lists/users/bob/resource-list.xml/~~/resource-lists/list[@name=%22default%22]</resource-list>
                <packages>
                        <package>presence</package>
                </packages>
        </service>
        <service uri="sip:[hidden email]">
                <list name="uni">
                        <entry uri="sip:[hidden email]">
                                <display-name>Alice</display-name>
                        </entry>
                        <entry uri="sip:[hidden email]">
                                <display-name>C D</display-name>
                        </entry>
                </list>
                <packages>
                        <package>presence</package>
                        <package>email</package>
                </packages>
        </service>
</rls-services>



somebody knows what is wrong?

Regards
Michael

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: RLS service document

Franz Edler-3
Hi Michael,

> i get this error in the terminal:
> Element 'rls-services': No matching global declaration available for the
> validation root.

Just a quick guess:
Does you client query for XCAP-capabilities at startup?
  GET /xcap-root/xcap-caps/global/index

The response should have an entry for "rls-services".

Regards
Franz


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: RLS service document

Anca Vamanu-2
In reply to this post by Michael Ciupka-2
Hi Michael,

Do you get this error in OpenXCAP? I think it is because you don't put a
namespace definition in rls-services root node. You need this one
"xmlns="urn:ietf:params:xml:ns:rls-services".


regards,
Anca

Michael Ciupka wrote:

> Hello,
>
> i get this error in the terminal:
> Element 'rls-services': No matching global declaration available for the validation root.
>
> and this is der document:
> <?xml version="1.0" encoding="UTF-8"?>
> <rls-services>
> <service uri="sip:[hidden email]">
> <resource-list>http://xcap.open-ims.test:8000/xcap-root/resource-lists/users/bob/resource-list.xml/~~/resource-lists/list[@name=%22default%22]</resource-list>
> <packages>
> <package>presence</package>
> </packages>
> </service>
> <service uri="sip:[hidden email]">
> <list name="uni">
> <entry uri="sip:[hidden email]">
> <display-name>Alice</display-name>
> </entry>
> <entry uri="sip:[hidden email]">
> <display-name>C D</display-name>
> </entry>
> </list>
> <packages>
> <package>presence</package>
> <package>email</package>
> </packages>
> </service>
> </rls-services>
>
>
>
> somebody knows what is wrong?
>
> Regards
> Michael
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users