SUNDAY, JULY 20, 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) ::

ProcessArticle SOAP Method

DESCRIPTION:

Performs data manipulation on individual Article records.

PARAMETER(S):

strXML - XML String, representing the News Article record to be added, updated or deleted. 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:

<Article Article_ID="6" Date_Created="2004-08-09T10:18:00">
 <Source_Identifier>jack</Source_Identifier>
 <Author>Jack Smith</Author>
 <Title>New Demo News Article</Title>
 <URL>http://www.demosite.com/news/6.aspx</URL>
 <Introduction>Our demo news article's Introduction
     would go here.</Introduction>
 <Body>The entire Body of our news article would go here.</Body>
</Article>

To create a new News Article record, please provide a unique identifier as the value of the Article_ID attribute. The easiest way of obtaining a unique identifier is by calling the GetNewArticleID SOAP method.

If an existing Article record's identifier is provided as the value of the Article_ID attribute, an update of that record will be performed by the system, as long as any of the child elements are also included in the XML string.

To delete a News Article record from the system, the XML string must consist of only the root element and the Article_ID attribute, with the identifier of the record to be deleted as the attribute's value. Do not provide any of the root node's child elements. An example is provided below:

<Article Article_ID="17" />

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:

String, representing any errors that may have occurred during the data manipulation process. If the operation succeeded without any errors, the method will not generate a result.

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