To test the Web Service using Oracle Enterprise Manager:
Ensure that the Data Relationship Management Web Service has an Oracle Web Services Manager security policy attached that does not include message protection. A local or global policy can be attached.
For example: oracle/wss_username_token_service_policy
Note: | You can have only one policy at a time attached to the Data Relationship Management Web Service. |
Note: | After changing the security policy, you may need to restart the Weblogic target server to which the Data Relationship Management Web Service is deployed. |
In Enterprise Manager, select the domain to which the Data Relationship Management Web Service is deployed, then select Web Services/Test Web Service from the domain context menu or the WebLogic Domain menu in the right pane. .
Enter the WSDL for the Data Relationship Management Web Service in the WSDL text box.
For example: http://localhost:28080/oracle-epm-drm-webservices/DrmService?wsdl
From Operation, select an operation; for example getSysPrefs.
On the Request tab, select WSS Username Token and enter a username and password with which to authenticate.
Note: | The user must exist in the security realm for the Weblogic domain and in Shared Services. |
Expand Input Arguments, from the drop-down list select XML View, and paste the following soap header argument (exactly as formatted) before the "<soap:Body xmlns:ns1="http://drm.webservices.epm.oracle">" tag:
Note: | When copying the argument below, there cannot be a line break or space between tags/elements. |
<soap:Header> <AppParameters xmlns="http://drm.webservices.epm.oracle"> <serverUrl xmlns="http://drm.webservices.epm.oracle">http://localhost:5240/Oracle/Drm/APIAdapter</serverUrl> <sessionParams xmlns="http://drm.webservices.epm.oracle">ProductVersion=11.1.2,CultureName=en-US,TimeZoneOffset=-360</sessionParams> </AppParameters> </soap:Header>
Note: | Required parameters must be populated for Data Relationship Management operations otherwise an error occurs. |
In the soap header argument in step 6, modify the serverUrl to the appropriate value for the Data Relationship Management API adapter.
Note: | If successful, the Response tab includes the response from the Web Service. If unsuccessful, an error message is displayed. |
After testing is complete, re-attach the required production policy: oracle/wss11_saml_or_username_token_with_message_protection_service_policy