Posted: Tue Feb 14, 2006 3:02 am Post subject: child BO's not picked up! [solved]
Apprentice
Joined: 25 Jul 2005 Posts: 48
I'm using a JText adapter to pick up a Flat File -
BO definition:
IdNumber [string] 10
UserName [string] 10
Dep [Dependents] <----start of child BO
DependentKey [string] 2
Sex [String] 6
Race [String] 8 <---- end of child BO
UserSurname [String] 20
_____________________________________________________________
'67890 Gail 01FemaleAfrican Hlongwane ' <---- Test File
the above is my test file which is parsed by the Visual Tester correctly as shown below
<StartBO:FaritecUser>
BusinessObject = FaritecUser
Verb = Create
Locale = en
In the Parent BO, have you set the 'Required' property for the Child BO?
If not, maybe that is the reason why the connector is treating the bytes after UserName as part of UserSurName. Also can you try moving UserSurName above the Child BO and see if it works?
I have modified the source class ... com.crosswords.DataHandlers.text.fixedwidth to get the Business Object and Verb from the meta_data business object [MO_DataHandler_DefaultFixedWidthConfig.xsd] - but i overlooked the cardinality part of it whilst i was modifying the class...
i realised that after looking @ the test file template used for fixed with files below
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum