Help needed on first plugin

I am a total newbee at plugins and bouncing my head on this one.

I am trying to write a small plugin to go along with the IPhone location effort going on in the Scene Scripting forum thread. I wrote a simple plugin that does nothing, just mock up of the VSwitch light modified to model an IPhone with a Present ( or not ) property to log presence in house, Distance and Address of the IPhone. For now the plugin is an empty shell, it does nothing , just an icon depending on the Present value and a couple of button to tweak it on or off. my problem is whenever I click on the button, I get a Invalid Service message, and I can see in the luup logs things like :

08 09/23/13 23:53:06.725 JobHandler_LuaUPnP::HandleActionRequest device: 83 service: urn:upnp-org:serviceId:IPhoneLocator1 action: e[36;1mSetPresente[0m <0x2f3c8680> 08 09/23/13 23:53:06.725 JobHandler_LuaUPnP::HandleActionRequest argument newPresentStatus=0 <0x2f3c8680> 01 09/23/13 23:53:06.726 e[31;1mJobHandler_LuaUPnP::HandleActionRequest can't find urn:upnp-org:serviceId:IPhoneLocator1e[0m <0x2f3c8680>

I have checked my serviceId strings all over and cant see whats wrong. I have also confirmed that the S_IPhone.xml.lzo file is in /etc/cmh-ludl folder ( I used the std file upload via UI5 screen to install it )

I am attaching my plugin files in case somebody sees the problem.
thank you

Your missing a for GetDistance in S_IPhone.xml
I did not check the others … you may want to pass your XML files through a validation procedure.

Fantastic. thank you Sir, that was it. Thx for the tip for the xml validation. I found some online ones that will prove to be useful.