My web service is a jar file and is used as a plugin from another web application, so I only have one web.xml in the main web application and give a link to my dispatcher servlet and it works fine, but my problem is when I want to use it using my wsdl file with soap client (soapUI cannot find the circuit in wsdl)
This is what my servlet.xml file looks like in a jar file;
<bean id="schema" class="org.springframework.xml.xsd.SimpleXsdSchema">
<property name="xsd" value="classpath:/resources/xwebservice/schemas/Request.xsd" />
</bean>
<bean id="mwsid"
class="org.springframework.ws.wsdl.wsdl11.SimpleWsdl11Definition">
<constructor-arg value="classpath:/resources/xwebservice/spring-ws.wsdl"/>
</bean>
And here is what my wsdl file looks like, this is the name spring -ws.wsdl
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://www.mywebsite.com/xml/webservice"
schemaLocation="/resources/xwebservice/schemas/Request.xsd"/>
</xsd:schema>
This cannot find the request.xsd scheme when I try to access my web service using a soap client (soapUI), showing the wsdl url which is:
http://localhost:8080/mwp/mws/mwsid.wsdl
wsdl schema -, ? wsdl URL-, .