File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Optional fields added in WSDL. Does the Client need to be recompiled? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Optional fields added in WSDL. Does the Client need to be recompiled?" Watch "Optional fields added in WSDL. Does the Client need to be recompiled?" New topic
Author

Optional fields added in WSDL. Does the Client need to be recompiled?

Raghu Medipalli
Greenhorn

Joined: May 17, 2005
Posts: 2
Can someone tell me if I need to recompile a webservice client when the WSDL changes such that new OPTIONAL fields are added? The server is deployed with new WSDL related skeletons but can the client run without any problems if it is still run based on the stubs generated from the older version of WSDL (which does not have those new optional fields)?

Thanks in advance.
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
What happens if the server supplies that options fields to the client ??


Spritle Software Blogs
 
 
subject: Optional fields added in WSDL. Does the Client need to be recompiled?
 
Threads others viewed
a new method is added to the old wsdl file causing issue
Apache CXF generic client - JAX-WS or wsdl2java stubs?
WSDL consumption
Adding new element to exising xsd and not generate client stub throwing exception in Apache Axis1.
WSDL - two in one
IntelliJ Java IDE