THURSDAY, AUGUST 07, 2008




MY ACCOUNT LOGIN

LOGIN NAME:

PASSWORD:

REGISTER TODAY!
FORGOT YOUR PASSWORD?

SOAP METHODS



LOADARTICLE

PROCESSARTICLE

GETNEWARTICLEID

LOADARTICLES

LOADARTICLESPAGED

LOADARTICLESBYDATERANGE

LOADARTICLESBYDATERANGE
PAGED


LOADARTICLESBYSOURCE

LOADARTICLESBYSOURCE
PAGED


LOADARTICLESBYSOURCE
ANDDATERANGE


LOADARTICLESBYSOURCE
ANDDATERANGEPAGED


PERSONALIZE

LOADPERSONALIZEDARTICLES



Web Services, SOA Solutions, SOA Services - XWebServices.com


HOME

WEB SERVICES

SOA SOLUTIONS

SOA SERVICES

ABOUT US





XWEBNEWS


Documentation


FAQs


Implementation Guides


Forum


Pricing






SEARCH









HOME  ::  WEB SERVICES  ::  XWEBNEWS  ::  DOCUMENTATION

:: Web Services :: XWebNews ::
:: Documentation (Version 1) ::

LoadArticlesBySourceAndDateRange SOAP Method

DESCRIPTION:

Returns all News Articles by a specific Source Identifier, created within a specific date range, in the reverse chronological order the records were entered into the system.

PARAMETER(S):

strSourceIdentifier - String. Indicates the Source Identifier for which the data is to be returned.
dtDateStart - Date/Time. Indicates the first inclusive date of the date range.
dtDateEnd - Date/Time. Indicates the last inclusive date of the date range.

SOAP HEADERS:

LoginName - String. The "Login Name" you chose during the registration process.
Password - String. Your account's "Password".

NOTE***: SOAP Headers are required for authentication.

RETURNS:

XML String, representing all Article records posted by a specific source (the record's <Source_Identifier> value matches the input parameter's value) within the specific date range requested. To view the validating XSD Schema, please click here (opens in a new window). An example is provided here (opens in a new window) or below:

<News>
 <Article Article_ID="32" Date_Created="2004-08-25T11:23:00">
  <Author>John Tester</Author>
  <Title>Demo News Article 32</Title>
  <URL>http://www.demosite.com/news/32.aspx</URL>
  <Introduction>Newest News Article posted between 8/20/2004 and
       8/27/2004 by John.</Introduction>
 </Article>
 <Article Article_ID="30" Date_Created="2004-08-24T12:17:00">
  <Author>John Tester</Author>
  <Title>Demo News Article 30</Title>
  <URL>http://www.demosite.com/news/30.aspx</URL>
  <Introduction>Second newest News Article posted between 
       8/20/2004 and 8/27/2004 by John.</Introduction>
 </Article>
 ...
</News>

If no records were posted by that specific source within the specified time frame, the <News> root node will not contain any child elements. An example is provided below:

<News />

All non-XML strings returned by this method should be considered errors.

ERROR(S):

If the system encounters an error, the method will return one the following messages instead of the expected XML string:

Error: Unable to authenticate. Your username and/or password are invalid. - authentication errors.
Error: You have not yet registered for this service. - authorization errors.
Error: A database error has occurred. Please try again later. - catastrophic database errors.
Error: System error. Unable to process the request. - catastrophic system errors.

ADDITIONAL SUPPORT RESOURCES:



HOME
WEB SERVICES
SOA SOLUTIONS
SOA SERVICES
MY ACCOUNT
ABOUT US