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="" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_user.xsd">
  <Header version="6010" action="write" objectType="user" externalSource="ORACLE-FINANCIAL"/>
<User userId="scheduler" userName="scheduler" userStatus="Active" externalId="1">
      <PersonalInformation lastName="Sc"
   firstName="scheduler" ResourceId="FP143"
      emailAddress="" 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"


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

    <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 ].
    <Exception type="java.lang.Exception">Invalid xml data</Exception>

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 (*)}"


Many Thanks!!

Ehtesham Reza