开发者

I changed the web service declaration and then wsimport says that I have a repeated message

开发者 https://www.devze.com 2022-12-27 19:48 出处:网络
I had a Web service method working fine on Tomcat as deployed by Netbeans 6.8. Then I had to add a new parameter for the same method so I erased the method and then ad开发者_如何学Pythonded a new one

I had a Web service method working fine on Tomcat as deployed by Netbeans 6.8. Then I had to add a new parameter for the same method so I erased the method and then ad开发者_如何学Pythonded a new one with the same name but different parameters.

After that, ws-import keeps on telling me that I have duplicated messages for such method, and if I remove the new one, the WSDL will still show me the old one with the old parameter list.

How do I get rid of the old one?

thanks in advance.


This is a bit embarrasing. It happened to me again but then I realized I hadn't restart my Tomcat server. It worked.

Thanks anyway.

0

精彩评论

暂无评论...
验证码 换一张
取 消