Skip to main content

Mobicents XDM Server

14 replies [Last post]
yen_java
Offline
Joined: 2005-01-06

Hi Everybody,

I am trying to implement a server based contact list for SIP Communicator. I mean when the SIP Communicator user register itself to server the server will save to contact list to its own persistence storage. So the client doesn't need a local copy of contact list. I am using OpenIMSCore and OpenSER. But for the XCAP purpose I want to use Mobicents XDM Server.

I have already install Mobicents server and its working perfectly. After that I have download the source code of Mobicents XDM Server and by using Maven I have install the XDM server as well.

Now my question is how to integrate this XDM server in Mobicents default server? Also how to run the XDM server.

If anybody has simple source code to save a xml file in XDM server then it will be really helpful for me.

I am looking forward to hearing from all of you.

Best regards

Yeasin Habib

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

BETA2 required a specific jboss data source config file ( ${jboss.home}/server/${node}/deploy/hsqldb-ds.xml ) for hypersonic db, so this db would be exposed to remote interfaces, but that config is not installed in Mobicents ALL releases. You can get that config from http://mobicents.googlecode.com/svn-history/r2570/tags/mobicents-sip-pre...

Anyway, go for the BETA3 release, even includes some jain slee services installed which you can subscribe or notify presence state --> http://downloads.sourceforge.net/mobicents/mobicents-sip-presence-integr...

More BETA3 releases at http://sourceforge.net/project/showfiles.php?group_id=102670&package_id=...

serpico
Offline
Joined: 2008-10-29

I installed hsqldb-ds.xml, but nevertheless I get the same error message. I even followed exactly the steps described in http://groups.google.com/group/mobicents-public/web/mobicents-all-release, but it didn't work.

After that, I tried to run the "internal-publisher" example in BETA3. I installed X-Lite and SIP Communicator, registered two users and started JBOSS. Everything ok, the users are registered to 127.0.0.1.
But now, I don't know what to do. Where is the URL for the Presence Server, so that I can see something? It would be nice, if you could describe me step-by-step what to do. Because the scenarios described in in http://groups.google.com/group/mobicents-public/web/mobicents-all-release do not help me at all.

Thanks for your help...

bossiel
Offline
Joined: 2006-10-12

Right, Sip Communicator does not support xcap and Eyebeam is not free. I have tested our XDMS server (OpenSER) with a free XCAP/IMS client named Mercuro IMS client. You can download it here --> http://mercuro.net or http://betelco.blogspot.com/2008/09/mercuro-ims-client.html

Message was edited by: bossiel

Message was edited by: bossiel

yuce
Offline
Joined: 2008-07-11

Hi,

I want to integrate XDM Server but i could not find the page for the installation steps that you suggested ("http://groups.google.com/group/mobicents-public/web/mobicents-xdm-server ").
I have installed the mobicents server and it is running but unfortunately i could not integrate the XDMS server.
Is there any other possibilities that explains how to do that?

Thanks in Advance,
yuce

eduardomartins
Offline
Joined: 2005-10-10
yuce
Offline
Joined: 2008-07-11

Thank you very much for the answer... After testing the xdm server i have the following errors:
Tests in error:
test(org.openxdm.xcap.client.test.success.IfMatchReplaceExistingDocumentTest)
test(org.openxdm.xcap.client.test.success.PutNewElementByNameTest)
test(org.openxdm.xcap.client.test.subscription.SubscribeAppUsageTest)
test(org.openxdm.xcap.client.test.subscription.SubscribeAppUsageTest)
test(org.openxdm.xcap.client.test.success.DeleteElementByAttrTest)
test(org.openxdm.xcap.client.test.error.NotUTF8Test)
test(org.openxdm.xcap.client.test.error.MethodNotAllowedTest)
test(org.openxdm.xcap.client.test.success.DeleteElementByAttrPosTest)
test(org.openxdm.xcap.client.test.success.DeleteElementByPosTest)
test(org.openxdm.xcap.client.test.success.UnconditionalReplaceExistingDocumentTest)
test(org.openxdm.xcap.client.test.success.DeleteDocumentTest)
test(org.openxdm.xcap.client.test.success.ReplaceExistingElementByNameTest)
test(org.openxdm.xcap.client.test.error.CannotDeleteTest)
test(org.openxdm.xcap.client.test.success.PutNewDocumentTest)
test(org.openxdm.xcap.client.test.success.IfNoneMatchReplaceExistingDocumentTest)
test(org.openxdm.xcap.client.test.success.GetNamespaceBindingsTest)
test(org.openxdm.xcap.client.test.error.NotValidXMLFragmentTest)
test(org.openxdm.xcap.client.test.error.ConstraintFailureTest)
test(org.openxdm.xcap.client.test.success.PutNewElementByAttrTest)
test(org.openxdm.xcap.client.test.success.DeleteElementByNameTest)
test(org.openxdm.xcap.client.test.success.IfNoneMatchDeleteDocumentTest)
test(org.openxdm.xcap.client.test.success.PutNewElementByPosTest)
test(org.openxdm.xcap.client.test.success.PutNewElementByPosTest)
test(org.openxdm.xcap.client.test.error.CannotInsertTest)
test(org.openxdm.xcap.client.test.success.DeleteAttributeTest)
test(org.openxdm.xcap.client.test.success.ReplaceExistingElementByAttrTest)
test(org.openxdm.xcap.client.test.success.PutNewElementByAttrPosTest)
test(org.openxdm.xcap.client.test.error.NotFoundTest)
test(org.openxdm.xcap.client.test.success.ReplaceExistingElementByPosTest)
test(org.openxdm.xcap.client.test.success.PutNewAttributeTest)
test(org.openxdm.xcap.client.test.error.UniquenessFailureTest)
test(org.openxdm.xcap.client.test.error.UnsupportedMediaTypeTest)
test(org.openxdm.xcap.client.test.error.BadRequestTest)
test(org.openxdm.xcap.client.test.success.ReplaceExistingElementByAttrPosTest)
test(org.openxdm.xcap.client.test.success.IfMatchDeleteDocumentTest)
test(org.openxdm.xcap.client.test.error.NotWellFormedTest)
test(org.openxdm.xcap.client.test.error.SchemaValidationErrorTest)
test(org.openxdm.xcap.client.test.error.NoParentTest)
test(org.openxdm.xcap.client.test.error.PreconditionFailedTest)
test(org.openxdm.xcap.client.test.success.ReplaceExistingAttributeTest)
test(org.openxdm.xcap.client.test.error.NotXMLAttributeValueTest)
test(org.openxdm.xcap.client.test.subscription.SubscribeDocumentTest)
test(org.openxdm.xcap.client.test.subscription.SubscribeDocumentTest)

