Sample WSDLs

Sample Parameters

The following table contains names, prompt types, and restrictions for sample parameters for a stored process.
Sample Stored Process Parameters
Prompt Name
Prompt Type
Restrictions
top_level
Text
Single value
fixed
Text
Read-only values
Single value
Default value: fixed default
simple_string
Text
Single value
invisible
Text
Hide from user
Single value
Default value: hidden val
default
Text
Single value
Default value: def val
static_list
Text
Multiple ordered values
max_length
Text
Single value
Maximum length: 6
mult_entry
Text
Multiple values
Maximum value count: 5
text_range
Text range
Default range from: aaa
Default range to: zzz
req_string
Text
Requires a non-blank value
Single value
simple_int
Numeric (integer)
Single value
Allows only integer values
fixed_int
Numeric (integer)
Read-only values
Single value
Allows only integer values
Default value: 12345
def_int
Numeric (integer)
Single value
Allows only integer values
Default value: 12345
int_list
Numeric (integer)
Multiple ordered values
Allows only integer values
int_mult
Numeric (integer)
Requires a non-blank value
Multiple values
Allows only integer values
Minimum value count: 1
Maximum value count: 5
lim_int
Numeric (integer)
Single value
Allows only integer values
Minimum value allowed: 1
Maximum value allowed: 99
req_int
Numeric (integer)
Requires a non-blank value
Single value
Allows only integer values
Default value: 9999
simple_float
Numeric (double)
Single value
def_float
Numeric (double)
Single value
Minimum number of decimal places displayed: 1
Maximum number of decimal places displayed:3
Minimum value allowed: 1.0
Maximum value allowed: 100.0
Default value: 99.99
float_list
Numeric (double)
Multiple values
Minimum number of decimal places displayed: 1
Maximum number of decimal places displayed: 3
float_mult
Numeric (double)
Multiple values
Maximum number of decimal places displayed: 4
Maximum value count: 5
Maximum value allowed: 999999.0
lim_float
Numeric (double)
Single value
Minimum value allowed: 10.0
Maximum value allowed: 20.0
req_float
Numeric (double)
Requires a non-blank value
Single value
Default value: 99.0
simple_color
Color
def_color
Color
Default value: CXFF0000
fixed_color
Color
Read-only values
Default value: CX0000FF
req_color
Color
Requires a non-blank value
Default value: CXFFFF00
simple_date
Date
Single value
def_date
Date
Single value
Default value: Today
date_list
Date
Multiple values
Minimum value allowed: October 01, 2007
Maximum value allowed: N days from now (200)
date_range
Date range
Minimum value allowed: October 01, 2007
Maximum value allowed: N days from now (300)
req_date
Date
Requires a non-blank value
Single value
Include special values: Missing values
Default value: Week 50 2007
simple_time
Time
fixed_time
Time
Read-only values
Default value: Current hour
def_time
Time
Minimum value allowed: N hours ago (1)
Maximum value allowed: N hours from now (1)
Default value: Current hour
timerange
Time range
Default range type: Custom
Default range from: N hours ago (10)
Default range to: N hours from now (1)
file1
File or directory
data_source
Data source
Default value: /Stored Processes/CARS(Table)
data_source_item
Data source item
Single value
Default value: Make [Make] [/Stored Processes/CARS]
data_library
Data library
Default value library: /Stored Processes/WsmSASHelp(Library)
Default value libref: myref
olap_member
OLAP member
Single value

Generated WSDL for Java

