webservice report CallBack functions are not allowed

Hi, all friends, thank you for your help.

after I published a webservice used page 42, when I consume the webservice to create order, the webservice report a error that CallBack functions are not allowed

in webservice you cannot have any GUI openened up. check your code for any report or form opening during sales order creation.

hello, thanks, but my webservice was published from Page42 - Sales Order only, where can i find the gui functions?

my means is, the webservice is not published from codeunit, and not a code line in the webservice.


through the webservice, i can read data from navision.

but when is execute the row line:

service.Create(ref order);–该行报错:CallBack functions are not allowed