Export (0) Print
Expand All

SOAP Implementation for News SourceType

Bing

This topic contains the following details of a News SourceType query sent to the SOAP interface:

  • Request Example

  • Response Example

For an example of code that might generate the request in this topic, see SOAP Code Samples (News SourceType).

This section contains an example of an HTTP query string that the aforementioned code might generate.

<?xml version="1.0" encoding="utf-8"?>
<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>
      <SearchRequest xmlns="http://schemas.microsoft.com/LiveSearch/2008/03/Search">
         <parameters>
            <Market>en-us</Market>
            <Query>msn moneycentral</Query>
            <AppId>Insert your AppId here</AppId>
            <Options>
               <SearchOption>EnableHighlighting</SearchOption>
            </Options>
            <Sources>
               <SourceType>News</SourceType>
            </Sources>
            <News>
               <Offset>0</Offset>
               <SortBy>Relevance</SortBy>
            </News>
         </parameters>
      </SearchRequest>
   </soap:Body>
</soap:Envelope>

This section contains an example of a response that Bing might return when sent the query string in the previous section:

<?xml version="1.0" encoding="utf-8"?>
<!--pageview_candidate-->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
      <SearchResponse xmlns="http://schemas.microsoft.com/LiveSearch/2008/03/Search">
         <parameters>
            <Version>2.0</Version>
            <Query>
               <SearchTerms>msn moneycentral</SearchTerms>
            </Query>
            <News>
               <Total>72</Total>
               <Offset>0</Offset>
               <Results>
                  <NewsResult>
                     <Title>MSN MoneyCentral</Title>
                     <Source>moneycentral.msn.com/</Source>
                     <Snippet>Quotes, stock research, portfolio tracking, news, and online bill payment. Keep informed and plan for retirement, college, taxes, insurance, real estate, and savings.</Snippet>
                     <BreakingNews>0</BreakingNews>
                  </NewsResult>
                  <NewsResult>
                     <Title>Equity One posts rise in funds from operations</Title>
                     <Url>http://news.moneycentral.msn.com/provider/providerarticle.aspx?feed=AP&amp;date=20081104&amp;id=9350115</Url>
                     <Source>MSN MoneyCentral</Source>
                     <Snippet>NORTH MIAMI BEACH, Fla. (AP) - Shopping-center owner Equity One Inc. said Tuesday its third-quarter funds from operations slightly beat Wall Street expectations, though the company swung to a net loss and occupancy dropped. Excluding a charge, funds ... </Snippet>
                     <Date>2008-11-04T23:42:29Z</Date>
                     <BreakingNews>0</BreakingNews>
                  </NewsResult>
                  <NewsResult>
                     <Title>Ultra Petroleum Announces Record Third Quarter Financial and ... </Title>
                     <Url>http://news.moneycentral.msn.com/provider/providerarticle.aspx?feed=PR&amp;date=20081104&amp;id=9350053</Url>
                     <Source>MSN MoneyCentral</Source>
                     <Snippet>-- Record earnings of $0.78 per diluted share (adjusted) or $122.4 million (adjusted), an increase of 227 percent from third quarter 2007 -- Record operating cash flow(1) of $242.5 million , up 166 percent from the same period a year ago -- Record ... </Snippet>
                     <Date>2008-11-04T23:42:29Z</Date>
                     <BreakingNews>0</BreakingNews>
                  </NewsResult>
                  <NewsResult>
                     <Title>RRsat Presents 34% Revenue Increase and Operating Margin Expansion in ... </Title>
                     <Url>http://news.moneycentral.msn.com/provider/providerarticle.aspx?feed=PR&amp;date=20081104&amp;id=9350060</Url>
                     <Source>MSN MoneyCentral</Source>
                     <Snippet>Revenues for the third quarter of 2008 totaled a record $20.1 million , an increase of 34% compared to $15.0 million in the third quarter of 2007. Backlog of signed agreements, as of September 30, 2008 , reached a record $178.5 million , a further ... </Snippet>
                     <Date>2008-11-04T23:42:29Z</Date>
                     <BreakingNews>0</BreakingNews>
                  </NewsResult>
                  <NewsResult>
                     <Title>ACME Communications Schedules Third Quarter 2008 Earnings Release and ... </Title>
                     <Url>http://news.moneycentral.msn.com/provider/providerarticle.aspx?feed=BW&amp;date=20081104&amp;id=9350102</Url>
                     <Source>MSN MoneyCentral</Source>
                     <Snippet>ACME Communications, Inc. (Pink Sheets:ACME) announced today that it will release its third quarter 2008 financial results after the market closes on Thursday, November 13, 2008. The Company will also host a conference call to discuss its third ... </Snippet>
                     <Date>2008-11-04T23:28:10Z</Date>
                     <BreakingNews>0</BreakingNews>
                  </NewsResult>
                  <NewsResult>
                     <Title>Mannatech says SEC inquiry ends without action</Title>
                     <Url>http://moneycentral.msn.com/inc/news/providerredir.asp?feed=AP&amp;date=20081104&amp;id=9350099</Url>
                     <Source>MSN MoneyCentral</Source>
                     <Snippet>COPPELL, Texas (AP) - Mannatech Inc., a maker of dietary supplements and skin care products, said Tuesday that the Securities and Exchange Commission has informed the company it will not face civil action related to the dismissal of its accountant ... </Snippet>
                     <Date>2008-11-04T23:28:10Z</Date>
                     <BreakingNews>0</BreakingNews>
                  </NewsResult>
                  <NewsResult>
                     <Title>U.S. Bancorp to Present at the Merrill Lynch Banking &amp; Financial ... </Title>
                     <Url>http://news.moneycentral.msn.com/provider/providerarticle.aspx?feed=BW&amp;date=20081104&amp;id=9350091</Url>
                     <Source>MSN MoneyCentral</Source>
                     <Snippet>U.S. Bancorp USB announced today that Richard K. Davis, chairman, president and chief executive officer, is scheduled to present at the Merrill Lynch Banking &amp; Financial Services Investor Conference. The presentation will begin at 1:45 p.m. EST on ... </Snippet>
                     <Date>2008-11-04T23:21:01Z</Date>
                     <BreakingNews>0</BreakingNews>
                  </NewsResult>
                  <NewsResult>
                     <Title>U.S. Bancorp to Present at the BancAnalysts Association of Boston ... </Title>
                     <Url>http://news.moneycentral.msn.com/provider/providerarticle.aspx?feed=BW&amp;date=20081104&amp;id=9350092</Url>
                     <Source>MSN MoneyCentral</Source>
                     <Snippet>U.S. Bancorp USB announced today that Andrew Cecere, vice chairman and chief financial officer, is scheduled to present at the BancAnalysts Association of Boston Investor Conference. The presentation will begin at 9:00 a.m. EST on Friday, November 7 ... </Snippet>
                     <Date>2008-11-04T23:21:01Z</Date>
                     <BreakingNews>0</BreakingNews>
                  </NewsResult>
                  <NewsResult>
                     <Title>S &amp; P Assigns Aqua Pennsylvania &apos;AA-&apos; Secured Debt Rating</Title>
                     <Url>http://news.moneycentral.msn.com/provider/providerarticle.aspx?feed=BW&amp;date=20081104&amp;id=9350093</Url>
                     <Source>MSN MoneyCentral</Source>
                     <Snippet>Aqua America, Inc. WTR announced today that Standard and Poor ’ s has assigned its ‘ AA- ’ secured debt rating and ‘ 1+ ’ recovery rating (1+ through 6) to the $80 million tax-free First Mortgage Bonds planned for issuance by the company ... </Snippet>
                     <Date>2008-11-04T23:21:01Z</Date>
                     <BreakingNews>0</BreakingNews>
                  </NewsResult>
                  <NewsResult>
                     <Title>Andersons Inc. reports 3Q profit up 22 percent</Title>
                     <Url>http://news.moneycentral.msn.com/provider/providerarticle.aspx?feed=AP&amp;date=20081104&amp;id=9350095</Url>
                     <Source>MSN MoneyCentral</Source>
                     <Snippet>MAUMEE, Ohio (AP) - Andersons Inc., an ethanol, railroad and fertilizer company, said Tuesday that its third quarter profit rose 22 percent, driven by increased sales of plant nutrients. The company posted net income of $12.8 million, or 70 cents per ... </Snippet>
                     <Date>2008-11-04T23:21:01Z</Date>
                     <BreakingNews>0</BreakingNews>
                  </NewsResult>
                  <NewsResult>
                     <Title>Shining Prospect&apos;s Rio Shares Transferred</Title>
                     <Url>http://news.moneycentral.msn.com/provider/providerarticle.aspx?feed=BW&amp;date=20081104&amp;id=9350096</Url>
                     <Source>MSN MoneyCentral</Source>
                     <Snippet>Alcoa AA today announced the shares held in Rio Tinto plc by Alcoa and Chinalco, which were held under a custodian agreement with Lehman Brothers International Europe, have been transferred to a new custodian acting on behalf of Shining Prospect ... </Snippet>
                     <Date>2008-11-04T23:21:01Z</Date>
                     <BreakingNews>0</BreakingNews>
                  </NewsResult>
               </Results>
            </News>
         </parameters>
      </SearchResponse>
   </soapenv:Body>
</soapenv:Envelope>

Show:
© 2014 Microsoft