It is a strange issue to use the Invoke Web Service Activity in development today. A method is added to Wcf, which is always unavailable in this Activity.
Found. Later I found that the problem was caused by cache. For more information, see http://technet.microsoft.com/zh-cn/library/hh206059.aspx.
The solution is as follows:
1. Disable all open Runbook designs.
2. Clear all DLL files in the C: \ ProgramData \ Microsoft System Center 2012 \ Orchestrator \ Activities \ WebServices2 folder.
3. re-open Runbook Design and you will find the newly added method.
Solve The XML request payload doesn't match the number of any Web Service method parameters that appears in The Invoke Web Service Activity. please check if the string is a valid XML-DoProjectDregeEnd problem, which may cause the following reasons:
1. If the cache is not cleared, the newly updated method and the added method cannot be found.
2. The location of the method parameter is incorrect or the parameter is not enough. You can use Format Hint to check the Parameter order and number of parameters, and then make corresponding changes.