I'm looking to bulk create some resources in BASH via calls to the SOAP interface. Right now I'm using Fernando's script as a guideline ( https://www.netiq.com/communities/co...ap-calls-rbpm/ ) and I'm able to create resources and set their entitlements without any problem.

However, I'd like to put these resources in their own resource container and I can't seem to figure out how to do that. From what I've read, I should be able to pass the container value into the entityKey attribute. Here is the call I'm making:

Code:
<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:ser='http://www.novell.com/resource/service'>
	<soapenv:Header/>
	<soapenv:Body>
		<ser:createResourceRequest>
			<ser:resource>
				<ser:description>RESOURCE1</ser:description>
				<ser:name>RESOURCE1</ser:name>
				<ser:entityKey>cn=RESOURCE1,cn=PSFIN_Resources,cn=ResourceDefs,cn=RoleConfig,cn=AppConfig,cn=User Application Driver,cn=Driver Set,o=system</ser:entityKey>
			</ser:resource>
		</ser:createResourceRequest>
	</soapenv:Body>
</soapenv:Envelope>
But I keep getting a DAL communication error back. The container PSFIN_Resources does exist.

Any suggestions?