简体   繁体   English

调用方法名称未知的Web服务

[英]Calling web service with unknown name of method

Need to call web method, from web service. 需要从Web服务调用Web方法。 but name of method is unknown at compile time, so i can not use vs proxy generated class for webservice. 但是方法的名称在编译时是未知的,所以我不能将vs代理生成的类用于Web服务。 So, how can i define name of method at runtime? 那么,如何在运行时定义方法名称?

Look at this post . 看这个帖子 It involves calling wsdl to generate proxy for the webservice when required. 它涉及在需要时调用wsdl以生成Web服务的代理。

How about: 怎么样:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM