<soap:地址位置= "??????????????" /> WSDL 地址位置


<service name="MathServicesService">
    <port name="MathServicesPort" binding="tns:MathServicesPortBinding">
      <soap:address location="http://localhost/C:UserscvolkernickworkspaceWSDLServerbinmath"/>
    </port>
  </service>

写着<soap:address location="URL" />的地方应该写什么??我试图测试我的web服务本地与web服务浏览器,但我一直得到404

要在本地运行服务,必须有一个正在运行的服务器(例如Tomcat应用服务器或甚至一个简单的JAX-WS端点)。

然后您需要在这里指定端点的URL(或者在获得服务实例时作为参数)。

最新更新