Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Failed to enable constraints

$
0
0
Failed to enable constraints
West Wind Client Tools
Failed to enable constraints
04/28/2012
01:29:20 AM
3HN03707G Show this entire thread in new window
Gratar Image based on email address
From:
Paul Brebels
To:
All 
Attachments:
None
I get an error calling ExportAnimalOverview webservice of below. Webservice responsible person says I should get back 75 results for the parameters I use but I get an error.

OLE IDispatch exception code 0 from wwDotNetBridge: Server was unable to process request. ---> Unexpected Exception: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints. Failed to enab".

Strange error, I am only retrieving data not saving.

Any idea?

Paul

LOCAL loBridge as wwDotNetBridge DO sanitel_sanitelservicesproxy.prg loservice = CREATEOBJECT('sanitel_sanitelservicesproxy') &&"http://qas.sanitrace.be/int/QAS_Sanitel_ExtInterfacingSvcs/SanitelServices.asmx" loBridge = loservice.oBridge loService.oService.HttpLogin("WS4SNTRC","ed5R#CK5",.T.) lExport = loBridge.createinstance("Sanitel_SanitelServices.ExportAnimalOverviewAnimalOverviewExportRequest") lExport.User = "TESTXML" lResult = loBridge.createinstance("Sanitel_SanitelServices.AnimalOverviewExport") lAnimal = loBridge.createinstance("Sanitel_SanitelServices.ExportAnimalOverviewAnimalOverviewExportRequestAnimal") lAnimal.ANTP_CDE ="BOV" lAnimal.SNUN_CDE = "BE10147113-0101" loBridge.CreateArrayOnInstance(lExport,"Animal",1) loBridge.SetPropertyEx(lExport,"Animal[0]",lAnimal) loBridge.Addarrayitem(lExport,"Animal",lAnimal) lResult = loservice.ExportAnimalOverview(lExport)



Viewing all articles
Browse latest Browse all 10393

Trending Articles