This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Web Services and the fly likes WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL" Watch "WSDL" New topic


B pandoo
Ranch Hand

Joined: Nov 14, 2006
Posts: 37
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?
I agree. Here's the link:
subject: WSDL
jQuery in Action, 3rd edition