Siebel Object Interfaces Reference > Interfaces Reference > Property Set Methods >

GetByteValue Method


This method returns a byte array if a byte value has been set.

Syntax

oPropSet.getByteValue()

Argument
Description

Not applicable

 

Returns

A byte array if a byte value has been set, null if a string value has been set.

Used With

Java Data Bean

Example

The following example takes a binary value and outputs binary.

SiebelPropertySet input = new SiebelPropertySet();
SiebelPropertySet output = new SiebelPropertySet();

input.setProperty("ProcessName", "LMS3 Jason");

// XML to send
String str="<?xml version=\"1.0\" encoding=\"UTF8\" ?><GetCommunicationDataInput><MemberID>20048963</MemberID></GetCommunicationDataInput>";

// convert string to byte array
byte [] bvalue = new String(str).getBytes();

input.setByteValue(bvalue);
businessService.invokeMethod("RunProcess",input,output);

// Use getByteValue to retrieve the value..and pop it in a String..for example
String out2 = new String (output.getByteValue());
System.out.println(out2);

Related Topic

SetByteValue Method

Siebel Object Interfaces Reference Copyright © 2008, Oracle. All rights reserved.