I had a webservice which i was directly accessing from my webform. I used a service reference in my wesite and used a serviceclient on my webform which worked fine.
Now i removed the service reference from my website and created a class library hich consumes this webservice the same way usinfg a service reference and service client in the class.
when i try to use this class library now it gives me an error that no default endpoint found for the contract. Also i had changed the namespace of my class library and also changed it in settings and assembly files. the dll still has the old name :( I've added a reference of this class library in my website.
where am i going wrong.