Class leveraging BusinessTransaction.xml and SAPPassport functionality.
All members of SUPE2ETraceController, including inherited members.
MethodsMethod | Description |
---|---|
- (SUPE2ETraceRequest *) createRequest | |
- (SUPE2ETraceStep *) createStep | starts a new step with an associated Requestlist container. |
- (SUPE2ETraceTransaction *) createTransaction | returns a TraceController singleton reference. |
- (SUPE2ETraceTransaction *) createTransactionWithName: (NSString *) transactionName withClientHost: (NSString *) clientHost | returns a TraceController singleton reference. |
- (Boolean) endRequest: (SUPE2ETraceRequest *) theRequest | |
- (Boolean) endStep: (SUPE2ETraceStep *) theStep | ends step with an associated Requestlist container. |
- (Boolean) endTransaction | |
- (NSDictionary *) getStepAndRequestByPassportHeader: (NSString *) Passport_in | returns a dictionary containing References to Step and Request Object for a given PassportHttpHeader. |
- (NSDictionary *) getStepAndRequestForKey: (NSString *) Key_in withSearchString: (NSString *) Value_in | returns a dictionary containing References to Step and Request Object for a given Key/Value pair within an SUPE2ETraceRequest object. |
- (NSDictionary *) getStepAndRequestForSearchValue: (NSString *) Value_in | returns a dictionary containing references to Step and SUPE2ETraceRequest object for a given searchvalue within an SUPE2ETraceRequest object. |
- (NSString *) getXML | returns generated Business Transaction XML. |
- (NSUInteger) sendXML: (NSURL *) toBaseURL | Uploads the generated BTX to provided server URL and returns the response status code. |
- (Boolean) setSearchKeyForRequest: (SUPE2ETraceRequest *) theRequest_in WithValue: (NSString *) Value_in | SUPE2ETraceRequest defines a custom searchkey field for use by developers to be set with a application specific value for later retrieval of the SUPE2ETraceRequest and SUPE2ETraceStep object reference. |
- (void) setTraceLevel: (NSUInteger) trcLvl | sets the E2E Tracelevel with the TraceController |
+ (SUPE2ETraceController *) sharedController | returns a TraceController singleton reference. |
- (Boolean) updateRequestElementsInRequest: (SUPE2ETraceRequest *) theRequest withDictionary: (NSDictionary *) withDictionary | Updates the data for each request and step to form transaction step xml and append it to the business transaction xml. |
- (Boolean) updateRequestElementWithValue: (SUPE2ETraceRequest *) theRequest : (NSString *) Value : (NSString *) forKey | Updates the data for each request and step to form transaction step xml and append it to the business transaction xml. |
SUPE2ETraceController* TraceHandler = [SUPE2ETraceController sharedController]; SUPE2ETraceTransaction* Trace = [TraceHandler createTransaction]; SUPE2ETraceStep* theStep = [Trace createStep]; SUPE2ETraceRequest* theRequest = [theStep createRequest]; [m_HTTPRequest addRequestHeader:@“SAP-PASSPORT“ value:[theRequest PassportHttpHeader]]; [m_HTTPRequest addRequestHeader:@“X-CorrelationID“ value:[theRequest CorrelationIdHttpHeader]];