- Contents
 
SOAP API Developer's Guide
Helper Tools
SOAP Base64 Encode
Converts the string (which is UNICODE) into the specified character set (default = UTF-8) and encodes the resulting data into a Base64 string. Characters that cannot be translated to the destination character set will be represented as ‘?'. Wide character sets, such as UTF-16 are currently not supported. SOAP does not mandate a maximum line width for base64 encoded data. Some other protocols, such as MIME, do.
Exit Paths: Success, Failure
| 
   Parameter  | 
		
   Dir  | 
		
   Type  | 
		
   Remarks  | 
	
| 
   Data  | 
		
   IN  | 
		
   String  | 
		
   String to encode Base64  | 
	
| 
   Character Set  | 
		
   IN  | 
		
   String  | 
		
   Optional. Character set to convert data into before encoding. Default: ‘UTF-8'  | 
	
| 
   Max Line Width  | 
		
   IN  | 
		
   Integer  | 
		
   Optional. Maximum width of a line in characters. –1 = unlimited (default).  | 
	
| 
   Line Separator  | 
		
   IN  | 
		
   String  | 
		
   Optional. String inserted as line separator. Default: "\r\n" (CR/LF)  | 
	
| 
   Encoded Data  | 
		
   OUT  | 
		
   String  | 
		
   String after encoding data Base64  | 
	

 
			 