【发布时间】:2015-02-21 05:07:32
【问题描述】:
我的 WSDL 上有以下标签:
<?xml version='1.0' encoding='UTF-8'?>
<definitions name="" targetNamespace="http://xxxxx/ws"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:s0="http://xxxxx/ws"
xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/">
<types>
<xsd:schema attributeFormDefault="qualified"
elementFormDefault="qualified"
targetNamespace="http://xxxxx/ws/comments"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:s0="http://xxxxx/ws"
xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://xxxxx/ws"
xmlns:tnsc="http://xxxxx/ws/comments"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:y="http://new.webservice.namespace">
这些类型随后被限定为位于 s0,s1... 命名空间中。
问题是命名空间端点(="http://xxxxx/ws") 是否需要是一个有效的 url?
如果端点不再存在 - 这是否意味着我们需要再次为 Web 服务重新生成存根代理?
注意:Web Service 本身的端点与命名空间的端点不同,并且仍然存在。
【问题讨论】:
标签: xml xsd wsdl xml-namespaces wsdl2java