public final class HeaderMapper extends Object
| Modifier and Type | Field and Description |
|---|---|
static Short |
FROM_PARTY |
static Short |
FROM_SERVICE |
static Short |
TO_PARTY |
static Short |
TO_SERVICE |
| Constructor and Description |
|---|
HeaderMapper() |
| Modifier and Type | Method and Description |
|---|---|
static Map |
getMappedHeader(Message message,
Binding binding)
Returns a Map of key-value-pairs where each key is one of the constants
FROM_PARTY, FROM_SERVICE, TO_PARTY, TO_SERVICE
and the value is the one to which the respective header field should be mapped
If the Map is empty no mapping is required.
|
public static final Short FROM_PARTY
public static final Short FROM_SERVICE
public static final Short TO_PARTY
public static final Short TO_SERVICE
public static final Map getMappedHeader(Message message, Binding binding) throws HeaderMappingException
message - Message the header of which requires the mappingbinding - Binding corresponding to the above receiver agreementHeaderMappingException - Tn case there's an error finding a header mapping| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.svc.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice