c# - Not seeing service contract when I add WCF service as a service reference -


i looking @ wcf service created 1 of our team-members , trying add service reference in client code. knowledge of wcf not extremely deep after adding service reference, should able see list of functions in object browser if extend service.

now,normally service contract looks following:

 [operationcontract]   void functionname(parameter request); 

however, 1 looks little different , not sure if not showing in list of functions has being different looks following:

[operationcontractattribute(action = "somename", replyaction = "*")]         [xmlserializerformatattribute()]         responsetype somename(parameternamerequest); 

so here goes final question:

  • how can add service in client code , still able call functions? since not showing in "callable" function list, have change service able call it?
  • what real use/ benefit of doing way?


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -