Problem in creating Adapter Connector

hi All ,
I am tryin gto make a customized adaptor taking help from WmADKUserGuide pdf

I am gettin gfollowing error while making Connector :
"
Templates are not loaded properly for the following reason:

com.webmethods.caffeine.utils.FormattedException: com.wm.app.b2b.server.ServiceException: [ART.118.5040] Adapter Runtime (Connection): Unable to get adapter service templates for connection com.wm.adapter.decAlphaAdapter:DecAlphaConnection.
[ART.118.5048] Adapter Runtime (Connection): Unable to get adapter service templates for connection resource com.wm.adapter.decAlphaAdapter:DecAlphaConnection.
"
I have used {SampleAdapterConstants.Samp + ADKGLOBAL.RESOURCEBUNDLEKEY_GROUP, “Sample Connection Configuration Screen” } code for getContents () methode in SampleResourceBundle.java file .

and

defined certain parameters like Host , Port … in the createGroup() method in fillWmTemplateDescriptor():
SampleConnector.java***
public void fillWmTemplateDescriptor(WmTemplateDescriptor d, Locale l) throws
AdapterException {

d.createGroup(Sample AdapterConstants.Dec,
              new String[] {
              Sample AdapterConstants.HOST,
              Sample AdapterConstants.PORT,


Can someone helo me on this .