Once the scripting tool is initialized, Connect to the server
For running deleteMetada function you need a minimum of 3 inputs
- application - since we are deleting from shared artifacts of soa-infra, the value should be soa-infra
- server - value should be ‘soa_server1’ or the server u use for SOA other than admin server.
- docs – the folder path or artifact which you want to delete.
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> connect('weblogic', 'weblogicaia11', '10.180.85.12:9001')
Connecting to t3://10.180.85.12:9001 with userid weblogic ...
Successfully connected to Admin Server 'soa_admin' that belongs to domain 'soa_domain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
Traceback (innermost last):
File "<console>", line 1, in ?
From the message it seems that it is something related to name. Please verify the following:
1.) When you type deleteMetadata() it gives you the TypeError: deleteMetadata() takes at least 3 arguments (0 given)
2.) Try to connect to SOA server instead of Admin server using the connect command and see the result.