SAP ABAP Class CL_WBEM_HTTP_TRANSCEIVER (Sends WBEM HTTP requests)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CCM-SLD-ABA (Application Component) System Landscape Directory ABAP Connectivity
     S_WBEM_CLIENT (Package) WBEM Client: CIM Operations and Communication
Properties
Class CL_WBEM_HTTP_TRANSCEIVER  
Short Description Sends WBEM HTTP requests    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_WBEM_CLIENT   WBEM Client: CIM Operations and Communication 
Created 20081010   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_HTTP_CLIENT Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_WBEM_HTTPUTIL Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_WBEM_HTTP_TRANSCEIVER has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_WBEM_CLIENTFACTORY 20091028 Factory for WBEM Clients
2 CL_WBEM_REMOTE_CLIENT 20090121 Client for WBEM Operations over HTTP
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ADDR_MODE Instance attribute Public Type reference (TYPE) I Type of CIM Server Addressing 20081010
2 ADDR_MODE_DEST Constant Public Type reference (TYPE) I 1 Address Using HTTP Destination (SM59) 20081010
3 ADDR_MODE_PARAMS Constant Public Type reference (TYPE) I 2 Address Using Explicit Parameters 20081126
4 ADDR_MODE_URL Constant Public Type reference (TYPE) I 3 Address Using URL 20081010
5 APPLY_SLD_DEFAULT_PATH Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE Overwrite the request URI? 20090901
6 CIMPARSER Instance attribute Private Object reference (TYPE REF TO) IF_CIM_PARSER Parser Interface for CIM Elements 20090310
7 CIMWRITER Instance attribute Private Object reference (TYPE REF TO) IF_CIM_WRITER Writer Interface for CIM Elements 20090310
8 CLIENT_VERSION Static Attribute Private Type reference (TYPE) STRING 20091022
9 DEFAULT_NAMESPACE Instance attribute Private Object reference (TYPE REF TO) CL_CIM_NAMESPACE Name of CIM Namespace 20091111
10 EXTERNAL_OBJECTSERVER Instance attribute Private Object reference (TYPE REF TO) CL_CIM_ELEMENTNAME Element Name (case-insensitive) 20090114
11 HOST Instance attribute Public Type reference (TYPE) STRING Host Name 20081126
12 HTTP_CLIENT Instance attribute Private Object reference (TYPE REF TO) IF_HTTP_CLIENT HTTP Client Abstraction 20081010
13 HTTP_DESTINATION Instance attribute Public Type reference (TYPE) RFCDEST HTTP Destination (SM59) 20081010
14 HTTP_TIMEOUT Instance attribute Public Type reference (TYPE) I IF_HTTP_CLIENT=>CO_TIMEOUT_DEFAULT Timeout of Answer Waiting Time 20100105
15 INTERNAL_OBJECTSERVER Instance attribute Private Object reference (TYPE REF TO) CL_CIM_ELEMENTNAME Element Name (case-insensitive) 20090114
16 PASSWORD Instance attribute Private Type reference (TYPE) STRING Password 20081126
17 PATH Instance attribute Public Type reference (TYPE) STRING Path 20081202
18 PORT Instance attribute Public Type reference (TYPE) I Port 20081126
19 RANDOM Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_RANDOM_INT Random Number Generator 20081010
20 RECORD_HTTP Instance attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE Record HTTP request and response? 20081017
21 REC_REQUEST_BODY Instance attribute Public Type reference (TYPE) STRING 20081017
22 REC_REQUEST_HEADER Instance attribute Public Type reference (TYPE) STRING 20081017
23 REC_RESPONSE_BODY Instance attribute Public Type reference (TYPE) STRING 20081017
24 REC_RESPONSE_HEADER Instance attribute Public Type reference (TYPE) STRING 20081017
25 SECURE Instance attribute Public Type reference (TYPE) ABAP_BOOL Use HTTPS? 20081126
26 SERVER_INFO Instance attribute Private Object reference (TYPE REF TO) CL_WBEM_IMPLEMENTATION_INFO Contains type and version of CIM server 20091022
27 URL Instance attribute Public Type reference (TYPE) STRING URL of CIM Server 20081010
28 USERNAME Instance attribute Public Type reference (TYPE) STRING User Name for Authentication 20081010
29 USE_INTERNAL_OBJECT_SERVER Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE Use internal object server? 20090310
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_STATUS_CODE Instance method Private Method Checks status code of HTTP response 20081017
2 CLEAR_RECORDS Instance method Private Method Deletes recorded HTTP request/response 20081017
3 CONSTRUCTOR Instance method Private Constructor CONSTRUCTOR 20081010
4 CONVERT_ERROR_RESPONSE Static method Public Method Converts a CIM error response to an exception 20081016
5 CREATE_BY_DEST Static method Public Method Create instance with HTTP destination (SM59) 20081010
6 CREATE_BY_PARAMETERS Static method Public Method Create instance with explicit parameters 20081126
7 CREATE_BY_URL Static method Public Method Create instance with URL 20081126
8 DISCONNECT Instance method Public Method Breaks HTTP connection 20081010
9 EVALUATE_SERVER_HEADER Instance method Private Method 20091022
10 EVALUATE_SERVER_HEADER2 Instance method Private Method 20091022
11 GENERATE_MESSAGE_ID Instance method Public Method Returns the ID for a new CIM message 20100210
12 GET_HTTP_HOST Instance method Private Method 20090310
13 GET_OBJECTSERVER Instance method Private Method 20090114
14 GET_SERVER_INFO Instance method Private Method Gets server information (if known) 20091022
15 INIT_HTTPCLIENT Instance method Private Method Initializes HTTP client 20081010
16 INIT_HTTPCLIENT_BY_DEST Instance method Private Method Initializes HTTP client 20081010
17 INIT_HTTPCLIENT_BY_URL Instance method Private Method Initializes HTTP client 20081126
18 IS_USE_INTERNAL_OBJSERVER Instance method Private Method 20090310
19 PREPARE_HTTP_REQUEST Instance method Private Method Sets all fields for a new HTTP request 20081014
20 PROCESS_HTTP_RESPONSE Instance method Private Method Processes the HTTP response 20081014
21 RECORD_REQUEST Instance method Private Method Records HTTP request 20081017
22 RECORD_RESPONSE Instance method Private Method Records HTTP response 20081017
23 REFRESH_HTTPCLIENT Instance method Private Method Refreshes the HTTP Client 20090901
24 SEND_AND_UNWRAP_RESPONSE Instance method Public Method Sends a CIM request and unpacks the response objects 20081015
25 SEND_LOGOUT Instance method Private Method 20091030
26 SEND_MESSAGE Instance method Public Method Sends a CIM message and receives the response message 20081010
27 SEND_REQUEST Instance method Public Method Sends a CIM request and receives the response 20081010
28 SET_HTTP_TIMEOUT Instance method Public Method Sets the HTTP timeout value 20100105
29 SET_REQUEST_URI_FOR_SLD Instance method Private Method Overwrites the Request URI with the SLD Path 20090901
30 SET_USE_INTERNAL_OBJSERVER Instance method Private Method 20090310
31 TO_STRING Instance method Public Method Returns information about the target server 20100310
32 UPDATE_DEFAULT_NAMESPACE Instance method Private Method Gets default namespace from response header 20091111
33 UPDATE_OBJECT_SERVER Instance method Private Method Reads object server from response header 20090310
34 UPDATE_SERVER_CAPABILITIES Instance method Private Method Reads server information from response header 20090310
Events
Class CL_WBEM_HTTP_TRANSCEIVER has no event.
Types
Class CL_WBEM_HTTP_TRANSCEIVER has no local type.
Method Signatures

