Question: why wsdl is used in jsp?
Answer: All that is required is a WSDL file. ... This class can be used to generate WSDL bindings for your application based upon a WSDL file created from nothing more than a Java interface. It creates the class for the web service with the required methods as defined by the Java interface.