如果,例如orders.wsdl导入Orders.xsd,如何使用static-wsdl进行配置
<sws:static-wsdl id="orders" location="/WEB-INF/wsdl/orders.wsdl"/>
这样可以在浏览器中查看 Orders.xsdhttp://host/context/Orders.xsd
动态 wsdl 支持它。
<sws:dynamic-wsdl id="orders"
portTypeName="Orders"
locationUri="http://localhost:8080/ordersService/">
<sws:xsd location="/WEB-INF/xsd/Orders.xsd"/>
</sws:dynamic-wsdl>
但是 static-wsdl 没有 sws:xsd 属性。