Results 1 to 3 of 3
  1. #1
    priyapavithra is offline Member
    Join Date
    Jan 2011
    Posts
    2
    Rep Power
    0

    Post how is call web method in application?.

    Hi,
    I have created java web application.
    I want to call the setName() method in java application.
    how is call web method in application?.

    package sv;

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

    @WebService()
    public class MyService {

    @WebMethod(operationName = "setName")
    public String setName(@WebParam(name = "name")
    String name) {

    return "my string is "+ name;
    }
    }

  2. #2
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    449
    Rep Power
    6

    Default

    Was not able to get you. If possible, explain a bit more.
    Mak
    (Living @ Virtual World)

  3. #3
    priyapavithra is offline Member
    Join Date
    Jan 2011
    Posts
    2
    Rep Power
    0

    Default

    hi

    please watch the video. i have not get result from follow this instructions.
    YouTube - NetBeans 6.7.1 - How to create a web service?.
    any other solution is there?
    Last edited by priyapavithra; 01-04-2011 at 10:31 AM.

Similar Threads

  1. call a JSP method
    By sauravsinha in forum JavaServer Pages (JSP) and JSTL
    Replies: 4
    Last Post: 09-26-2011, 04:19 PM
  2. Inner class method call
    By d915172 in forum New To Java
    Replies: 3
    Last Post: 11-11-2010, 09:40 PM
  3. Trying to call a method from sub class
    By TheNewGuy in forum New To Java
    Replies: 4
    Last Post: 10-17-2010, 07:08 AM
  4. how to call method?
    By leapinlizard in forum New To Java
    Replies: 9
    Last Post: 04-29-2009, 11:55 PM
  5. cannot call private method from static method
    By jon80 in forum New To Java
    Replies: 3
    Last Post: 05-07-2008, 08:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •