You need to sign in to do that
Don't have an account?
Bhaskar S 20
Getting error when am trying to pull the other object datails...using soap api
System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: INVALID_TYPE: Unknown type:DeployMessage faultcode=sf:INVALID_TYPE faultactor=
please reply how can i resolve this error?
please reply how can i resolve this error?
May I suggest you please check the below link for reference.
- https://developer.salesforce.com/forums/?id=906F0000000BUayIAG
hope it helps.Thanks
Rahul Kumar
DeployMessage(https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deployresult.htm#DeployMessage) is part of the DeployDetails(https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deployresult.htm#deploy_details) response that the Metadata API returns.
So it would appear you are trying to call the Soap based Metadata API from Apex. If so, are you using the existing apex-mdapi(https://github.com/financialforcedev/apex-mdapi) library? It knows about DeployMessage.
Also, I would suggest to please double check API name o the object. if it is custom object then it should contain __c ending.
Hope this helps.
Kindly mark this as solved if the information was helpful.
Thanks,
Nagendra