Hi,
I have a task which is configured as follows:
Object type: Provisioning Role
Event: Modify
Search: All Provisioning roles
Tabs:
Owners
And thats it.
I would like to call this task with a SOAP action in a PX policy however initial testing has my stucked with the following error message:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tews="http://tews6/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>Unknown processing error.</faultstring>
<detail>
<tews:ImsException version="6.0" >
<tews:exception>
<tews:name>com.netegrity.ims.exception.TabNotFoundException</tews:name>
<tews:code>700</tews:code>
<tews:description>
<![CDATA[The task does not contain the tab Owners.
]]>
</tews:description>
<tews:transaction>c1168b5b-017498db-31529fab-2369254</tews:transaction>
</tews:exception>
</tews:ImsException>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
This is nonsense as the SOAP body is created by using the excact generated WSDL example from SOAPUI and indeed there IS a tab named Owners.
This is the Soap call:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
<soapenv:Header/>
<soapenv:Body>
<wsdl:CreateOwnerPoliciesForProvisioningRolesAPI>
<wsdl:TaskContext>
<wsdl:admin_id>adminuser</wsdl:admin_id>
<wsdl:admin_password>password</wsdl:admin_password>
</wsdl:TaskContext>
<wsdl:CreateOwnerPoliciesForProvisioningRolesAPISearch>
<wsdl:Subject index="0">
<wsdl:Tag>CreateOwnerPoliciesForProvisioningRolesAPI</wsdl:Tag>
</wsdl:Subject>
<wsdl:Filter index="0">
<wsdl:Field>%NAME%</wsdl:Field>
<wsdl:Op>EQUALS</wsdl:Op>
<wsdl:Value>OS_P_TewsCreated-App2_Monitor</wsdl:Value>
</wsdl:Filter>
</wsdl:CreateOwnerPoliciesForProvisioningRolesAPISearch>
<wsdl:CreateOwnerPoliciesForProvisioningRolesAPIOwnersTab>
<wsdl:Policy>
<wsdl:add index="0">
<wsdl:Owner><![CDATA[<MemberRule><RoleMember><AdminRole name="Anonymous"/><AdminRole name="Anonymous2"/><AdminRole name="System Manager"/><AdminRole name="Anonymous3"/></RoleMember></MemberRule>]]></wsdl:Owner>
</wsdl:add>
</wsdl:Policy>
</wsdl:CreateOwnerPoliciesForProvisioningRolesAPIOwnersTab>
</wsdl:CreateOwnerPoliciesForProvisioningRolesAPI>
</soapenv:Body>
</soapenv:Envelope>
And I probable also have an issue with the Subject in the Search screen.
Br
Kevin.