This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am developing WebService with axis. I want to publish a webservice in server.So I write a method:
See the above code ,the User Object! After publish this method to web, when client invoke this method,Axis will serialize the User object and deserialize the User object for us. I don't have to declared anything in deploy.wsdd. But if I change the method to the following :
I new an User object in this method, now Axis couldnd't deserialize the User object! It report an exception when client invoke this method:
So I add typeMapping in deploy.wsdd,But it is not useful ,Axis report that exception too. :-(
What's different between the two web service method? Why Axis couldn't deserialize the User Object in the second method? Thks! :roll: