How to Determine the WSDL that will be Emitted for a Given Java Web Service?

Posted by guptamukul on Stack Overflow See other posts from Stack Overflow or by guptamukul
Published on 2010-02-08T15:39:39Z Indexed on 2010/03/27 4:03 UTC
Read the original article Hit count: 263

Filed under:
|
|
|

Please tell me how to write wsdl file of service developed in java. For example:

package fromjava.server;

import javax.jws.WebService;
import javax.jws.WebMethod;

@WebService
public class AddNumbersImpl {

  @WebMethod(action="addnumbers")
  public int addNumbers(int number1, int number2) {
    return (number1+number2);
  }
}

this is a web service....so what will be the corresponding wsdl file? if u guys have any tutorial then please help me out.

© Stack Overflow or respective owner

Related posts about wsdl

Related posts about web-services