开发者

How to change sequence composer in WSDL to ALL

开发者 https://www.devze.com 2023-02-09 09:45 出处:网络
I want to make 开发者_运维知识库the value of sequence to ALL in an asp.net asmx web service WSDL.. is it possible and if so how? Google couldn\'t give much help regarding this.. so please help if anyo

I want to make 开发者_运维知识库the value of sequence to ALL in an asp.net asmx web service WSDL.. is it possible and if so how? Google couldn't give much help regarding this.. so please help if anyone knows how to do this..


First of all, why do you want to do this? In general, xs:all is a bad idea.

Second, there's no good way to do it with ASMX web services or with WCF.There are bad ways, though. In ASMX, change your WebMethod to accept and/or return an XmlElement, and do the processing on your own. In WCF, use Message in the same way.

You won't be able to use the automatically-generated WSDL in either case.

0

精彩评论

暂无评论...
验证码 换一张
取 消