about WCF Service in SharePoint

%3CLINGO-SUB%20id%3D%22lingo-sub-920508%22%20slang%3D%22en-US%22%3Eabout%20WCF%20Service%20in%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-920508%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20created%20a%20WCF%20Service%20in%20the%20SharePoint.%20And%20I%20have%20a%20Class%20Library%20will%20involve%20the%20WCF%20service%20from%20my%20client's%20machine.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20%3CFONT%20color%3D%22%230b0125%22%3Ea%3CSPAN%3Edded%20Service%20Reference%20of%20the%20service%20%3CFONT%20color%3D%22%23001003%22%3Ehttp%3A%2F%2Fwin-6clkd4aeaol%3A8096%2F_layouts%2F15%2FSPWCFService%2FSPService.svc%20and%20login.%20I%20got%20the%20error%20message%20%22%3CFONT%20color%3D%22%230b0130%22%3EAn%20error%20occurred%20while%20attempting%20to%20find%20services%20at%20'http%3A%2F%2Fwin-6clkd4aeaol%3A8096%2F_layouts%2F15%2FSPWCFService%2FSPService.svc'.%20The%20remote%20server%20returned%20an%20error%3A%20(404)%20Not%20Found.%20%3C%2FFONT%3E%22.%20I%20have%20a%20try%20to%20test%20my%20WCF%20Service%20on%20my%20SharePoint%20Lab%20and%20connect%20to%26nbsp%3Bhttp%3A%2F%2Fwin-6clkd4aeaol%3A8096%2F_layouts%2F15%2FSPWCFService%2FSPService.svc%2FGetData%3FF%3D5.%20it%20works%20properly.%3C%2FFONT%3E%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%230b0125%22%3E%3CSPAN%3E%3CFONT%20color%3D%22%23001003%22%3EI%20have%20no%20idea%20on%20it.%20why%20I%20cannot%20add%20WCF%20Service%20from%20my%20SharePoint%20Server.%3F%3F%3C%2FFONT%3E%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%230b0125%22%3E%3CSPAN%3E%3CFONT%20color%3D%22%23001003%22%3EThanks%20for%20ur%20help.%3C%2FFONT%3E%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-920508%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Frequent Contributor

Hi there,

 

I created a WCF Service in the SharePoint. And I have a Class Library will involve the WCF service from my client's machine.

 

I added Service Reference of the service http://win-6clkd4aeaol:8096/_layouts/15/SPWCFService/SPService.svc and login. I got the error message "An error occurred while attempting to find services at 'http://win-6clkd4aeaol:8096/_layouts/15/SPWCFService/SPService.svc'. The remote server returned an error: (404) Not Found. ". I have a try to test my WCF Service on my SharePoint Lab and connect to http://win-6clkd4aeaol:8096/_layouts/15/SPWCFService/SPService.svc/GetData?F=5. it works properly.

 

I have no idea on it. why I cannot add WCF Service from my SharePoint Server.??

Thanks for ur help.

0 Replies