[SoapDocumentMethod( RequestNamespace = "http://www.contoso.com/Request", RequestElementName = "RequestMessage", ResponseNamespace = "http://www.contoso.com/Response", ResponseElementName = "ResponseMessage")] [WebMethod(MessageName = "RequestMessage")] public Class2 HelloWorld(Class1 c1) { return new Class2(); }
RequestElementName 和 [WebMethod(MessageName,有什么不同之处?
另外,Class1 c1,导致不能达到如下效果,该如何解决?