THURSDAY, AUGUST 07, 2008




MY ACCOUNT LOGIN

LOGIN NAME:

PASSWORD:

REGISTER TODAY!
FORGOT YOUR PASSWORD?

SOAP METHODS



LOADSURVEY

PROCESSSURVEY

VOTE

GETNEWSURVEYID

LOADSURVEYS

LOADSURVEYSPAGED



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


HOME

WEB SERVICES

SOA SOLUTIONS

SOA SERVICES

ABOUT US





XWEBSURVEY


Documentation


FAQs


Implementation Guides


Forum


Pricing






SEARCH









HOME  ::  WEB SERVICES  ::  XWEBSURVEY  ::  DOCUMENTATION

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

ProcessSurvey SOAP Method

DESCRIPTION:

Performs data manipulation on individual Survey (Poll) records.

PARAMETER(S):

strXML - XML String, representing the Survey 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:

<Survey Survey_ID="7" Date_Created="2005-09-12T15:29:00">
 <Name>Demo Survey</Name>
 <Description>Our demo survey's Description
    would go here.</Description>
 <Options>
  <Option Option_Sequence="1">
   <Name>First Option</Name>
   <Votes>0</Votes>
  </Option>
  <Option Option_Sequence="2">
   <Name>Second Option</Name>
   <Votes>0</Votes>
  </Option>
 </Options>
</Survey>

To create a new Survey record, please provide a unique identifier as the value of the Survey_ID attribute. The easiest way of obtaining a unique identifier is by calling the GetNewSurveyID SOAP method.

If an existing Survey record's identifier is provided as the value of the Survey_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 Survey record from the system, the XML string must consist of only the root element and the Survey_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:

<Survey Survey_ID="7" />

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