Invalid wsdl generated by spring-ws when the request element doesn't end with 'Request'

前端 未结 5 1849
执念已碎
执念已碎 2021-02-13 14:08

I must prepare a webservice to accept anan already defined wsdl structure. I followed the tutorial found here, with source code for the test project downloadable here.

F

5条回答
  •  闹比i
    闹比i (楼主)
    2021-02-13 14:29

    Spring-WS automatic wsdl exposure feature is based on conventions described at http://docs.spring.io/spring-ws/site/reference/html/server.html#server-automatic-wsdl-exposure

    The tutorial you use as a starting point is using annotations instead of namespace, but there should be a way to specify requestSuffix and responseSuffix properties mentioned in the documentation. However I am afraid that you can not keep them blank.

    Alternatively you can expose manually written WSDL. I suggest to do that since you have wsdl given from the beginning.

提交回复
热议问题