Hi,
i created a custom "TestService.svc" webservice and deployed it to ISAPI fodler. The web.config for my service looks so:
<configuration><system.serviceModel><services><service name="CustomersWorkplaceService.TestService" behaviorConfiguration="ServiceBehavior"><!--Service Endpoints --><endpoint name="mex" address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/></service></services><behaviors><serviceBehaviors><behavior name="ServiceBehavior"><serviceMetadata httpGetEnabled="true"/><serviceDebug includeExceptionDetailInFaults="false"/></behavior></serviceBehaviors><endpointBehaviors><behavior name="web"><webHttp/></behavior></endpointBehaviors></behaviors></system.serviceModel></configuration>
The connection to webservice from SharePoint pages works. It worked also without "web.config". I need now to test it outside from SharePoint, because it will be requested in the future from external application (not from sharepoint).
As i can see in firebug, i receive now a error "401 Unauthorized".
Please advice how i can resolve it, thanks! I'am sure that the problem in web.config file - something missing or something wrong... i tried already different options of parameter "binding", but no luck.