Method CHECK_STATUS_CODE Signature

Method CHECK_STATUS_CODE on class CL_WBEM_HTTP_TRANSCEIVER has no parameter.
# Exception Resumable Description Created on
1 CX_WBEM_EXCEPTION Ausnahme der WBEM-Programmierschnittstelle 20081017

Method CLEAR_RECORDS Signature

Method CLEAR_RECORDS on class CL_WBEM_HTTP_TRANSCEIVER has no parameter.
Method CLEAR_RECORDS on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ADDR_MODE Value transfer Type reference (TYPE) I Adressierungsmodus 20081010

Method CONSTRUCTOR on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method CONVERT_ERROR_RESPONSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing RESPONSE Call by reference Object reference (TYPE REF TO) CL_CIM_BASERESPONSE Repräsentiert eine CIM-Response 20081016
# Exception Resumable Description Created on
1 CX_WBEM_CIM_ERR Fehlerstatus einer CIM-Operation gemäß WBEM-Standard 20081016

Method CREATE_BY_DEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing APPLY_SLD_DEFAULTS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20090901
2 Importing DESTINATION Call by reference Type reference (TYPE) RFCDEST logische Destination (Wird bei Funktionsaufruf angegeben) 20081010
3 Returning TRANSCEIVER Value transfer Object reference (TYPE REF TO) CL_WBEM_HTTP_TRANSCEIVER Sendet WBEM-HTTP-Requests 20081010
# Exception Resumable Description Created on
1 CX_WBEM_EXCEPTION Ausnahme der WBEM-Programmierschnittstelle 20081016

