injection of property in xml fails (spring-ws config)

后端 未结 1 499
迷失自我
迷失自我 2021-01-23 06:10

i\'m using Spring-WS and have the following spring-ws-servlet.xml file. The injection of defaultURI and marshaller doesn\'t work because when i get to the method in the client o

1条回答
  •  情歌与酒
    2021-01-23 06:53

    Are you new'ing the SpringWSClient instance in your code?

    Also, for the streetDao, you shouldn't need to use SpringUtils.getBean. Instead, it should be a field annotated with @Autowired (or @Resource).

    0 讨论(0)
提交回复
热议问题