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) ::

LoadSurvey SOAP Method

DESCRIPTION:

Returns a specific Survey (Poll).

PARAMETER(S):

intSurveyID - Positive Integer. The identifier for the Survey record requested.

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 the Survey record 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:

<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>
 <Total_Votes>10</Total_Votes>
 <Options>
  <Option Option_Sequence="1">
   <Name>First Option</Name>
   <Votes>6</Votes>
   <Percentage>60</Percentage>
  </Option>
  <Option Option_Sequence="2">
   <Name>Second Option</Name>
   <Votes>4</Votes>
   <Percentage>40</Percentage>
  </Option>
 </Options>
</Survey>

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