Is there any possibilities to solve these problems? And my other problem is the integration of the XDM server to the netbeans. The JBoss AS is added but i do also not know how to integrate the XDM server to my project...

Thanks in Advance,
yuce

eduardomartins
Offline
Joined: 2005-10-10

Sorry, I don't have a clue about Netbeans integration.

About the XDM testing, did you solve it, if not what is your environment, and are you using BETA2 from http://sourceforge.net/project/showfiles.php?group_id=102670&package_id=... ?

serpico
Offline
Joined: 2008-10-29

Hi,
I have the same problem that yuce mentioned. Does anybody have a solution for that problem? I am a complete newbie to Mobicents, so I would appreciate your help :-).

I installed Mobicents 1.2.0 CR2 bin (the complete package) under Windows.
I wanted to try the SIP Presence test example, so I made a hard deploy "ant integrated-deploy". Everything went well.
Then I checked out the sources and did everything which was described in the readme.txt ("mvn install" on integrated sub-directory). Everything went well. But then when I started "mvn test" under the tests directory, I got the error message mentioned above.

So I hope, I could describe my problem in a way so that you guys understand it. I am looking forward to reading your answers. Thanks.

eduardomartins
Offline
Joined: 2005-10-10

which error msg?

serpico
Offline
Joined: 2008-10-29

oh... this one:

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.openxdm.xcap.client.test.success.IfMatchReplaceExistingDocumentTest
log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient
.HttpClient).
log4j:WARN Please initialize the log4j system properly.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.421 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.PutNewElementByNameTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.235 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.NotUTF8Test
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.subscription.SubscribeAppUsageTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.031 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.DeleteElementByAttrTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.125 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.MethodNotAllowedTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.157 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.DeleteElementByAttrPosTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.265 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.DeleteElementByPosTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.266 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.UnconditionalReplaceExistingDocumentTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.219 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.DeleteDocumentTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.093 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.ReplaceExistingElementByNameTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.157 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.PutNewDocumentTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.265 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.CannotDeleteTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.266 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.IfNoneMatchReplaceExistingDocumentTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.172 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.NotValidXMLFragmentTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 46.093 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.GetNamespaceBindingsTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.266 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.PutNewElementByAttrTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.ConstraintFailureTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.266 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.IfNoneMatchDeleteDocumentTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.DeleteElementByNameTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.PutNewElementByPosTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.266 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.CannotInsertTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.DeleteAttributeTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.266 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.ReplaceExistingElementByAttrTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.ReplaceExistingElementByPosTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.PutNewElementByAttrPosTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.266 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.NotFoundTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.PutNewAttributeTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.266 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.UniquenessFailureTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.UnsupportedMediaTypeTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.BadRequestTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.266 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.ReplaceExistingElementByAttrPosTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.NotWellFormedTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.266 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.IfMatchDeleteDocumentTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.SchemaValidationErrorTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.success.ReplaceExistingAttributeTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.266 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.PreconditionFailedTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.NoParentTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.266 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.error.NotXMLAttributeValueTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.156 sec <<< FAILURE!
Running org.openxdm.xcap.client.test.subscription.SubscribeDocumentTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.156 sec <<< FAILURE!

Results :

