Archive of UserLand's first discussion group, started October 5, 1998.

Re: Is XML-RPC a scripting environment?

Author:joubin
Posted:1/20/1999; 1:37:05 PM
Topic:Frontier on MacOS X Server
Msg #:2328 (In response to 2303)
Prev/Next:2327 / 2329

This issue can simply be taken care of in the xml-rpc protocol by cleaning up the specs.

Currently, data (or "objects") is represented as:

   
      
         
             textualValueRepresenationOfType
         
      
   

where could be , , etc.

Now, simply replace (above) .... with:

   
       
         typeName
      
      
         
            objectValueRepresenation_in_SOME_TYPE
         
      
   

where is a type of data representation which is common to any platform. All of xml-rpc data is encoded as 'string' or base64 string representations anyway. So here this is either or .

For example:



   examples.setStateFlag
   
        
        
           integer
           
              41
           
        
     
        
        
           GIF
           
              
                 ... base64 encoded gif goes here
              
           
        
     
        
        
           boolean
           
              true
           
        
     
   

Of course, the question remains as to exactly what purpose does the tag serve anyway? But that's another topic...




This page was archived on 6/13/2001; 4:47:28 PM.

© Copyright 1998-2001 UserLand Software, Inc.