Initially i had a webservice interface with only one public method.
say for eg:
public int add(int x,int y)
I generated the WSDL file using the shorcuts available in IDE,I found that theres is a request and a response entry in WSDL and i am successfully able to call webservice and got the ouput.
I tried the following,
I placed 2 public methods in the webservice interface,say i added extra public method ,
public String customerStatement(String membername);
Now there are 2 public methods in webservice interface.
when i tried to create the WSDL file using the shortcuts,I found that the WSDL file had only single request and response which i got it previously when i had a single method in Web service interface.I want to know why there is no entry of request and response for the second method.
Please let me know what has to be done?
My objective is to perform 2 operation in webservice ie depending upon the input from the client,the call has to be made to corresponding methods in webservice ie if the iput parameters are int x,int y call the add method in webservice.If the input from client is string membershipno,call the customerStatement method in webservice.
Is my objective is possible by using a single WSDL file?