Skip to main content
Post Closed as "Duplicate" by David Cheng, glls, Vijay Ganji, identigral, Dave Humm
added 4 characters in body
Source Link
cropredy
  • 73.3k
  • 8
  • 128
  • 284

I am not able to call this method in my test class:

WebServiceCallout.invoke(

WebServiceCallout.invoke(

          this,
          request_x,
          response_map_x,
          new String[]{endpoint_x,
          'https://www.imed.com.ar/Producto',
          'https://www.imed.com.ar/',
          'Producto',
          'https://www.imed.com.ar/',
          'ProductoResponse',
          'wwwImedComAr.ProductoResponse_element'}

I am not able to call this method in my test class:

WebServiceCallout.invoke(

          this,
          request_x,
          response_map_x,
          new String[]{endpoint_x,
          'https://www.imed.com.ar/Producto',
          'https://www.imed.com.ar/',
          'Producto',
          'https://www.imed.com.ar/',
          'ProductoResponse',
          'wwwImedComAr.ProductoResponse_element'}

I am not able to call this method in my test class:

WebServiceCallout.invoke(

          this,
          request_x,
          response_map_x,
          new String[]{endpoint_x,
          'https://www.imed.com.ar/Producto',
          'https://www.imed.com.ar/',
          'Producto',
          'https://www.imed.com.ar/',
          'ProductoResponse',
          'wwwImedComAr.ProductoResponse_element'}
Source Link
Ram
  • 1
  • 3

How to call this method from web service in my test class

I am not able to call this method in my test class:

WebServiceCallout.invoke(

          this,
          request_x,
          response_map_x,
          new String[]{endpoint_x,
          'https://www.imed.com.ar/Producto',
          'https://www.imed.com.ar/',
          'Producto',
          'https://www.imed.com.ar/',
          'ProductoResponse',
          'wwwImedComAr.ProductoResponse_element'}