2 Replies Latest reply: Jul 30, 2012 2:04 AM by A. T. RSS

Control-M not able to pass values to Webservice

A. T.

Hi All,

 

I created below webservice usign Netbeans.

*************************************************************

 

@WebService()

public class AddNumbersImpl {

      @WebMethod(operationName = "getName")

    public String getName(@WebParam(name = "FName")

    String FName, @WebParam(name = "LName")

    String LName) {

        String FullName = FName + LName;

        return FullName;

    }

}

 

*************************************************************

 

and configured the same in BMC Control-M

ctm.jpg

In above screen I passed values for variable "FName" as "qq"  and for variable "LName" as "dd"

 

Query:

     While executing the control-m job, Webmethod "getName"  is not receiving any values from Control-M.

But after execution of Webmethod, Control-M correctly fetch the "Return" value and displys it into the sysout.

 

Regards,

Arjun.