Pages

Friday, June 28, 2013

DRM Web Services Configuration &Testing






Configuring DRM Web services  feature has been  newly introduced as part of EPM Suite.This post briefs about the process of configuring DRM Webservices with the relevant WSM policies and end-end Testing on Windows environment.


To configure the DRM Web Services attach the below specified  WSM policy.

Attach the oracle/wss_username_token_service_policy to the DRMWebServices policy set  and detach the policy priorily attached policy.




Click on Next Tab and save the attached policies you should be able to see the attached policy in the Policy References.



Detach the Currently attached policy  ws11_username_token_with_message_protection_service_policy and add 



OWSM Policies


  1. In EM, expand Application Deployments and then expand oracle-epm-drm-webservices (Foundation Services)
  2. Click on the oracle-epm-drm-webservices (Foundation Services0) link under oracle-epm-drm-webservices (Foundation Services)
  3. On the right panel, click on the Application Deployment drop down box and select Web Services.





  1. On the right panel, on the bottom left, click on DrmServicePortType located on the Web Service Endpoints tab
  2. Click on the OWSM Policies tab




  • Click on the Attach/Detach button and attach oracle/wss_username_token_service_policy, Click OK









Recycling  Weblogic Admin Console  & Hyperion Foundation Services
     
  • Restart both the WebLogic Admin server as well as Hyperion Foundation Services
  •  Login to http://xxxxxxxxxxx:7001/console
  •  Click on Lock & Edit Tab    Environments-->Servers Click on Control tab select the    admin Server  and Foundation service  click on stop force shutdown



Click on Yes for shutting down the services.




Start  the WebLogic Admin Console  from command prompt or Programs->Oracle EPM System-Oracle WebLogic-User Projects-EPM System  click on start AdminServer for Weblogic







Login to console after the server state gets reflected in RUNNING Mode




Navigation

Environments-->Servers Click on Control tab select the Admin Server state would be now in RUNNING mode click on Lock and edit click on control tab and try to start the Foundation Services if it fails  out start the start node manager  from services.console .




 Node Manager Services




Login to the Weblogic  EnterpriseManager (EM) Console and go to the Test Web Services page and try the getSysPrefs API using the hadmin user account.

EM Url:http://xxxx:7001/em


  1. Provide the WSDL  url  http:/XXXXX:28080/oracle-epm-drm-webservices/DrmService?wsdl
  2. Click on Parse WSDLTab.
  3. Choose the geSysPrefs API click on wss_token name(radio button) keyin credentials
  4. Choose XML from the drop down.
  5. Pass on the below SOAP values for the default API Testing.

<soap:Header>
<AppParameters xmlns="http://drm.webservices.epm.oracle">
<serverUrl xmlns="http://drm.webservices.epm.oracle">http://XXXXXX: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>



Click on Test Webservice





DRM Webservices Testing Results





3 comments:

  1. Is there something I need to configure to work with "startScriptFromFile" SOAP call? All the other API calls are working except "startScriptFromFile". Can you write a post with example for this?

    ReplyDelete