Method CREATE_BY_PARAMETERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing HOST Call by reference Type reference (TYPE) STRING Hostname des CIM-Servers 20081126
2 Importing PASSWORD Call by reference Type reference (TYPE) STRING Passwort 20081126
3 Importing PATH Call by reference Type reference (TYPE) STRING Pfad 20081126
4 Importing PORT Call by reference Type reference (TYPE) I Port des CIM-Servers 20081126
5 Importing SECURE Call by reference Type reference (TYPE) ABAP_BOOL HTTPS verwenden? 20081126
6 Returning TRANSCEIVER Value transfer Object reference (TYPE REF TO) CL_WBEM_HTTP_TRANSCEIVER Sendet WBEM-HTTP-Requests 20081126
7 Importing USERNAME Call by reference Type reference (TYPE) STRING Anmeldename 20081126
# Exception Resumable Description Created on
1 CX_WBEM_EXCEPTION Ausnahme der WBEM-Programmierschnittstelle 20081126

Method CREATE_BY_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing APPLY_SLD_DEFAULTS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20090901
2 Importing PASSWORD Call by reference Type reference (TYPE) STRING Passwort 20081126
3 Returning TRANSCEIVER Value transfer Object reference (TYPE REF TO) CL_WBEM_HTTP_TRANSCEIVER Sendet WBEM-HTTP-Requests 20081126
4 Importing URL Call by reference Type reference (TYPE) STRING URL des CIM-Servers 20081126
5 Importing USERNAME Call by reference Type reference (TYPE) STRING Anmeldename 20081126
# Exception Resumable Description Created on
1 CX_WBEM_EXCEPTION Ausnahme der WBEM-Programmierschnittstelle 20081126

Method DISCONNECT Signature

Method DISCONNECT on class CL_WBEM_HTTP_TRANSCEIVER has no parameter.
Method DISCONNECT on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method EVALUATE_SERVER_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_WBEM_IMPLEMENTATION_INFO Enthält Typ und Version des CIM Servers 20091022

Method EVALUATE_SERVER_HEADER on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method EVALUATE_SERVER_HEADER2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_WBEM_IMPLEMENTATION_INFO Enthält Typ und Version des CIM Servers 20091022

Method EVALUATE_SERVER_HEADER2 on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method GENERATE_MESSAGE_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING 20100210

Method GENERATE_MESSAGE_ID on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method GET_HTTP_HOST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning HOST Value transfer Type reference (TYPE) STRING 20090310

Method GET_HTTP_HOST on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method GET_OBJECTSERVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INTERNAL Call by reference Type reference (TYPE) ABAP_BOOL 20090114
2 Returning OBJECT_SERVER Value transfer Object reference (TYPE REF TO) CL_CIM_ELEMENTNAME Elementname (case-insensitive) 20090114

Method GET_OBJECTSERVER on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method GET_SERVER_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_WBEM_IMPLEMENTATION_INFO Enthält Typ und Version des CIM Servers 20091022

Method GET_SERVER_INFO on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method INIT_HTTPCLIENT Signature

Method INIT_HTTPCLIENT on class CL_WBEM_HTTP_TRANSCEIVER has no parameter.
# Exception Resumable Description Created on
1 CX_WBEM_EXCEPTION Ausnahme der WBEM-Programmierschnittstelle 20081010

Method INIT_HTTPCLIENT_BY_DEST Signature

Method INIT_HTTPCLIENT_BY_DEST on class CL_WBEM_HTTP_TRANSCEIVER has no parameter.
# Exception Resumable Description Created on
1 CX_WBEM_EXCEPTION Ausnahme der WBEM-Programmierschnittstelle 20081010

Method INIT_HTTPCLIENT_BY_URL Signature

Method INIT_HTTPCLIENT_BY_URL on class CL_WBEM_HTTP_TRANSCEIVER has no parameter.
# Exception Resumable Description Created on
1 CX_WBEM_EXCEPTION Ausnahme der WBEM-Programmierschnittstelle 20081126

Method IS_USE_INTERNAL_OBJSERVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning BOOL Value transfer Type reference (TYPE) ABAP_BOOL 20090310

Method IS_USE_INTERNAL_OBJSERVER on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method PREPARE_HTTP_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing AS_TRANSACTION Call by reference Type reference (TYPE) ABAP_BOOL Als Transaktion? 20090403
2 Importing MSG Call by reference Object reference (TYPE REF TO) CL_CIM_MESSAGE Repräsentiert eine CIM-Message 20081014
# Exception Resumable Description Created on
1 CX_WBEM_EXCEPTION Ausnahme der WBEM-Programmierschnittstelle 20081014

Method PROCESS_HTTP_RESPONSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning MSG Value transfer Object reference (TYPE REF TO) CL_CIM_MESSAGE Repräsentiert eine CIM-Message 20081014
# Exception Resumable Description Created on
1 CX_WBEM_EXCEPTION Ausnahme der WBEM-Programmierschnittstelle 20081014

