You are on page 1of 2

Implementing the basic web service Demo

Server class for reply

package qwert; public class Axis2Hello { public String RUDER(String u) { return u + "Yes i m @Server.."; } }

Client Class for calling the service .

package qwert; import qwert.Axis2HelloStub.RUDER; import qwert.Axis2HelloStub.RUDERResponse;;

public class ClientRUDER { public static void main(String[] args)throws Exception {

Axis2HelloStub stt=new Axis2HelloStub(); RUDER reqt = new RUDER(); reqt.setU("GPise");

RUDERResponse res=stt.rUDER(reqt); System.out.println(res.get_return());

You might also like