此内容没有您所选择的语言版本。
6.7. Configure CXF for a Salesforce Data Source
Prerequisites
- You must have configured a Salesforce data source.
Procedure 6.5. Configure CXF for a Salesforce Data Source
- Run the following command from within the Management CLI, specifying the CXF configuration file for the data source:
/subsystem=resource-adapters/resource-adapter=salesforce/connection-definitions=sfDS/config-properties=ConfigFile:add(value=CONFIG-FILE.xml)
/subsystem=resource-adapters/resource-adapter=salesforce/connection-definitions=sfDS/config-properties=ConfigFile:add(value=CONFIG-FILE.xml)Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Specify the port configuration by running the following command from within the Management CLI, using the port QName (local part only) for the value, in this case
Soap:/subsystem=resource-adapters/resource-adapter=salesforce/connection-definitions=sfDS/config-properties=EndPointName:add(value=Soap)
/subsystem=resource-adapters/resource-adapter=salesforce/connection-definitions=sfDS/config-properties=EndPointName:add(value=Soap)Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Open/create the
EAP_HOME/MODE/configuration/CONFIG-FILE.xmlconfiguration file. Set the namespace URI for the QName to{urn:partner.soap.sforce.com}, usingSoapas the value forEndPointName:<http-conf:conduit name="{urn:partner.soap.sforce.com}Soap.http-conduit"> ... </http-conf:conduit><http-conf:conduit name="{urn:partner.soap.sforce.com}Soap.http-conduit"> ... </http-conf:conduit>Copy to Clipboard Copied! Toggle word wrap Toggle overflow The following is an example of a CXF file that configures timeout values:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Note
CXF configuration for Salesforce data sources is only used for http bus configuration. It is not used for WS-Security. Salesforce has its own security authentication.