A quick question about WCF Action


if have web service generated via wcf service publishing wizard , newcardno web method name. when client use generated wsdl file , add service reference in visual studio, make request web service, should use newcardno wcf action , calls newcardno method, right?

what happen, if change service method name newcardno newcard, , client still uses old code? should client side failed because of there no newcardno method existing in web service, still passing newcardno wcf action , schema method still remains same?

thank you.

hi xiao,

such call web service will fail because method getting called not present. when have change signature of service or schemas here process should follow,

1) orchestration or schemas are changed per needs.

2) orchestration or schemas redeployed. 

3) run wcf web service publishing wizard expose schemas or orchestration service

4) if have change namespace or method name should in publishing wizard.

note:- redeployement of schemas/orchestrations , running publishing wizard ensures there no difference in dlls in virtual directory , gac , latest well.

once above process complete client needs reconsume service reference , push request again.


thanks regards,
shailesh kawade
mcts biztalk server
please mark answer if helps you.
http://shaileshbiztalk.blogspot.com/



BizTalk Server  >  BizTalk Server General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

How to Share webservice object to all user

Catalog Staging