在 wsdl 文件中,我当前正在定义一个服务,例如:
<service name="test">
然后我可以通过向 localhost:port/test 发送请求来调用 API
如果我想通过向 localhost:port 或“localhost:port/”发送请求来调用 API,该怎么办?
如何定义服务?我尝试过:
<service name="/"> and <service name="">
这不起作用。
最佳答案
关于java - 如何在 wsdl 中定义根 SOAP 服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16294802/