1 / 11

SDK 4.4: Software Development Kit

LiteScape SDK 4.3. SDK 4.4: Software Development Kit. Applied for Gadget development. Assumptions: The custom gadget will be downloaded as used “client side” by end users platform/language independent Provide a subset of OnCast smart Client functionality: Log in

nishi
Download Presentation

SDK 4.4: Software Development Kit

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LiteScape SDK 4.3 SDK 4.4: Software Development Kit Applied for Gadget development

  2. Assumptions: The custom gadget will be downloaded as used “client side” by end users platform/language independent Provide a subset of OnCast smart Client functionality: Log in Search various directories Broadcast: text, audio, image Requirements

  3. Implementation suggestion: Use of OnCast CIL native libraries (for future call-control support) OnCast CIL Web-service libraries Since the product will not be tightly coupled with .Net development, use server-side web-services LiteScape suggests usage of OnCast CIL Web-Service libraries If there are shortcomings in the OnCast CIL Web-Service, to support the custom Gadget functional specification), LiteScape will address those on the OnCast libraries, using the recommended interfaces. Implementation suggestions

  4. Custom Gadget (client side) OnCast CIL Web-service OnCast Client application (client side) OnCast CIL library (client side) OnCast CIL Web-service (server side) OnCast services (server side)

  5. Step 2 Initiates broadcast request to OnCast Step 4 (Optional): to stop audio Stops the audio portion of OnCast broadcast Step 3 (Optional) Provides status of the broadcast in progress Step 1 Authenticates organizer of broadcast (sender) OnCast CIL Web-Service, Broadcast

  6. CIL Web-Service, Broadcast invocation 1) Invoke CIL DoBroadcast interface: <soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/ xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><DoBroadcast xmlns="OnCast.CIL.WebServices"><Param><OnCast><Command><Broadcast><BroadcastFile>Emergenc _Evacuate_Bldg_30.ocm</BroadcastFile><Recipients><Groups><Recipient>ProductManagement</Recipient </Groups><Users></Users></Recipients><Extension>20366</Extension><DeviceIP>10.12.2.3</DeviceIP></ roadcast></Command></OnCast></Param></DoBroadcast></soap:Body></soap:Envelope> 2) Invocation result back from web-service, result code and session ID <soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/ xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><DoBroadcastResponse xmlns="OnCast.CIL.WebServices"><DoBroadcastResult><Results><ResultCode>0</ResultCode> <Session>da9da1ef-2309-45ea-8760-4ea013604f39</Session> </Results></DoBroadcastResult></DoBroadcastResponse></soap:Body></soap:Envelope>POST /OnCastCILWebService/OnCastCIL.asmx HTTP/1.1 3) Invoke GetStatusReport interface (to get status of current session): <soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/ xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body> <GetStatusReport xmlns="OnCast.CIL.WebServices"> <SessionID>da9da1ef-2309-45ea-8760-4ea013604f39</SessionID> </GetStatusReport></soap:Body></soap:Envelope>

  7. Broadcast new audio/image file (new OCM) Step 1 Create OCM file Create OCM Pay file Attach audio or image file + Pay file Into .OCM (zip) file Step 2 Use Web-DAV to send OCM file to OnCast server: Filmstrip or TempData Use FilmStrip for persistent OCMs, use TempData for temporary ones Step 3 Reference relative path in Web-Dav folder in OnCast CIL WS invocation (DoBroadcast method)

  8. New OCM: Sample sending OCM using WebDav Send OCM file to OnCast Web-Dav interface: PUT /FilmStrip/815f4df1-0f69-4d7a-a372-39e4f0368b91/image_pres.ocm HTTP/1.1 Host: 10.11.2.72 Content-Length: 136675 …. image_pres.pay content zipped in OCM …image_pres.png content zipped in OCM…...... HTTP/1.1 201 Created Connection: close Date: Mon, 10 Mar 2008 23:38:33 GMT Server: Microsoft-IIS/6.0 Location: http://OnCastServerIP/FilmStrip/815f4df1-0f69-4d7a-a372-39e4f0368b91/image_pres.ocm

  9. New OCM:CIL Web-Service, Reference in DoBroadcast Invoke CIL WS DoBroadcast interface: <soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/ xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><DoBroadcast xmlns="OnCast.CIL.WebServices"> <Param><OnCast><Command> <Broadcast> <BroadcastFile></BroadcastFile> <URLOCMFile>http://10.11.2.72:80/FilmStrip/815f4df1-0f69-4d7a-a372-39e4f0368b91/image_pres.ocm</URLOCMFile> <Recipients><Groups><Recipient>ProductManagement</Recipient </Groups><Users></Users></Recipients><Extension>20366</Extension> <DeviceIP>10.12.2.3</DeviceIP> </Broadcast> </Command> </OnCast> </Param></DoBroadcast></soap:Body></soap:Envelope>

  10. OnCast CIL Web-Service, Get Contacts Step 2 Step 3 (optional) Step 1

  11. CIL Web-Service, GetGalContacts invocation 1) Invoke CIL GelGatContactsinterface: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetGALContacts xmlns="OnCast.CIL.WebServices"><SearchCriteria><query><group><Item><Name>First</Name><Value>maze*</Value></Item></group><group><Item><Name>Last</Name><Value>maze*</Value></Item></group><group><Item><Name>Display</Name><Value>maze*</Value></Item></group></query></SearchCriteria><StartIndex>0</StartIndex><Count>100</Count></GetGALContacts></soap:Body></soap:Envelope> 2) Results back from web-service: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetGALContactsResponse xmlns="OnCast.CIL.WebServices"><GetGALContactsResult><ArrayOfString><string>Mazen Sadat</string><string>Mazen Sadat</string></ArrayOfString><ArrayOfString><string>SalesForce|0033000000DoWNKAA3</string><string>SalesForce|0033000000DoWNKAA3</string></ArrayOfString><ArrayOfString><string>(310) 445-6865</string><string>(310) 445-6865</string></ArrayOfString><ArrayOfString><string>Mazen</string><string>Mazen</string></ArrayOfString><ArrayOfString><string>Sadat</string><string>Sadat</string></ArrayOfString><ArrayOfString><string>(310) 445-6865</string><string>(310) 445-6865</string></ArrayOfString><ArrayOfString><string>(310) 445-6865</string><string>(310) 445-6865</string></ArrayOfString><ArrayOfString><string /><string /></ArrayOfString><ArrayOfString><string>msadat@westfield.com</string><string>msadat@westfield.com</string></ArrayOfString><ArrayOfString><string>Person</string><string>Person</string></ArrayOfString></GetGALContactsResult></GetGALContactsResponse></soap:Body></soap:Envelope>

More Related