How to design a SOAP call in MatLab

前端 未结 2 1468
无人及你
无人及你 2021-01-25 03:17

I\'m not clear at all on how to call a web service from MatLab. I\'m trying to apply this guide but I don\'t understand several parts. For instance this.

  • Where is
相关标签:
2条回答
  • 2021-01-25 03:58

    Since you want to use WSDL, you are working from the wrong documentation. You linked to a guide about SOAP.

    To learn about WSDL, read this: Access Web Services That Use WSDL Documents. When you use MATLAB's createClassFromWsdl, you don't need to worry about the SOAP implementation. The generated MATLAB class takes care of that.

    0 讨论(0)
  • 2021-01-25 04:10

    If you have access to the web service definition list (WSDL), you can go like this:

    wsdl = createClassFromWsdl('http://server.domain/NameOfMethod.asmx?WSDL')
    calls = methods(NameOfMethod)
    response = HelloWorld(NameOfMethod, "Konrad")
    

    See this info. It's very easy to follow and straight-forward to grasp. I'm surprised myself.

    0 讨论(0)
提交回复
热议问题