Try setting (in global.cs): AntiForgeryConfig.UniqueClaimTypeIdentifier = ClaimTypes.NameIdentifier; I think it's important to note why this works: This tells the AntiForgery class to use the NameIdentifier (which is the user id string found by GetUs…
package com.slp.webservice; import javax.jws.WebService; /** * Created by sanglp on 2017/2/25. * 接口 */ @WebService public interface IMyService { public int add(int a,int b); public int minus(int a,int b); } package com.slp.webservice; import javax.jw…