Scripted web services installed with Live Feed

The Live Feed plugin installs the following scripted web services.

Table 1. Scripted web services installed with live feed
Scripted Web Service Description
PostToLiveFeed Performs the following functions:
  • Defines the user or profile to use; otherwise, the message posts from the authenticated soap user.
  • Defines the group (using the groupid); otherwise the message posts to the company feed.
  • Includes a link in the post.

Sample SOAP envelope

<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:m="http://www.service-now.com" 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:tns="http://www.service-now.com/PostToLiveFeed" 
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <SOAP-ENV:Body>
    <m:execute>
      <message xsi:type="xsd:string">Post this message to the Live Feed</message>
      <!-- optional sys_id of a sys_user record to use to get a live profile -->
      <user xsi:type="xsd:string"></user>
      <!-- optional sys_id of a live profile to post as -->
      <profile xsi:type="xsd:string"></profile>
      <!-- optional sys_id of a live group to post the message in-->
      <group xsi:type="xsd:string"></group>
      <!-- optional URL of a link to include in the message-->
      <linkurl xsi:type="xsd:string"></linkurl>
      <!-- optional name for the linkurl parameter-->
      <linkname xsi:type="xsd:string"></linkname>
    </m:execute>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>