You need to sign in to do that
Don't have an account?
Unable to parse callout response. Apex type not found for element SalesService
Hi , I am new to web services ... I am trying to consume a service and get the project details by calling a method from a WSDL generated class.
Here class SalesOffering is WSDL generated class and Service1Soap is inner class of SalesOffering. The method below GetProjectsForOpportunity('Sales','sdfsdfdfs','3453636') is defined in Service1Soap class. method takes 3 parameter and it should generate a proper response . I tried to consume this service in .NET and it was a success.
Here is the code which I used in System log to get results.
SalesOffering.Service1Soap obj = new SalesOffering.Service1Soap();
SalesOffering.GetProjectsForOpportunityResult_element ele =obj.GetProjectsForOpportunity('Sales','sdfsdfdfs','3453636');
System.debug(ele);
and I got the error - System.CalloutException: Web service callout failed: Unable to parse callout response. Apex type not found for element SalesService
Please help me. Thanks in advance ...
Hey , anyone has any thought ? suggestion ? Help needed on this urgently .....