UA: Identity Manager Version 3.7.0 Patch D4
Build Revision 37150 on RedHat 64 bit, on WebLogic

IDM 3.6.1

Send a Integration Activity SOAP call into UA's Resource service,
CreateResource.

The trace is shown below. (I turned com.novell.soa.af.impl to DEBUG)
and it looks like when the call returns, I get the error:
Namespace for prefix 'xsi' has not been declared

Initially I thought it was because I had a post activity mapping as I
was going to log the result. So I removed that, and same error.

This works on an IDM 4.01 User App. I see there is an E patch for UA
(PS: patch notes do not show the build # on the download page, which I
needed since I have D4 not D, and no clue what the 4 means in that
context) but nothing in the readme suggests this issue. (And getting it
updated is a pain, different groups, their schedule...)

Also, I use a similar call to the Role service and it seems to be
working for CreateRole. But no joy on CreateResource.

Any thoughts?


Ok, so log shows it nicely creating the SOAP call:

2012-01-20 10:47:23,419 DEBUG
[com.novell.soa.af.impl.core.DataItemEvaluator] result:
com.novell.soa.script.mozilla.javascript.Undefined @d9d37b8
2012-01-20 10:47:23,419 DEBUG
[com.novell.soa.af.impl.activity.IntegrationActivit y] Input: <?xml
version="1.0" encoding="UTF-8" standalone="no"?>
<createResourceInput
_serverUrl_="https://ua-serv.acme.com:9021/IDM/resource/service">
<createResourceRequest>
<resource>
<active>false</active>
<allowOverride>false</allowOverride>
<allowedMulty>false</allowedMulty>
<description>Set by AGS Driver</description>
<entitlementRef>
<nrfentitlementref>
<entitlementDn>CN=Group,cn=RBPMIII Active
Directory,CN=IDM-IDVDriverSet,OU=idm,OU=services,O=acme</entitlementDn>
<entitlementParameters>cn=SomeGroup12,ou=Groups,dc =doamin,dc=local</entitlementParameters>
<src>UA</src>
</nrfentitlementref>
</entitlementRef>
<name>ags-res-ADLocationRole-MO03</name>
<resourceCategoryKeys>
<categorykey>
<categoryKey>default</categoryKey>
</categorykey>
</resourceCategoryKeys>
</resource>
</createResourceRequest>
</createResourceInput>

Then I wait (Interesting how slow the Role Service is, 10-20 seconds or
longer. I was expecting faster than that.

I get this response:

2012-01-20 10:48:25,389 DEBUG [com.novell.soa.af.impl.core.EngineImpl]
Shutting down thread pool and waiting for queued and running processes
to complete.
2012-01-20 10:48:35,360 DEBUG
[com.novell.soa.af.impl.activity.IntegrationActivit y] execute completed
(pool-3-thread-8), retry count = 0 processing number = 0
2012-01-20 10:48:45,509 DEBUG
[com.novell.soa.af.impl.activity.IntegrationActivit y] Output: <?xml
version="1.0" encoding="UTF-8" standalone="no"?>
<createResourceOutput>
<createResourceResponse/>
</createResourceOutput>


Then this error:

2012-01-20 10:48:45,509 DEBUG
[com.novell.soa.af.impl.activity.IntegrationActivit y]
java.lang.RuntimeException: Namespace for prefix 'xsi' has not been
declared.
javax.xml.transform.TransformerException: java.lang.RuntimeException:
Namespace for prefix 'xsi' has not been declared.
at
com.sun.org.apache.xalan.internal.xsltc.trax.Trans formerImpl.transform(TransformerImpl.java:717)
at
com.sun.org.apache.xalan.internal.xsltc.trax.Trans formerImpl.transform(TransformerImpl.java:313)
at com.novell.afw.util.EboXmlUtil.serialize(EboXmlUti l.java:1134)
at com.novell.afw.util.EboXmlUtil.serialize(EboXmlUti l.java:1108)
at
com.novell.soa.af.impl.activity.IntegrationActivit y.execute(IntegrationActivity.java:506)
at
com.novell.soa.af.impl.activity.IntegrationActivit y.process(IntegrationActivity.java:314)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:184)
at
com.novell.soa.af.impl.activity.IntegrationActivit y.notifyArrive(IntegrationActivity.java:271)
at
com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1631)
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1520)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:243)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:218)
at
com.novell.soa.af.impl.activity.StartActivity.proc ess(StartActivity.java:82)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:184)
at
com.novell.soa.af.impl.activity.RunnableActivity.r un(RunnableActivity.java:50)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: Namespace for prefix 'xsi' has
not been declared.
at
com.sun.org.apache.xml.internal.serializer.Seriali zerBase.getNamespaceURI(SerializerBase.java:895)
at
com.sun.org.apache.xml.internal.serializer.Seriali zerBase.addAttribute(SerializerBase.java:422)
at
com.sun.org.apache.xml.internal.serializer.ToUnkno wnStream.addAttribute(ToUnknownStream.java:291)
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2T O.parse(DOM2TO.java:197)
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2T O.parse(DOM2TO.java:226)
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2T O.parse(DOM2TO.java:226)
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2T O.parse(DOM2TO.java:132)
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2T O.parse(DOM2TO.java:94)
at
com.sun.org.apache.xalan.internal.xsltc.trax.Trans formerImpl.transformIdentity(TransformerImpl.java: 662)
at
com.sun.org.apache.xalan.internal.xsltc.trax.Trans formerImpl.transform(TransformerImpl.java:708)
... 17 more
---------
java.lang.RuntimeException: Namespace for prefix 'xsi' has not been
declared.
at
com.sun.org.apache.xml.internal.serializer.Seriali zerBase.getNamespaceURI(SerializerBase.java:895)
at
com.sun.org.apache.xml.internal.serializer.Seriali zerBase.addAttribute(SerializerBase.java:422)
at
com.sun.org.apache.xml.internal.serializer.ToUnkno wnStream.addAttribute(ToUnknownStream.java:291)
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2T O.parse(DOM2TO.java:197)
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2T O.parse(DOM2TO.java:226)
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2T O.parse(DOM2TO.java:226)
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2T O.parse(DOM2TO.java:132)
at
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2T O.parse(DOM2TO.java:94)
at
com.sun.org.apache.xalan.internal.xsltc.trax.Trans formerImpl.transformIdentity(TransformerImpl.java: 662)
at
com.sun.org.apache.xalan.internal.xsltc.trax.Trans formerImpl.transform(TransformerImpl.java:708)
at
com.sun.org.apache.xalan.internal.xsltc.trax.Trans formerImpl.transform(TransformerImpl.java:313)
at com.novell.afw.util.EboXmlUtil.serialize(EboXmlUti l.java:1134)
at com.novell.afw.util.EboXmlUtil.serialize(EboXmlUti l.java:1108)
at
com.novell.soa.af.impl.activity.IntegrationActivit y.execute(IntegrationActivity.java:506)
at
com.novell.soa.af.impl.activity.IntegrationActivit y.process(IntegrationActivity.java:314)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:184)
at
com.novell.soa.af.impl.activity.IntegrationActivit y.notifyArrive(IntegrationActivity.java:271)
at
com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1631)
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1520)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:243)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:218)
at
com.novell.soa.af.impl.activity.StartActivity.proc ess(StartActivity.java:82)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:184)
at
com.novell.soa.af.impl.activity.RunnableActivity.r un(RunnableActivity.java:50)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)