This content has been marked as final.
Show 2 replies
-
1. Re: Genereate WSDL does contain information of static fields
spyhunter99 Apr 3, 2012 3:08 PM (in response to navighag)it doesn't work that way.
remove the static modifiers. everything exposed via web services need to have public getters/setters
try getting a sample wsdl file, then use wsimport or wsconsume and look at the generated code.
-
2. Re: Genereate WSDL does contain information of static fields
navighag Apr 3, 2012 4:32 PM (in response to spyhunter99)Thanks for your reply. I made the variables non static and generated getter and setter methods for it , WSDL was generated correctly. But my problem is , I cannot change the existing code. is there any other way to deal with it?