[midPoint] RE. Missing namespace in object template

Deepak Natarajan dnataraj at trilobytesystems.com
Wed Oct 30 11:54:35 CET 2013


OK, I got this working by removing the old connector object (v1.0.0.6249) references first and re-importing my new resouce for the upgraded AD Connector. 

If I can get some basic provisioning working, would anyone be interested in testing against the version of the .NET connector server and the Active Directory connector?

On Oct 30, 2013, at 11:20 AM, Deepak Natarajan <dnataraj at trilobytesystems.com> wrote:

> 
> Argh. This solved the problem, thanks!
> 
> On Oct 29, 2013, at 5:49 PM, Radovan Semancik <radovan.semancik at evolveum.com> wrote:
> 
>> Hi,
>> 
>> You have hit a very annoying JAXB bug. JAXB libraries do not handle the QName values with no namespace prefix correctly in some situations. The "type" attribute of object references is one of these situations. We were unable to fix the JAXB libraries (any help or advice here is greatly appreciated). Fortunatelly there is a simple workaround: specify the namespace prefix explicitly. Therefore instead of
>> <c:resourceRef oid="b8a157a0-b2ba-43f2-a410-872853f10476" type="ResourceType"/>
>> use
>> <c:resourceRef oid="b8a157a0-b2ba-43f2-a410-872853f10476" type="c:ResourceType"/>
>> 
>> -- 
>> 
>>                                           Radovan Semancik
>>                                          Software Architect
>>                                             evolveum.com
>> 
>> 
>> 
>> On 10/29/2013 05:41 PM, Deepak Natarajan wrote:
>>> I have checked my object template definition and verified that the namespace in question is there :
>>> 
>>>   <c:mapping xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-2a"
>>>              xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"
>>>              xmlns:t="http://prism.evolveum.com/xml/ns/public/types-2"
>>>              xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-2"
>>>              xmlns:q="http://prism.evolveum.com/xml/ns/public/query-2"
>>>              xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-2"
>>>              xmlns:apti="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2"
>>>              xmlns:wfcf="http://midpoint.evolveum.com/xml/ns/model/workflow/common-forms-2"
>>>              xmlns:m="http://midpoint.evolveum.com/xml/ns/public/model/model-context-2"
>>>              xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
>>>              xmlns:enc="http://www.w3.org/2001/04/xmlenc#">
>>>      <c:expression>
>>>         <c:value>
>>>            <c:assignment>
>>>               <c:construction>
>>>                  <c:resourceRef oid="b8a157a0-b2ba-43f2-a410-872853f10476" type="ResourceType"/>
>>>                    </c:construction>
>>>                </c:assignment>
>>>            </c:value>
>>> 
>>> 
>> 
>> _______________________________________________
>> midPoint mailing list
>> midPoint at lists.evolveum.com
>> http://lists.evolveum.com/mailman/listinfo/midpoint
> 




More information about the midPoint mailing list