I have the services on an internal service here so I had to export them to you as a zipped file. Would you be able to put them on a server for you to test them in the code.
Wherever a service is being used, I have typed the shapefile Name in the code. When all is up and running it should look like this: