You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
Definition of wsdl below does not allow access to imported xsd.
For details see similar bug in Spring WS:
http://jira.springframework.org/browse/SWS-281
WEB-INF/applicationContext.xml
<wss:bindings id="jax-ws.http">
wss:bindings
<wss:binding url="/services/AddInt" service="#AddIntService" />
</wss:bindings>
</wss:bindings>
<ws:service
id="AddIntService"
bean="#AddIntServiceImpl"
serviceName="tns:AddIntService"
portName="tns:AddIntPort"
xmlns:tns="http://www.example.org/AddInt"
bindingId="http://www.w3.org/2003/05/soap/bindings/HTTP/">
ws:handlers
</ws:handlers>
ws:primaryWsdl
/WEB-INF/wsdl/AddInt.wsdl
</ws:primaryWsdl>
</ws:service>
....
WEB-INF/wsdl/AddInt.wsdl
<wsdl:definitions name="AddInt"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.example.org/AddInt"
targetNamespace="http://www.example.org/AddInt">
wsdl:types
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import
namespace="http://www.example.org/AddInt"
schemaLocation="AddInt.xsd"/>
</xsd:schema>
</wsdl:types>
....
<wsdl:service name="AddIntService">
<wsdl:port name="AddIntPort" binding="tns:AddIntBinding">
<soap:address
location="http://localhost:8080/AddInt/services/AddInt"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Environment
Operating System: All
Platform: All
Affected Versions
[current]
The text was updated successfully, but these errors were encountered: