After some looking around, I'm getting the feeling that this approach isn't the best one for the issue I'm trying to resolve, but figured I'd have one last attempt at trying to find a resolution here before I move on to a new approach.
I have the current service layout below and I am trying to achieve the following:
application/x-www-form-urlencode
As you can see above, at the moment I have all the variables declared individually within this service and inside the activity I have them declared as such.
public InArgument<string> AccessEmail { get; set; }
public InArgument<Guid> PackageId { get; set; }
public InArgument<string> OwnerEmail { get; set; }
public InArgument<string> Ip { get; set; }
public OutArgument<string> Response { get; set; }
My question is hopefully a fairly straight forward on; Is it possible to assign a service variable to accept a form encoded post of data, or do all the variables need to be assigned individually?
Currently when using WcfTestTool
, when I connect to the service, I see all the variables listed one after the other for me to declare, really, I want to declare one value for the query string and another for the main form data.
经过深入研究,我发现默认情况下,这种设置主要是针对SOAP调用的,因此要获得我想要的功能,使用标准WCF服务似乎是一个更好的主意然后在配置文件中控制功能。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.