Tests in error:
test(org.openxdm.xcap.client.test.success.IfMatchReplaceExistingDocumentTest)
test(org.openxdm.xcap.client.test.success.PutNewElementByNameTest)
test(org.openxdm.xcap.client.test.error.NotUTF8Test)
test(org.openxdm.xcap.client.test.subscription.SubscribeAppUsageTest)
test(org.openxdm.xcap.client.test.success.DeleteElementByAttrTest)
test(org.openxdm.xcap.client.test.error.MethodNotAllowedTest)
test(org.openxdm.xcap.client.test.success.DeleteElementByAttrPosTest)
test(org.openxdm.xcap.client.test.success.DeleteElementByPosTest)
test(org.openxdm.xcap.client.test.success.UnconditionalReplaceExistingDocumentTest)
test(org.openxdm.xcap.client.test.success.DeleteDocumentTest)
test(org.openxdm.xcap.client.test.success.ReplaceExistingElementByNameTest)
test(org.openxdm.xcap.client.test.success.PutNewDocumentTest)
test(org.openxdm.xcap.client.test.error.CannotDeleteTest)
test(org.openxdm.xcap.client.test.success.IfNoneMatchReplaceExistingDocumentTest)
test(org.openxdm.xcap.client.test.error.NotValidXMLFragmentTest)
test(org.openxdm.xcap.client.test.success.GetNamespaceBindingsTest)
test(org.openxdm.xcap.client.test.success.PutNewElementByAttrTest)
test(org.openxdm.xcap.client.test.error.ConstraintFailureTest)
test(org.openxdm.xcap.client.test.success.IfNoneMatchDeleteDocumentTest)
test(org.openxdm.xcap.client.test.success.DeleteElementByNameTest)
test(org.openxdm.xcap.client.test.success.PutNewElementByPosTest)
test(org.openxdm.xcap.client.test.error.CannotInsertTest)
test(org.openxdm.xcap.client.test.success.DeleteAttributeTest)
test(org.openxdm.xcap.client.test.success.ReplaceExistingElementByAttrTest)
test(org.openxdm.xcap.client.test.success.ReplaceExistingElementByPosTest)
test(org.openxdm.xcap.client.test.success.PutNewElementByAttrPosTest)
test(org.openxdm.xcap.client.test.error.NotFoundTest)
test(org.openxdm.xcap.client.test.success.PutNewAttributeTest)
test(org.openxdm.xcap.client.test.error.UniquenessFailureTest)
test(org.openxdm.xcap.client.test.error.UnsupportedMediaTypeTest)
test(org.openxdm.xcap.client.test.error.BadRequestTest)
test(org.openxdm.xcap.client.test.success.ReplaceExistingElementByAttrPosTest)

test(org.openxdm.xcap.client.test.error.NotWellFormedTest)
test(org.openxdm.xcap.client.test.success.IfMatchDeleteDocumentTest)
test(org.openxdm.xcap.client.test.error.SchemaValidationErrorTest)
test(org.openxdm.xcap.client.test.success.ReplaceExistingAttributeTest)
test(org.openxdm.xcap.client.test.error.PreconditionFailedTest)
test(org.openxdm.xcap.client.test.error.NoParentTest)
test(org.openxdm.xcap.client.test.error.NotXMLAttributeValueTest)
test(org.openxdm.xcap.client.test.subscription.SubscribeDocumentTest)

Tests run: 40, Failures: 0, Errors: 40, Skipped: 0

I think he can't find the files, but I don't know why... because the files are in the directory.

eduardomartins
Offline
Joined: 2005-10-10

If you have installed it, following instructions in http://groups.google.com/group/mobicents-public/web/mobicents-xdm-server or the README.txt file in /trunk/servers/sip-presence, then it's running and integrated, since the xdm is on top of Mobicents JAIN-SLEE server. I recommend you to run the tests to see if everything is ok in your setup.

What type of integration are you trying to accomplish, put/get documents without going through XCAP interface, that is, internally from a JAIN-SLEE application running in same Mobicents JAIN-SLEE as the XDM?

yen_java
Offline
Joined: 2005-01-06

Thanks for the reply. OK I will run the rest.

I just want to publish my SIP Communicator contact list in XDM server. After sucessfull registration of a user in OpenIMSCore server then user will use put / get method to publish and retrive contact list from server. It it possible? Which means only for the contact list purpose I will use Mobicents XDM

I am looking forward to hearing you.

Yeasin Habib

eduardomartins
Offline
Joined: 2005-10-10

As far as I know Sip Communicator does not support XCAP.

XCAP is supported by OpenIC (not the lite version), Counterpath Eyebeam (not XLite) and UCT IMS Client (only Linux), but I only tested Eyebeam...

nielsd
Offline
Joined: 2008-03-31

Checked UCT IMS, its working, but you have to make some changes to the code. The client is not sending Content-Type Header, you have to enable this by adding a few lines of Code.
It's all discribed in the libcurl manual.
I would assume to make some more changes cause the client behavior is strange, the client tries to build a path like this: XCAP_ROOT/AUID/users/XID/AUID.xml .

NIels