+ Start a Discussion
Chenna4a2Chenna4a2 

validation

Hi All,

 

I need to send request from salesforce side & need to get response. Below is the class generated from WSDL. ???

 

Please help me out.. thanks in advance..............

 

 

public class hyderabadcom {
public class GUGUWSSoap {
public String endpoint_x = 'http://ws.est.com/GUGUWS.asmx';
public Map<String,String> inputHttpHeaders_x;
public Map<String,String> outputHttpHeaders_x;
public String clientCertName_x;
public String clientCert_x;
public String clientCertPasswd_x;
public Integer timeout_x;
private String[] ns_map_type_info = new String[]{'http://ws.test.com/', 'hyderabadcom'};
public String getgugudata() {
hyderabadcom.getgugudata_element request_x = new hyderabadcom.getgugudata_element();
hyderabadcom.getgugudataResponse_element response_x;
Map<String, hyderabadcom.getgugudataResponse_element> response_map_x = new Map<String, hyderabadcom.getgugudataResponse_element>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://ws.test.com/getgugudata',
'http://ws.test.com/',
'getgugudata',
'http://ws.test.com/',
'getgugudataResponse',
'hyderabadcom.getgugudataResponse_element'}
);
response_x = response_map_x.get('response_x');
return response_x.getgugudataResult;
}
}
public class getgugudata_element {
private String[] apex_schema_type_info = new String[]{'http://ws.test.com/','true','false'};
private String[] field_order_type_info = new String[]{};
}
public class getgugudataResponse_element {
public String getgugudataResult;
private String[] getgugudataResult_type_info = new String[]{'getgugudataResult','http://ws.test.com/',null,'0','1','false'};
private String[] apex_schema_type_info = new String[]{'http://ws.test.com/','true','false'};
private String[] field_order_type_info = new String[]{'getgugudataResult'};
}
}

SRKSRK

there is a method named as "getgugudata()"
can you please let me know what is the result when you call this method

 

you can  try this in developer console to run that method 

 

hyderabadcom Obj = new hyderabadcom ();

System.debug('#@!#@!#@!#@!#@!#@!'+Obj.getgugudata());