p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > Microsoft Servers > Live Communication Server
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read

Welcome to the p2p.wrox.com Forums.

You are currently viewing the Live Communication Server section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 23rd, 2007, 01:54 AM
Registered User
 
Join Date: May 2007
Location: ahmedabad, gujarat, India.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Communicator web access problem

Hi All,
I am working on web application which communicate with Communicator Web Access and Live communication Server. I can successfully logged into LCS system using my web application. And also can start Poll method of Communicator web access Ajax API. But i am getting xml result from communicator web access instead of JSON.

I send http web request to communicator web access server and get back the result using http web response. I got result into XML instead of JSON.

I got following result:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<div id="sessionUpdateString">
    <DIV version="LCW.1" uri="sip:administrator@lcs.gateway.com" session="15003" latestUpdate="1">
        <DIV type="epid" value="24-E3-4C-42-B6"></DIV>
        <DIV type="policy" action="update" userNotice="" defaultOrSearch="True" defaultSearchFields="12" ></DIV>
        <DIV type="contact" action="add" uri="sip:administrator@lcs.gateway.com" name="AdministratorDisplay" email="admin@lcs.gateway.com" phone="" iconUri="" note="Administrator here" oof="" calendarInfo="" presence="Online" availability="Free" endpointCategory="Web" ></DIV>
        <DIV type="contact" action="add" uri="sip:hardik@lcs.gateway.com" name="Hardik P. Patel" email="" phone="" iconUri="" note="" oof="" calendarInfo="" presence="Online" availability="Free" endpointCategory="None" ></DIV>
        <DIV type="options" action="untag" uri="sip:hardik@lcs.gateway.com"></DIV>
        <DIV type="group" action="add" groupId="1" name="Gateway"></DIV>
        <DIV type="group" action="addContacts" groupId="1" name="Gateway" contacts="sip:hardik@lcs.gateway.com "></DIV>
        <DIV type="group" action="add" groupId="2" name="Gateway1"></DIV>
        <DIV type="acl" action="add" acl="allow" users="sip:hardik@lcs.gateway.com " ></DIV>
    </DIV>
</div>
<div id="queryTimeout">3000</div>

So what is the problem, why am i getting xml output instead of JSON?

My another problem is then when i want to start im with any online user, and i tried to call "StartIM" method of Communicator web access ajax, it returns blank xml. "<xml></xml>". As per the help it returns IMID and description field. but i am not getting these fields in output.

Can you please tell me why i am getting blank xml ("<xml></xml>")? These problem arise in most of all the method (like "Acl", "SetPresence" etc.)

Please help me.

Thanks,
Regards,
Hardik Patel



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access WEB Applications ru1 Access 0 August 20th, 2008 11:52 AM
I can not access the web application from outside asmaa ASP.NET 2.0 Professional 2 June 4th, 2008 09:59 AM
Office Communicator 2005 & LCS2005 sp1 AlanTwigg Live Communication Server 0 April 23rd, 2007 01:22 PM
How to access to sipaccount of Office Communicator mrsamii Live Communication Server 0 April 8th, 2007 08:05 PM
web site access problem msrnivas General .NET 1 December 24th, 2004 07:59 AM



All times are GMT -4. The time now is 05:33 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc