i




 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If a wcf method is not consuming in Client appliation .....Then what was the problem
12-11-2013, 10:42 AM
Post: #1
If a wcf method is not consuming in Client appliation .....Then what was the problem
if Client application does not consuming the wcf web service method...

This is possible in 2 conditions.

1. If u forget to write [operation contract] on the top of the method.
(OR)
2. The method access modifier write as Private...

In both conditions the web method is not consuming client application.

It is mandatory to if u Write a method then it show to real world when ever you put the [operation contract] keyword in top of method...and it should be Public access modifier to access from real world.

WCF interview question.....


Quote




User(s) browsing this thread: 1 Guest(s)