• ARCC
  • NEWBIE
  • 35 Points
  • Member since 2012

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies

Hi Folks,

 

I'm using Developer edition.

 

I'm trying generate apex classes from WSDl but it throws following exception:

WSDL location: http://www.ezzylearning.com/services/EmailValidationService.asmx?wsdl

 

 

Error: Method does not exist or incorrect signature: WebServiceCallout.invoke(wwwEzzylearningComServicesEmailvalid.EmailValidationServiceSoap, wwwEzzylearningComServicesEmailvalid.ValidateEmail_element, MAP<String,wwwEzzylearningComServicesEmailvalid.ValidateEmailResponse_element>, LIST<String>) at 25:13

 

Similarly  i tried for other sample WSDL but it still throws same exception.

Other wsdl:http://ws.strikeiron.com/relauto/iplookup?WSDL

 

 

Any help appreciated.

 

Thanks in advance.

 

 

I am trying to consume the webservice.. when importing wsdl file, i am getting the following error. Error : Failed to parse wsdl: Found more than one wsdl:binding. WSDL with multiple binding not supported.

 

Please help me out to rectify this problem.

Thanks in advance.

Hi all,

I am trying to create the apex class from WSDL The created class contains error like following

 

Error: Compile Error: Method does not exist or incorrect signature: WebServiceCallout.invoke(tempuriOrg1.ServiceSoap, tempuriOrg1.HelloWorld_element, MAP<String,PackageTesting.tempuriOrg1.HelloWorldResponse_element>, LIST<String>) at line 22 column 13

 

Created class

---------------------

 

 //Generated by wsdl2apex

public class tempuriOrg1 {
    public class HelloWorld_element {
        private String[] apex_schema_type_info = new String[]{'http://tempuri.org/','true','false'};
        private String[] field_order_type_info = new String[]{};
    }
    public class ServiceSoap {
        public String endpoint_x = 'http://173.15.158.230/webservice/Service.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://tempuri.org/', 'tempuriOrg1'};
        public String HelloWorld() {
            tempuriOrg1.HelloWorld_element request_x = new tempuriOrg1.HelloWorld_element();
            tempuriOrg1.HelloWorldResponse_element response_x;
            Map<String, tempuriOrg1.HelloWorldResponse_element> response_map_x = new Map<String, tempuriOrg1.HelloWorldResponse_element>();
            response_map_x.put('response_x', response_x);
            WebServiceCallout.invoke(
              this,
              request_x,
              response_map_x,
              new String[]{endpoint_x,
              'http://tempuri.org/HelloWorld',
              'http://tempuri.org/',
              'HelloWorld',
              'http://tempuri.org/',
              'HelloWorldResponse',
              'tempuriOrg1.HelloWorldResponse_element'}
            );
            response_x = response_map_x.get('response_x');
            return response_x.HelloWorldResult;
        }
    }
    public class HelloWorldResponse_element {
        public String HelloWorldResult;
        private String[] HelloWorldResult_type_info = new String[]{'HelloWorldResult','http://www.w3.org/2001/XMLSchema','string','0','1','false'};
        private String[] apex_schema_type_info = new String[]{'http://tempuri.org/','true','false'};
        private String[] field_order_type_info = new String[]{'HelloWorldResult'};
    }
}


My WSDL URL IS:  http://173.15.158.230/webservice/Service.asmx?WSDL

 

what is the problem in the code.Give me the solution for this problem.

 

thanks

sathish