Method RECORD_REQUEST Signature

Method RECORD_REQUEST on class CL_WBEM_HTTP_TRANSCEIVER has no parameter.
Method RECORD_REQUEST on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method RECORD_RESPONSE Signature

Method RECORD_RESPONSE on class CL_WBEM_HTTP_TRANSCEIVER has no parameter.
Method RECORD_RESPONSE on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method REFRESH_HTTPCLIENT Signature

Method REFRESH_HTTPCLIENT on class CL_WBEM_HTTP_TRANSCEIVER has no parameter.
Method REFRESH_HTTPCLIENT on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method SEND_AND_UNWRAP_RESPONSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ELEMENTS_RESULT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20091027
2 Importing PROTOCOLVERSION Call by reference Type reference (TYPE) STRING CL_WBEM_HTTPUTIL=>CIM_PROTOCOLVERS_DEFAULT Protokollversion 20081015
3 Importing REQUEST Call by reference Object reference (TYPE REF TO) CL_CIM_BASEREQUEST Repräsentiert einen CIM-Request 20081015
4 Exporting RESULT Call by reference Type reference (TYPE) STANDARD TABLE 20091027
5 Importing SINGLE_RESULT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Einzelner Returnvalue erwartet? 20081015
# Exception Resumable Description Created on
1 CX_WBEM_CIM_ERR Fehlerstatus einer CIM-Operation gemäß WBEM-Standard 20081016

Method SEND_LOGOUT Signature

Method SEND_LOGOUT on class CL_WBEM_HTTP_TRANSCEIVER has no parameter.
# Exception Resumable Description Created on
1 CX_WBEM_EXCEPTION Ausnahme der WBEM-Programmierschnittstelle 20091103

Method SEND_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing AS_TRANSACTION Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Als Transaktion? (Nur für Batch-Operation relevant) 20081010
2 Importing MSG Call by reference Object reference (TYPE REF TO) CL_CIM_MESSAGE Repräsentiert eine CIM-Message 20081010
3 Returning RESPONSE_MSG Value transfer Object reference (TYPE REF TO) CL_CIM_MESSAGE Repräsentiert eine CIM-Message 20081010
# Exception Resumable Description Created on
1 CX_WBEM_EXCEPTION Ausnahme der WBEM-Programmierschnittstelle 20081010

Method SEND_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PROTOCOLVERSION Call by reference Type reference (TYPE) STRING CL_WBEM_HTTPUTIL=>CIM_PROTOCOLVERS_DEFAULT Protokollversion 20081010
2 Importing REQUEST Call by reference Object reference (TYPE REF TO) CL_CIM_BASEREQUEST Repräsentiert einen CIM-Request 20081010
3 Returning RESPONSE Value transfer Object reference (TYPE REF TO) CL_CIM_BASERESPONSE Repräsentiert eine CIM-Response 20081010
# Exception Resumable Description Created on
1 CX_WBEM_EXCEPTION Ausnahme der WBEM-Programmierschnittstelle 20081010

Method SET_HTTP_TIMEOUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TIMEOUT Call by reference Type reference (TYPE) I IF_HTTP_CLIENT=>CO_TIMEOUT_DEFAULT Timeout von Antwortwartezeit 20100105

Method SET_HTTP_TIMEOUT on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method SET_REQUEST_URI_FOR_SLD Signature

Method SET_REQUEST_URI_FOR_SLD on class CL_WBEM_HTTP_TRANSCEIVER has no parameter.
Method SET_REQUEST_URI_FOR_SLD on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method SET_USE_INTERNAL_OBJSERVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BOOL Value transfer Type reference (TYPE) ABAP_BOOL 20090310

Method SET_USE_INTERNAL_OBJSERVER on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method TO_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING 20100310

Method TO_STRING on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method UPDATE_DEFAULT_NAMESPACE Signature

Method UPDATE_DEFAULT_NAMESPACE on class CL_WBEM_HTTP_TRANSCEIVER has no parameter.
Method UPDATE_DEFAULT_NAMESPACE on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method UPDATE_OBJECT_SERVER Signature

Method UPDATE_OBJECT_SERVER on class CL_WBEM_HTTP_TRANSCEIVER has no parameter.
Method UPDATE_OBJECT_SERVER on class CL_WBEM_HTTP_TRANSCEIVER has no exception.

Method UPDATE_SERVER_CAPABILITIES Signature

Method UPDATE_SERVER_CAPABILITIES on class CL_WBEM_HTTP_TRANSCEIVER has no parameter.
Method UPDATE_SERVER_CAPABILITIES on class CL_WBEM_HTTP_TRANSCEIVER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 720