WSDL Cannot find dispatch method for

前端 未结 9 2031
没有蜡笔的小新
没有蜡笔的小新 2020-12-15 06:43

For a web service call using a WSDL, I\'m getting the error Cannot find dispatch method for {http://ws.somecompany.com/services}ValidateUser, what does that me

9条回答
  •  时光说笑
    2020-12-15 07:25

    I had the same issue in my .NET Application, In my case setting url same as "http://x-xxx-xx-xx-01:8080//TestProject/testproject?wsdl" (dummy url) solved the problem in the below code.

    Vb.Net

    Dim rptGen as WSTestProject.testproject = Nothing
    rptGen = New WSTestProject.testproject With {
            .Url = "http://x-xxx-xx-xx-01:8080//TestProject/testproject?wsdl",
            .Timeout = 1200000
            }
    

    Here, WSTestProject is the WebService NameSpace and testproject is the web method.

提交回复
热议问题