WebserviceBindingAttribute

When I need a refernce to the webservice I get the following error ONLY in RELEASE mode and not in DEBUG mode. Pls help.

WebserviceBindingAttribute is required on proxy classes

And I see that WebserviceBindingAttribute is already there.