WCF: how to generate a single WSDL document, without WSDL:import?

前端 未结 6 1279
既然无缘
既然无缘 2020-12-08 05:25

I\'m troubling into an issue... I\'m trying to find a way to generate a single wsdl document from my WCF service, i.e. without any link to external documents. I\'ve used Fla

6条回答
  •  悲&欢浪女
    2020-12-08 05:58

    (EDIT: Previous answer about FlatWSDL deleted, because as you pointed out it was about eliminating xsd:import not wsdl:import.)

    Look at this blogpost: Control generated WSDL in WCF

    "... There is always one WSDL generated for one target namespace URI ..."

    Do you have different namespace for ServiceContract, DataContract, ServiceBehavior, etc. ?

提交回复
热议问题