How to call a web service with no wsdl in .net

后端 未结 5 554
旧巷少年郎
旧巷少年郎 2020-12-08 04:53

I have to connect to a third party web service that provides no wsdl nor asmx. The url of the service is just http://server/service.soap

I have read this article ab

5条回答
  •  粉色の甜心
    2020-12-08 05:42

    If you're lucky you could still get the wsdl. Some web service frameworks allow you to retrieve a dynamically generated WSDL.

    Web Services written with Axis1.x allow you to retrieve a dynamically generated WSDL file by browsing to the URL.

    Just browse to

    http://server/service.soap/?wsdl
    

    I don't know if this is possible with other frameworks though.

提交回复
热议问题