If a web service is generated for a stored process with these sample parameters, the following WSDL is generated for Java:
<types>
    <schema elementFormDefault="qualified" targetNamespace=
      "http://tempuri.org/AllPromptTypes" 
      xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns=
      "http://tempuri.org/AllPromptTypes">
         <annotation>
            <documentation>SAS BI Web Services generated schema</documentation>
         </annotation>
         <element name="stpAllParm1">
            <complexType>
               <sequence>
                  <element name="parameters" type="tns:stpAllParm1Parameters"/>
               </sequence>
            </complexType>
         </element>
         <complexType name="stpAllParm1Parameters">
            <sequence>
               <element maxOccurs="1" minOccurs="0" name="top_level" type="string"/>
               <element maxOccurs="1" minOccurs="0" name="simple_string" type="string"/>
               <element default="def val" maxOccurs="1" minOccurs="0" name="default" 
                  type="string"/>
               <element maxOccurs="1" minOccurs="0" name="static_list">
                  <complexType>
                     <sequence>
                        <element maxOccurs="unbounded" minOccurs="0" name="Item" 
                           type="string"/>
                     </sequence>
                  </complexType>
               </element>
               <element maxOccurs="1" minOccurs="0" name="max_length">
                  <simpleType>
                     <restriction base="string">
                        <maxLength value="6"/>
                     </restriction>
                  </simpleType>
               </element>
               <element maxOccurs="1" minOccurs="0" name="mult_entry">
                  <complexType>
                     <sequence>
                        <element maxOccurs="5" minOccurs="0" name="Item" type="string"/>
                     </sequence>
                  </complexType>
               </element>
               <element maxOccurs="1" minOccurs="0" name="text_range">
                  <complexType>
                     <sequence>
                        <element name="LowerBound" type="string"/>
                        <element name="UpperBound" type="string"/>
                     </sequence>
                  </complexType>
               </element>
               <element maxOccurs="1" minOccurs="1" name="req_string" type="string"/>
               <element maxOccurs="1" minOccurs="0" name="simple_int" type="int"/>
               <element default="12345" maxOccurs="1" minOccurs="0" name="def_int" 
                  type="int"/>
               <element maxOccurs="1" minOccurs="0" name="int_list">
                  <complexType>
                     <sequence>
                        <element maxOccurs="unbounded" minOccurs="0" name="Item" 
                           type="int"/>
                     </sequence>
                  </complexType>
               </element>
               <element maxOccurs="1" minOccurs="1" name="int_mult">
                  <complexType>
                     <sequence>
                        <element maxOccurs="5" minOccurs="1" name="Item" type="int"/>
                     </sequence>
                  </complexType>
               </element>
               <element maxOccurs="1" minOccurs="0" name="lim_int">
                  <simpleType>
                     <restriction base="int">
                        <minInclusive value="1"/>
                        <maxInclusive value="99"/>
                     </restriction>
                  </simpleType>
               </element>
               <element default="9999" maxOccurs="1" minOccurs="1" name="req_int" 
                  type="int"/>
               <element maxOccurs="1" minOccurs="0" name="simple_float" type="double"/>
               <element default="99.99" maxOccurs="1" minOccurs="0" name="def_float">
                  <simpleType>
                     <restriction base="double">
                        <minInclusive value="1.0"/>
                        <maxInclusive value="100.0"/>
                     </restriction>
                  </simpleType>
               </element>
               <element maxOccurs="1" minOccurs="0" name="float_list">
                  <complexType>
                     <sequence>
                        <element maxOccurs="unbounded" minOccurs="0" name="Item" 
                           type="double"/>
                     </sequence>
                  </complexType>
               </element>
               <element maxOccurs="1" minOccurs="0" name="float_mult">
                  <complexType>
                     <sequence>
                        <element maxOccurs="5" minOccurs="0" name="Item">
                           <simpleType>
                              <restriction base="double">
                                 <maxInclusive value="999999.0"/>
                              </restriction>
                           </simpleType>
                        </element>
                     </sequence>
                  </complexType>
               </element>
               <element maxOccurs="1" minOccurs="0" name="lim_float">
                  <simpleType>
                     <restriction base="double">
                        <minInclusive value="10.0"/>
                        <maxInclusive value="20.0"/>
                     </restriction>
                  </simpleType>
               </element>
               <element default="99.0" maxOccurs="1" minOccurs="1" name="req_float" 
                  type="double"/>
               <element maxOccurs="1" minOccurs="0" name="simple_color" type="string"/>
               <element default="cxff0000" maxOccurs="1" minOccurs="0" name="def_color" 
                  type="string"/>
               <element default="cxffff00" maxOccurs="1" minOccurs="1" name="req_color" 
                  type="string"/>
               <element maxOccurs="1" minOccurs="0" name="simple_date" type="string"/>
               <element default="D0D" maxOccurs="1" minOccurs="0" name="def_date" 
                  type="string"/>
               <element maxOccurs="1" minOccurs="0" name="date_list">
                  <complexType>
                     <sequence>
                        <element maxOccurs="unbounded" minOccurs="0" name="Item">
                           <simpleType>
                              <restriction base="string">
                                 <enumeration value="October 05, 2007"/>
                                 <enumeration value="October 31, 2007"/>
                              </restriction>
                           </simpleType>
                        </element>
                     </sequence>
                  </complexType>
               </element>
               <element maxOccurs="1" minOccurs="0" name="date_range">
                  <complexType>
                     <sequence>
                        <element name="LowerBound" type="string"/>
                        <element name="UpperBound" type="string"/>
                     </sequence>
                  </complexType>
               </element>
               <element default="Week 50 2007" maxOccurs="1" minOccurs="1" 
                  name="req_date" nillable="true">
                  <complexType>
                     <simpleContent>
                        <extension base="string">
                           <attribute name="missing">
                              <simpleType>
                                 <restriction base="string">
                                    <pattern value="[_.A-Z]"/>
                                 </restriction>
                              </simpleType>
                           </attribute>
                        </extension>
                     </simpleContent>
                  </complexType>
               </element>
               <element maxOccurs="1" minOccurs="0" name="simple_time" type="string"/>
               <element default="H0H" maxOccurs="1" minOccurs="0" name="def_time" 
                  type="string"/>
               <element maxOccurs="1" minOccurs="0" name="timerange">
                  <complexType>
                     <sequence>
                        <element name="LowerBound" type="string"/>
                        <element name="UpperBound" type="string"/>
                     </sequence>
                  </complexType>
               </element>
               <element maxOccurs="1" minOccurs="0" name="file1" type="string"/>
               <element maxOccurs="1" minOccurs="0" name="data_source" type="string"/>
               <element maxOccurs="1" minOccurs="0" name="data_source_item">
                  <complexType>
                     <sequence>
                        <element maxOccurs="unbounded" name="DataSourceItem">
                           <complexType>
                              <sequence>
                                 <element maxOccurs="1" minOccurs="1" name="Path" 
                                    type="string"/>
                                 <element maxOccurs="1" minOccurs="1" name="ItemName" 
                                    type="string"/>
                              </sequence>
                           </complexType>
                        </element>
                     </sequence>
                  </complexType>
               </element>
               <element maxOccurs="1" minOccurs="0" name="data_library" type="string"/>
               <element maxOccurs="1" minOccurs="0" name="olap_member">
                  <complexType>
                     <sequence>
                        <element maxOccurs="unbounded" name="OlapMember">
                           <complexType>
                              <sequence>
                                 <element maxOccurs="1" minOccurs="1" name="UniqueName" 
                                    type="string"/>
                                 <element maxOccurs="1" minOccurs="0" name="Label" 
                                    type="string"/>
                              </sequence>
                           </complexType>
                        </element>
                     </sequence>
                  </complexType>
               </element>
            </sequence>
         </complexType>
         <element name="stpAllParm1Response">
            <complexType>
               <sequence>
                  <element name="stpAllParm1Result">
                     <complexType>
                        <sequence>
                           <element maxOccurs="1" minOccurs="0" name="Streams">
                              <complexType>
                                 <sequence>
                                    <element maxOccurs="1" minOccurs="0" name="_WEBOUT">
                                       <complexType>
                                          <sequence>
                                             <element name="Value" type="base64Binary"/>
                                          </sequence>
                                          <attribute name="contentType" type="string"/>
                                       </complexType>
                                    </element>
                                 </sequence>
                              </complexType>
                           </element>
                        </sequence>
                      </complexType>
                  </element>
               </sequence>
            </complexType>
         </element>
      </schema>
  </types>