Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.4.0)

E27204-03


oracle.adfinternal.model.adapter.webservice.provider.soap
Class EBSSOAPProvider

java.lang.Object
  extended by oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider
      extended by oracle.adfinternal.model.adapter.webservice.provider.soap.EBSSOAPProvider


public abstract class EBSSOAPProvider
extends SOAPProvider

Abstract class to inject custom SOAP header element SOAHeader and WS-Security header element UsernameToken to invoke E-Business Suite Integrated SOA Gateway's SOAP Web Services. EBSSOAPProvider class can be extended to implement following abstract methods to provide instance specific values.


Field Summary
static java.lang.String BASIC_SOA_HEADER_ELEMENT_NAME
          Constant value for SOA Header root element name for all the services other than BSO and XML Gateway
static java.lang.String BSO_SOA_HEADER_ELEMENT_NAME
          Constant value for SOA Header root element name for a BSO service.
static java.lang.String XMLGATEWAY_SOA_HEADER_ELEMENT_NAME
          Constant value for SOA Header root element name for a BSO service.

 

Constructor Summary
EBSSOAPProvider()
           

 

Method Summary
 oracle.adfinternal.model.adapter.webservice.provider.soap.SoapHeader[] getAdditionalSoapHeaders()
          Uses values supplied by implementation of the three abstract methods in this class to inject SOAHeader element and UsernameToken inside Security header element to SOAP envelope.
abstract  java.lang.String getCredentialKey()
          Abstract method whose implementation should return the current ADF mobile application's Credential Key as configured in connections.xml.
 java.lang.String getSOAHeaderRootElementName()
          Override this method to return the ISG SOA header root element name other than SOAHeader .
abstract  java.lang.String getSOAHeaderTNS()
          Abstract method whose implementcation should return target namespace of E-Business Suite SOAP Web Service's SOAHeader element.
abstract  java.util.Map getSOAHeaderValues()
          Abstract method whose implementation should return a Map of custom SOAHeader element values to invoke E-Business Suite SOAP Web Services.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

BASIC_SOA_HEADER_ELEMENT_NAME

public static final java.lang.String BASIC_SOA_HEADER_ELEMENT_NAME
Constant value for SOA Header root element name for all the services other than BSO and XML Gateway
See Also:
Constant Field Values

BSO_SOA_HEADER_ELEMENT_NAME

public static final java.lang.String BSO_SOA_HEADER_ELEMENT_NAME
Constant value for SOA Header root element name for a BSO service.
See Also:
Constant Field Values

XMLGATEWAY_SOA_HEADER_ELEMENT_NAME

public static final java.lang.String XMLGATEWAY_SOA_HEADER_ELEMENT_NAME
Constant value for SOA Header root element name for a BSO service.
See Also:
Constant Field Values

Constructor Detail

EBSSOAPProvider

public EBSSOAPProvider()

Method Detail

getSOAHeaderTNS

public abstract java.lang.String getSOAHeaderTNS()
Abstract method whose implementcation should return target namespace of E-Business Suite SOAP Web Service's SOAHeader element. For example,
  return "http://xmlns.oracle.com/apps/per/soaprovider/plsql/hr_person_api/"
 

getSOAHeaderValues

public abstract java.util.Map getSOAHeaderValues()
Abstract method whose implementation should return a Map of custom SOAHeader element values to invoke E-Business Suite SOAP Web Services. For example, to invoke a PLSQL Web Service, SOAHeader element values can be passed as below.
  Map shElements= new HashMap();
  shElements.put("Responsibility", "US_HRMS_MANAGER");
  shElements.put("RespApplication", "PER");
  shElements.put("SecurityGroup", "STANDARD");
  shElements.put("NLSLanguage", "AMERICAN");
  shElements.put("Org_Id", "1733");
  return shElements;
 

getCredentialKey

public abstract java.lang.String getCredentialKey()
Abstract method whose implementation should return the current ADF mobile application's Credential Key as configured in connections.xml.

getSOAHeaderRootElementName

public java.lang.String getSOAHeaderRootElementName()
Override this method to return the ISG SOA header root element name other than SOAHeader . For a BSO service the value should be EBSSOAPProvider.BSO_SOA_HEADER_ELEMENT_NAME . For XMLGateway Service the value should be EBSSOAPProvider.XMLGATEWAY_SOA_HEADER_ELEMENT_NAME The default implementation returns "SOAHeader".
Returns:
soaHeaderRootElementName

getAdditionalSoapHeaders

public oracle.adfinternal.model.adapter.webservice.provider.soap.SoapHeader[] getAdditionalSoapHeaders()
Uses values supplied by implementation of the three abstract methods in this class to inject SOAHeader element and UsernameToken inside Security header element to SOAP envelope.
Overrides:
getAdditionalSoapHeaders in class SOAPProvider

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.4.0)

E27204-03


Copyright © 2012, 2013 Oracle. All Rights Reserved.