XMLA
                     web Service as a keyword and Stream as
                  the stored process output type when defining the stored process. On
                  the client side, perform the following steps to use XMLA web services:
                  
               '?WSDL' onto
                              the service endpoint.
                              
                           | 
                           
                            Item 
                           
                         | 
                        
                        
                           
                            SAS Program 
                           
                         | 
                        
                        
                           
                            Metadata 
                           
                         | 
                        
                        
                           
                            Client Code 
                           
                         | 
                        
                     
|---|---|---|---|
| 
                           
                            Name 
                           
                         | 
                        
                        
                           
                            The name of the file
                              that contains the SAS code.
                              
                            
                           
                         | 
                        
                        
                           
                            Associates a SAS Stored
                              Process with the name of the file containing the SAS program. Alternatively,
                              starting in SAS 9.3, the SAS program can be included directly in metadata.
                              
                            
                           
                         | 
                        
                        
                           
                           <StoredProcess name= 'MyStoredProcess'>  | 
                        
                     
| 
                           
                            Input Data 
                           
                         | 
                        
                        
                           
                            Reads XML from the fileref. 
                           
                           libname instream xml;  | 
                        
                        
                           
                            The name of the fileref,
                              which must match the name of the data source. In this case, the name
                              of the fileref is instream.
                              
                            
                           
                         | 
                        
                        
                           
                           <Stream name='instream' XML input stream provided by client... </Stream>  | 
                        
                     
| 
                           
                            Input Parameters 
                           
                         | 
                        
                        
                           
                            Macros. 
                           
                           &tablename  | 
                        
                        
                           
                            The parameter name is
                              specified in the metadata. Parameters are validated for proper typing,
                              but they are treated as strings on the server regardless of the type
                              that is specified in the metadata.
                              
                            
                           
                         | 
                        
                        
                           
                           <Parameter name='tablename'> value</Parameter>  | 
                        
                     
| 
                           
                            Output Data 
                           
                         | 
                        
                        
                           
                            Writes output to the
                              _WEBOUT fileref as XML.
                              
                            
                           
                           libname _WEBOUT xml xmlmeta= &_XMLSCHEMA;  | 
                        
                        
                           
                            Designates the output
                              as 'Streaming'.
                              
                            
                           
                         | 
                        
                        
                           
                            Uses the XML that is
                              returned.
                              
                            
                           
                         | 
                        
                     
?WSDL or .wsdl to
                              the URL of your SAS web service.