[midPoint] Error Stack and Bug Report while Creating the Resource.xml..

Indresh Kumar Bajpai indresh.bajpai at ilantus.com
Mon Sep 29 15:10:03 CEST 2014


Hi Everyone,

find the details about Bug report and Error Stack

1 - i am trying to develop one Custom connector which is Exposed through some soap based web services, while creating the resource.xml i am passing the host name, domainName, url  of soap web-services and password.

then i am trying to create the user through this soap url in the target system

2 - find the details about resource.xml

<resource xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
          oid="5398eb4e-d294-40e0-a061-e6fcf71b9777"
          version="15">
   <name>Dummy Connector</name>
   <description>
        Dummy connector
    </description>
   <fetchResult>
      <operation>com.evolveum.midpoint.provisioning.api.ProvisioningService.getObject</operation>
      <status>success</status>
      <params>
         <entry key="oid">
            <paramValue>5398eb4e-d294-40e0-a061-e6fcf71b7777</paramValue>
         </entry>
         <entry key="type">
            <unknownJavaObject>
               <class>java.lang.Class</class>
               <toString>class com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType</toString>
            </unknownJavaObject>
         </entry>
         <entry key="options"/>
      </params>
      <context>
         <entry key="implementationClass">
            <unknownJavaObject>
               <class>java.lang.Class</class>
               <toString>class com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl</toString>
            </unknownJavaObject>
         </entry>
      </context>
<connectorRef oid="500976c0-90c1-4647-8888-76b53f36777f" type="ConnectorType">
        <description>Reference to the ICF Custom connector by connectorType</description>
        <filter>
             <q:equal xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3">
            <q:path>connectorType</q:path>
            <q:value>midpoint.evolvium.connector.CustomConnector</q:value>
         </q:equal>
        </filter>
    </connectorRef>
    <connectorConfiguration>
         <icfc:configurationProperties xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3">
         <gen636:host xmlns:gen636="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.dummy.custom.connector.demo/com.dummy.custom.connector.demo.CustomConnector">https://192.167.9.90:8080/selfService</gen636:host>
         <gen636:domainName xmlns:gen636="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.dummy.custom.connector.demo/com.dummy.custom.connector.demo.CustomConnector">xyzgroup.com</gen636:domainName>
<gen636:url xmlns:gen636="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.dummy.custom.connector.demo/com.dummy.custom.connector.demo.CustomConnector">https://190.169.9.50:9090/selfService</gen636:url>
      </icfc:configurationProperties>
</connectorConfiguration>
<schema>
      <cachingMetadata>
         <retrievalTimestamp>2014-07-07T17:42:04.548+05:30</retrievalTimestamp>
         <serialNumber>9aad24da8007351d-2db2ce64521340b4</serialNumber>
      </cachingMetadata>
      <definition>
         <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                     xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"
                     xmlns:ra="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-3"
                     xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
                     xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3"
                     elementFormDefault="qualified"
                     targetNamespace="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">
            <xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"/>
            <xsd:import namespace="http://prism.evolveum.com/xml/ns/public/annotation-3"/>
            <xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-3"/>
            <xsd:complexType name="AccountObjectClass">
               <xsd:annotation>
                  <xsd:appinfo>
                     <ra:resourceObject/>
                     <ra:identifier>icfs:uid</ra:identifier>
                     <ra:secondaryIdentifier>icfs:name</ra:secondaryIdentifier>
                     <ra:displayNameAttribute>icfs:name</ra:displayNameAttribute>
                     <ra:namingAttribute>icfs:name</ra:namingAttribute>
                     <ra:nativeObjectClass>__ACCOUNT__</ra:nativeObjectClass>
                     <ra:kind>account</ra:kind>
                     <ra:default>true</ra:default>
                  </xsd:appinfo>
               </xsd:annotation>
               <xsd:sequence>
                  <xsd:element minOccurs="0" ref="icfs:uid">
                     <xsd:annotation>
                        <xsd:appinfo>
                           <a:displayName>ICF UID</a:displayName>
                           <a:access>read</a:access>
                        </xsd:appinfo>
                     </xsd:annotation>
                  </xsd:element>
                  <xsd:element ref="icfs:name">
                     <xsd:annotation>
                        <xsd:appinfo>
                           <a:displayName>ICF NAME</a:displayName>
                        </xsd:appinfo>
                     </xsd:annotation>
                  </xsd:element>

               </xsd:sequence>
            </xsd:complexType>
         </xsd:schema>
      </definition>
   </schema>
   schemaHandling>
      <objectType>
         <intent>default</intent>
         <displayName>Default Account</displayName>
         <default>true</default>
         <objectClass xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:AccountObjectClass</objectClass>
         <activation>
            <administrativeStatus>
               <outbound/>
            </administrativeStatus>
         </activation>
         <credentials>
            <password>
               <outbound/>
            </password>
         </credentials>
      </objectType>
   </schemaHandling>
   <capabilities>
      <cachingMetadata>
         <retrievalTimestamp>2014-09-23T17:42:04.552+05:30</retrievalTimestamp>
         <serialNumber>3ebf41a0e7ba7163-78f22da1f4144888</serialNumber>
      </cachingMetadata>
      <native>
         <cap:testConnection xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3"/>
         <cap:create xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3"/>
         <cap:delete xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3"/>
         <cap:credentials xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3">
            <cap:password>
               <cap:returnedByDefault>false</cap:returnedByDefault>
            </cap:password>
         </cap:credentials>
      </native>
      <configured>
         <cap:activation xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3">
            <cap:status>
               <cap:attribute xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:validity</cap:attribute>
               <cap:enableValue>true</cap:enableValue>
               <cap:disableValue>false</cap:disableValue>
               <cap:disableValue/>
            </cap:status>
         </cap:activation>
      </configured>
   </capabilities>
   </resource>

3 - While submitting the resource i am getting the fallowing error in midpoint and the below Error Stack.

[https://outlook.office365.com/owa/service.svc/s/GetFileAttachment?id=AAMkAGNhNmZhZmM4LTZhNDEtNDJiOS1hYjQ2LWI0YTg4MjRjNjUwMABGAAAAAABDtyIVJsXWS5S11Ozr5bTrBwAZybznvlUmSptYmScVZqY1AAAAAAEKAAAZybznvlUmSptYmScVZqY1AAA3ccwVAAABEgAQADkFRuLmZfZFpEc7HExVaEE%3D&X-OWA-CANARY=qfcHCQFhqU2mhPGdK0oDNnGebCD8qdEIAB6unHlZzW-65NQiO0AxBDdDClCV_qYCH8wVW_4PT0A.]


4 -   Operating system - Cent OS
       J2EE application server and its version - Apache tomcat 6.0
        Java version - JDK 1.7

5 - Mid point Version - 3.0


6 - Error Stack when i am assigning a target system (Account) to an individual user


[cid:ad24ec37-4abb-4b45-8937-50d0334d36e5]



based on the above details can somebody suggest needfully to fix it.

This message contains information that may be privileged or confidential and is the property of ILANTUS Technologies. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20140929/985712a2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 45861 bytes
Desc: pastedImage.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20140929/985712a2/attachment.png>


More information about the midPoint mailing list