{{tag>Index Programmers_Reference Methods MessageBuilder_Class AddServiceRequest}} ====addServiceRequest (String, String, Object [])==== public DataObject [] addServiceRequest (String componentName, String serviceName, Object [] parameters) This method constructs a message representing a service request ===Parameters=== |''componentName''|this should always be ''null''| |''serviceName''|the name of the service to call (the service with this name must be exposed by the service provider). If a message is sent to //**AwareIM**// the name of the service is the name of one of the methods exposed by the ''IExecutionEngineServices'' interface (see JavaDoc API)| |''parameters''|the parameters of the service as an array of [[docs:3500:0300:0317|IEntity]] objects or null if the service does not require any parameters. If a message is sent to //**AwareIM**// the parameters must correspond to the methods exposed by the ''IExecutionEngineServices'' interface (see JavaDoc API)| ===Returns=== An array of ''DataObjects'' representing the message that can be sent to //**AwareIM**//.