First bug is solved.
In database service dbCustomer when you change call in routine PrimeParameters from
xml.Load(q:Customer,strxml.GetValuePtr(),'','Customer')
into
xml.Load(q:Customer,strxml.GetValuePtr(),strxml.length(),'','Customer')
queue from posted xml is finally loaded into q:Customer.
Customers table is not updated but that is another issue.
Best regards,
Djordje Radovanovic