create login protocol request . concode_field_sep String ATTR_AGENT concode_elem_sep String SERVICE_SESSION_PING concode_elem_sep String ATTR_AGENTKEY concode_elem_sep int ERR4004_ILLEGAL_COMMAND_FOR_STATE concode_elem_sep String POSTFIX_IND concode_elem_sep String SERVICE_MULTI_REQ concode_elem_sep String ATTR_USER concode_elem_sep int ERR4101_INVALID_PASSWORD concode_elem_sep String ATTR_STOPONERROR concode_elem_sep String SERVICE_SESSION_CREATE concode_elem_sep String ATTR_SECTIONS concode_elem_sep String ATTR_ERROR concode_elem_sep String ATTR_PASSWORD concode_elem_sep int ERR4100_INVALID_USERNAME concode_elem_sep String ATTR_ERRORID concode_elem_sep String SERVICE_LOGIN concode_elem_sep int ERR5000_INTERNAL_SERVER_ERROR concode_elem_sep String ATTR_PROTOCOLVERSION concode_elem_sep String ATTR_DETAILS concode_elem_sep String ATTR_T concode_elem_sep String ATTR_ID concode_elem_sep int ERR4102_MAX_LOGIN_ATTEMPTS_EXCEEDED concode_elem_sep String ATTR_CMD concode_elem_sep String ATTR_NAME concode_elem_sep String SERVICE_QUERY_STORE concode_elem_sep String SERVICE_LOGOUT concode_elem_sep String POSTFIX_RSP concode_elem_sep String POSTFIX_NRSP concode_elem_sep String SERVICE_MAP_AVAIL concode_elem_sep int ERR4007_AGENT_LEASE_EXPIRED concode_elem_sep String ATTR_DEVID concode_elem_sep String POSTFIX_REQ concode_elem_sep int ERR4004_INVALID_ATTR_VALUE concode_elem_sep String PROTOCOL_VERSION concode_elem_sep String ATTR_TIME concode_field_sep boolean isNegativeResponse concode_elem_sep Element createSessionCreateRequest concode_elem_sep boolean isNegativeServiceResponse concode_elem_sep Element createRequest concode_elem_sep boolean isResponse concode_elem_sep boolean isPositiveResponse concode_elem_sep String getServiceName concode_elem_sep boolean isPositiveServiceResponse concode_elem_sep boolean isService
Element function ( String arg0 , String arg1 ) { Element loc0 = createRequest ( SERVICE_LOGIN ) ; loc0 . setAttribute ( ATTR_NAME , arg0 ) ; loc0 . setAttribute ( ATTR_PASSWORD , arg1 ) ; loc0 . setAttribute ( ATTR_PROTOCOLVERSION , PROTOCOL_VERSION ) ; return loc0 ; }