AIF seems corrupt

AX 2009
I have a live system where the users have been happily importing into the PL Journal through the AIF for several months. The components that they use were generated following the walkthorough and using the AIF Document Service Wizard.

For testing, the DBA has refreshed a Test system from the live system data, but on the test system, the AIF seems to be screwed.

In the AOT, the service PurchaseInvoiceJournalService has create,find and read operations. In the AIF there are no operations.
I have tried resaving the service and the generate and refresh buttons in the AIF services.
The service and the classes seem to be identical on the test system to those on the live. It is only in the set up of the AIF where they are different.
Can anyone help?