You need to sign in to do that
Don't have an account?
![john3 john3](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
error on webservices
Hi i am new apex and web services.
i am trying to getresponse from webserivces but i am getting error like below,
System.NullPointerException: Attempt to de-reference a null object
Class.smk.tempuriOrgTaxwareserviceTaxwareservic.TaxwareServiceSoap.OpenFiles: line 114, column 41 Class.smk.openfiledemo.getresponse: line 18, column 12 External entry point
and my class is
public class openfiledemo{
Account acc;
tempuriOrgTaxwareserviceTaxwareservic.TaxwareServiceSoap stub =
new tempuriOrgTaxwareserviceTaxwareservic.TaxwareServiceSoap();
String response;
public openfiledemo(ApexPages.StandardController stdcontroller){
this.acc = (Account)stdController.getRecord();
}
public String getresponse(){
response = stub.OpenFiles();
system.debug('Test Reponse>>>>>>>>>>>>>>>>>>>>>>>'+response);
return response;
}
}
and wsdl class line 114 is
system.debug('output is>>>>>>>>>>'+ response_x.OpenFilesResult);
thank you