Hi NN,
Loop over record list say emp contains empid,ename.After looping
(inside loop) it become as record emp.Now you create insertEmpdetail
service.In this service take input as
empid,ename fields Now click on flow button in this service.
take map,Take temparory field sqlInsert
make it large editor.Now write sql statement
ex:insert into schemaname.tablename(column names in that tableeg:EMPID,ENAME)values(‘%empid%’,‘%ename%’)pl check for
both check boxes in input for sqlSelect box.Then call execSQL
service in wmDB package map this sqlSelect to dbSQL.Drop
everything except updateCount,dbMessage(those are output parameters)
now call insertEmpDetail service into loop.Now map empid,ename
in record emp to empid,ename (input parameters for insertEmpDetail service).Your problem solved.Before call dbConnect,after procees
call close services to open dbconnection,dbclose.
Thanks,
SriniK
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods