Visit Platform at http://www.platform.com

extern LIBESC_API int esc_createservice(char *, esc_security_def_t *)

Create a service with ESC.

Creates a service according to a service definition string. ESC will verify the service definition string and decide whether to accept or reject it. Then it will load the service definition string into memory as a service. The ESC will also save it into its service definition database and manage the lifecycle of the newly created service.

Parameters:
The first parameter IN is the service definition string to be created.
The second parameter IN is the security context.
Error on return: May be ESCE_NO_VEMKD,ESCE_AUTH_FAIL,ESCE_SYS, ESCE_ESC_DOWN, ESCE_SOCK_SYS, ESCE_TIME_OUT, ESCE_BAD_ARG, ESCE_NO_MEM, ESCE_XDR, ESCE_WRONG_DFN, ESCE_SVR_EXIST,ESCE_XMLFC_FAIL, ESCE_AUTH_FAIL, ESCE_NO_ADMIN_AUTH, ESCE_NO_AUTH,ESCE_SEC_INIT_FAIL,ESCE_AUTH_FAIL_CRED_EXPIRE, ESCE_PROTOCOL,ESCE_AUTH_ALREADY,ESCE_AUTH_FAIL_CREATE_EXPIRE, ESCE_AUTH_FAIL_UNKNOWN_USER

Returns:
0 if successful. < 0 otherwise.


     
Date Modified: 26 Nov 2007
Platform Computing: www.platform.com

Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Copyright © 2001-2007 Platform Computing Corporation. All rights reserved.