Errors During Import Oracle Fusion Middleware Online Documentation Library

Using the Oracle B2B Web Services 20-5

20.4.2 Get Trading Partner Agreement Information Parameters

type String Example: DUNS Identification type No document String Example: Sales Order Name of the internal application document or AIA EBO to be sent out Yes action String Example: Update A sub-classification which identifies the specific interaction with the Trading Partner Yes Table 20–8 Is Trading Partner Agreement Setup Response Parameters Header Data Type Description Required MatchedTPACount integer Number of Agreements present in an active state in the Oracle 2B Repository Yes Table 20–9 Is Trading Partner Agreement Setup Fault Message Parameters Header Data Type Description ExceptionMessage String If a fault is found, the Exception Stack Trace is transmitted. Table 20–10 Get Trading Partner Agreement Information Request Parameters Header Data Type Description Required from String Host name or identification value No to String Trading Partner name or identification value No type String Example: DUNS Identification type No document String Example: Sales Order Name of the internal application document or AIA EBO to be sent out No action String Example: Update A sub-classification which identifies the specific interaction with the Trading Partner No Table 20–11 Get Trading Partner Agreement Information Response Parameters Header Data Type Description Required AgreementID String Unique Agreement ID of the matching agreement Yes B2BDocumentDef String Document definition in Oracle B2B used for creating the Oracle B2B document type Yes B2BDocumentType String Document type defined in Oracle B2B for the requested application document and action Yes B2BDocumentRevision String Document revision defined in Oracle B2B for the requested application document and action Yes Table 20–7 Cont. Is Trading Partner Agreement Setup Request Parameters Header Data Type Description Required 20-6 Oracle Fusion Middleware Users Guide for Oracle B2B

20.5 Securing Oracle B2B Web Services

Web services exposed in B2B must be secured to hide the configuration details from intruders. The Oracle Web Services Manager policy approach provides the facility to secure the web services based on your requirements. Web services endpoints are registered dynamically and programmatically using the oracle.webservices.provider.ProviderConfig.addService... API. Because these endpoints are not displayed in Oracle Enterprise Manager Fusion Middleware Control Console, Oracle B2B maintains the lifecycle of web services and their policies. To specify a policy and attach it to the web services endpoints:

1. In Oracle B2B Console, go to AdministrationConfiguration tab.

2. Enter the appropriate value in the Webservice Policy field in the Non Purgeable

section. Enter either the Oracle Web Services Manager policy URI to secure just the endpoints, or enter the whole policy tag to uptake RM, Addressing, and Logging. See the examples below. See What Oracle WSM Security Policies Are Available? in Oracle Fusion Middleware Securing WebLogic Web Services for Oracle WebLogic Server for a listing of available Oracle WSM policies.

3. Click Save.

Based on the policy attached here, WSDL URL will start publishingdescribing the policy details which need to be used while creating the proxy client for this service. No restart of B2B is required to uptake the policy changes. Examples Example 1: Enter the following URI in Webservice Policy to apply security policy oraclewss_username_token_service_policy. oraclewss_username_token_service_policy Example 2: Enter the following XML in Webservice Policy, which applies Security and RM policy. B2BDocumentProtocol String DocumentProtocol name defined in Oracle B2B for the requested application document and action Yes Direction String Document direction Yes XSLTFile String XSLT file to be used by the AIA layer to generate the Oracle B2B TP document No Table 20–12 Get Trading Partner Agreement Information Fault Message Parameters Header Data Type Description ExceptionMessage String If a fault is found, the Exception Stack Trace is transmitted. Table 20–11 Cont. Get Trading Partner Agreement Information Response Parameters Header Data Type Description Required