Java Webservice Client (Best way) Ask Question Asked 9 years, 9 months ago. Active 1 year, 10 months ago. Viewed 105k times 82. 71. I have a third party WSDL, I need to write code in Java for a web service client to invoke the operations in the third party WSDL. Right now, I have generated the client stub using the WSDL2JAVA tool from Axis and used the XMLbeans for data binding. What is the.