AnsweredAssumed Answered

XOG Client throws error

Question asked by ehtesham1 on Dec 5, 2013
Latest reply on Dec 5, 2013 by gcubed

Hi All

Through an accelerator I generated an XML as below.

<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_user.xsd">
  <Header version="6010" action="write" objectType="user" externalSource="ORACLE-FINANCIAL"/>
  <Users>
<User userId="scheduler" userName="scheduler" userStatus="Active" externalId="1">
      <PersonalInformation lastName="Sc"
   firstName="scheduler" ResourceId="FP143"
      emailAddress="def@M.com" resourceType="LABOR"
      hireDate="12/6/2013" isLdap="Yes"
      terminationDate="12/6/2013" managerUserName="abc"
   employmentType="Employee" userLanguage="English"
    />
        <ContactInformation companyName="WIPRO" countryId="USA"
        />
          <ManagementInformation openForTimeEntry="Yes"  primaryRoleId="Developer"    
          />
           <FinancialInformation resourceClass="LABOR" transactionClass="LABORINT"
     />
       </User>
  </Users>
</NikuDataBus>

 

While I tried to use Xog through Clarity I am getting error as

<ErrorInformation>
    <Severity>FATAL</Severity>
    <Description>[Error] :0:0: unexpected attribute "userId"
    Invalid attribute in input document. Please remove all instances of attribute from document elements and try again.
    [Element : User, Attribute : userId ].
</Description>
    <Exception type="java.lang.Exception">Invalid xml data</Exception>
  </ErrorInformation>

Can anyone help me with this as I am new to Xog.

The Repeat Tag I am using is below:

<User userId="${User Id (*)}" userName="${User Name (*)}" userStatus="${Status (*)}" externalId="${external Id (*)}">
      <PersonalInformation lastName="${Last Name(*) In capitals, no special character or accent}"
   firstName="${First name(*) no special character or accent}" ResourceId="${Resource Id (*)}"
      emailAddress="${Email Address(*)}" resourceType="${Resource Type(*)}"
      hireDate="${Date of Hire(*)}" isLdap="${External Authentication}"
      terminationDate="${Date of Termination(*)}" managerUserName="${Resource Manager(*)}"
   employmentType="${Employment Type(*)}" userLanguage="${Language(*)}"
    />
        <ContactInformation companyName="${Company}" countryId="${Country(*)}"
        />
          <ManagementInformation openForTimeEntry="${Open For Time}"  primaryRoleId="${Primary Role}"    
          />
           <FinancialInformation resourceClass="${Resource Class (*)}" transactionClass="${Transaction Class (*)}"
     />
       </User>

 

Many Thanks!!

Ehtesham Reza

Outcomes