Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.CalloutException: Web service callout failed: Unable to parse callout response. Apex type not found for element customizeSetup #284

Open
juanjonac opened this issue Jun 8, 2022 · 0 comments

Comments

@juanjonac
Copy link

I'm facing this error when I try to read the metadata of a permission set with version 42 of the api, I can't find what you may be missing and I can't identify how to solve it
these are the classes :
public class PermissionSet extends Metadata {
public String type = 'PermissionSet';
public String fullName;
private String[] fullName_type_info = new String[]{'fullName',SOAP_M_URI,null,'0','1','false'};
public StrongpointMdtServ.PermissionSetApplicationVisibility[] applicationVisibilities;
public StrongpointMdtServ.PermissionSetApexClassAccess[] classAccesses;
public StrongpointMdtServ.PermissionSetCustomPermissions[] customPermissions;
public String description;
public StrongpointMdtServ.PermissionSetExternalDataSourceAccess[] externalDataSourceAccesses;
public StrongpointMdtServ.PermissionSetFieldPermissions[] fieldPermissions;
public Boolean hasActivationRequired;
public String label;
public String license;
public StrongpointMdtServ.PermissionSetObjectPermissions[] objectPermissions;
public StrongpointMdtServ.PermissionSetApexPageAccess[] pageAccesses;
public StrongpointMdtServ.PermissionSetRecordTypeVisibility[] recordTypeVisibilities;
public StrongpointMdtServ.PermissionSetTabSetting[] tabSettings;
public StrongpointMdtServ.PermissionSetUserPermission[] userPermissions;
private String[] applicationVisibilities_type_info = new String[]{'applicationVisibilities',SOAP_M_URI,null,'0','-1','false'};
private String[] classAccesses_type_info = new String[]{'classAccesses',SOAP_M_URI,null,'0','-1','false'};
private String[] customPermissions_type_info = new String[]{'customPermissions',SOAP_M_URI,null,'0','-1','false'};
private String[] description_type_info = new String[]{'description',SOAP_M_URI,null,'0','1','false'};
private String[] externalDataSourceAccesses_type_info = new String[]{'externalDataSourceAccesses',SOAP_M_URI,null,'0','-1','false'};
private String[] fieldPermissions_type_info = new String[]{'fieldPermissions',SOAP_M_URI,null,'0','-1','false'};
private String[] hasActivationRequired_type_info = new String[]{'hasActivationRequired',SOAP_M_URI,null,'0','1','false'};
private String[] label_type_info = new String[]{'label',SOAP_M_URI,null,'1','1','false'};
private String[] license_type_info = new String[]{'license',SOAP_M_URI,null,'0','1','false'};
private String[] objectPermissions_type_info = new String[]{'objectPermissions',SOAP_M_URI,null,'0','-1','false'};
private String[] pageAccesses_type_info = new String[]{'pageAccesses',SOAP_M_URI,null,'0','-1','false'};
private String[] recordTypeVisibilities_type_info = new String[]{'recordTypeVisibilities',SOAP_M_URI,null,'0','-1','false'};
private String[] tabSettings_type_info = new String[]{'tabSettings',SOAP_M_URI,null,'0','-1','false'};
private String[] userPermissions_type_info = new String[]{'userPermissions',SOAP_M_URI,null,'0','-1','false'};
private String[] apex_schema_type_info = new String[]{SOAP_M_URI,'true','false'};
private String[] type_att_info = new String[]{'xsi:type'};
private String[] field_order_type_info = new String[]{'fullName', 'applicationVisibilities','classAccesses','customPermissions','description','externalDataSourceAccesses','fieldPermissions','hasActivationRequired','label','license','objectPermissions','pageAccesses','recordTypeVisibilities','tabSettings','userPermissions'};
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant