
Originally Posted by
Arjen Poutsma
The problem is that every incoming request is now handled by the spring-ws servlet. Including requests for the common.xsd.
So you need to change the servlet-mapping to something like:
Code:
<servlet-mapping>
<servlet-name>spring-ws</servlet-name>
<url-pattern>/services</url-pattern>
</servlet-mapping>
so that requests for normal files aren't handled by the servlet.
hi arjen
i'm facing the same problem
if i use the following:
Code:
<servlet-mapping>
<servlet-name>spring-ws</servlet-name>
<url-pattern>/xml/*</url-pattern>
</servlet-mapping>
i can reach my xsd's under the base url with a browser and the wsdl under the base url + /xml/
example:
http://localhost:8080/gtService/Localization.xsd
http://localhost:8080/gtService/xml/MasterData.wsdl
the problem is that the import statement in the generated wsdl points to the same directory - gives a 405 error.
example:
Code:
<import namespace="http://mycompany.com/Localization" schemaLocation="Localization.xsd"/>
should be:
Code:
<import namespace="http://mycompany.com/Localization" schemaLocation="../Localization.xsd"/>
so i can't create a client using axis or anything else.
any help would be great.