Custom Adapter Service Template lookup failure

Hello,
I am developing a custom adapter and the adapter connects fine, however when I use Developer6.1 to define a new adapter service, the Adapter Service Template failure message I get is “could not look up resource domain values”, even though I have defined them. In fact they are same as wmSampleAdapter.

Please help.
Thanks