Thursday, February 23, 2017

SOA 12c: How to remove folder and Files from MDS

The folder or individual files can be removed from SOA using WLST scripts. WLST scripts can also be used for deployment of MDS. Enterprise Manager can also be used to export and import the MDS.

Please click here to see how to use Enterprise Manager to import and export MDS

However, for deletion, please refer to following steps

On the FMW server, navigate to #ORACLE_COMMON/bin
cd ${ORACLE_HOME}/oracle_common/common/bin


Execute wlst.sh file:
wlst.sh


Give the command
connect('weblogic','password','t3://WeblogicHost:7001') //Please use the Weblogic Admin Server Port here.


Give The Command to remove a specific folder. This command will remove the /app/Test folder.
sca_removeSharedData(' http://soaHost:ManagedServerPort','Test')

sca_removeSharedData(' http://localhost:8001','Test')

You should see following message:


wls:/soainfra/serverConfig/> sca_removeSharedData(' http://localhost:8000','Test')
serverURL =  http://localhost:8000
folderName = Test
user = None
INFO: Creating HTTP connection to host:localhost, port:8000
Enter username and password for realm 'default' on host localhost:8000
Authentication Scheme: Basic
Username: weblogic
Password:
INFO: Received HTTP response from the server, response code=200

---->Remove shared data success.


Give The Command to remove a specific file. This command will remove the file: /apps/Test/SOAPService.wsdl'

deleteMetadata(application='soa-infra',server='soa_server1',docs='/apps/Test/SOAPService.wsdl')

Wednesday, February 1, 2017

Salesforce: Generate Enterprise WSDL

To generate the metadata and enterprise WSDL files for your organization:
  1. Log in to your Salesforce account. You must log in as an administrator or as a user who has the “Modify All Data” permission.
  2. From Setup, enter API in the Quick Find box, then select API
  3. Click Generate Enterprise WSDL and save the XML WSDL file to your file system.


ForgeRock: Open AM. Install Open AM 5.5 with Tomcat 8.0 - Part 1- Install Tomcat

This BLOG thread discusses on steps to install and configure Open AM 5.5 with Tomcat 8.0. Install Tomcat. You can always find the l...