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

SetByteValue Method


This method sets the value portion of a property set.

Syntax

oPropSet.setByteValue(value)

Argument
Description

value

The byte array containing the value to be set

Returns

Not applicable

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 put it into a String
String out2 = new String (output.getByteValue());
System.out.println(out2);

Related Topic

GetByteValue Method

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