How to get the wsdl file from a webservice's URL

后端 未结 4 1834
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-08 01:17

I want to get the WSDL file for a webservice and the only thing I have is its URL (like webservice.example/foo).

If I use the URL directly only an error response is

4条回答
  •  不思量自难忘°
    2020-12-08 02:20

    Its only possible to get the WSDL if the webservice is configured to deliver it. Therefor you have to specify a serviceBehavior and enable httpGetEnabled:

    
        
            
            
        
    
    

    In case the webservice is only accessible via https you have to enable httpsGetEnabled instead of httpGetEnabled.

提交回复
热议问题