| Both sides previous revision Previous revision Next revision | Previous revision |
| pr_methods:addservicerequest [2023/04/05 05:52] – ↷ Links adapted because of a move operation sean | pr_methods:addservicerequest [2025/06/12 04:00] (current) – Change to AwareIM aware_support3 |
|---|
| {{tag>Programmers_Reference Methods MessageBuilder_Class MessageBuilder_Methods AddServiceRequest}} | {{tag>Index Programmers_Reference Methods MessageBuilder_Class AddServiceRequest}} |
| ====addServiceRequest (String, String, Object [])==== | ====addServiceRequest (String, String, Object [])==== |
| <code java>public DataObject [] addServiceRequest (String componentName, String serviceName, Object [] parameters)</code> | <code java>public DataObject [] addServiceRequest (String componentName, String serviceName, Object [] parameters)</code> |
| ===Parameters=== | ===Parameters=== |
| |''componentName''|this should always be ''null''| | |''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 //**Aware IM**// the name of the service is the name of one of the methods exposed by the ''IExecutionEngineServices'' interface (see JavaDoc API)| | |''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_interface|IEntity]] objects or null if the service does not require any parameters. If a message is sent to //**Aware IM**// the parameters must correspond to 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=== | ===Returns=== |
| An array of ''DataObjects'' representing the message that can be sent to //**Aware IM**//. | An array of ''DataObjects'' representing the message that can be sent to //**AwareIM**//. |