Vouchagram India
asked on
WCF Service
We have the WCF service .SVC. There are multiple Operation contract in that.
When we hit the WSDL of web service, all methods get exposed.
Requirement : We want to expose selected methods client wise.
How can we do that.
When we hit the WSDL of web service, all methods get exposed.
Requirement : We want to expose selected methods client wise.
How can we do that.
Maybe you should have a proxy service in the front for each client. But they all call internally your web service.
public interface Client1
{
Method 1() { return new actualservice().method1() ; }
Method 2() { same as above };
}
public interface client2
{
method 2() ...
method 3() ...
}
public interface Client1
{
Method 1() { return new actualservice().method1() ; }
Method 2() { same as above };
}
public interface client2
{
method 2() ...
method 3() ...
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Excellent,
What was the solution? It would be great if you let us know what you decided to do.
Thanks,
Darren
What was the solution? It would be great if you let us know what you decided to do.
Thanks,
Darren
Perhaps you could version you interfaces so that only certain methods are available.
Then you could have one for client and an extended one for another particular type of client.
Just a thought
Cheers
Darren