我正在编写一个 wsdl 文件,当我测试它时,我得到了“SOAP-ERROR: Parsing WSDL: No address associated with”消息。我在端口标签中添加了地址:以下是代码:
<service name="MyWebService">
<documentation>WSDL file for Web Service</documentation>
<port name="GetNamePortType" binding="tns:GetNameBinding">
<soap:address location="http://localhost:8080/site/ws/wsdl/"/>
</port>
</service>
感谢您的任何意见