You need to sign in to do that
Don't have an account?
priyankasingla3101.3916265522429534E12
Generating salesforce wsdl that contains custom app operations
Hi
I installed some apps in my salesforce account from appExchange. These apps provides me some operations, for example, there is one app which provides some operations e.g. mass update, mass delete etc.
But when I generate enterprise/partner WSDL, I cannot see these custom operations that are provided by any installed apps. Enterprise/partner WSDL pnly contains the standard salesforce operations.
Is there any way to include these operations in enterprise/partner WSDL, or to generate a custom WSDL that contains these custom operations?
I installed some apps in my salesforce account from appExchange. These apps provides me some operations, for example, there is one app which provides some operations e.g. mass update, mass delete etc.
But when I generate enterprise/partner WSDL, I cannot see these custom operations that are provided by any installed apps. Enterprise/partner WSDL pnly contains the standard salesforce operations.
Is there any way to include these operations in enterprise/partner WSDL, or to generate a custom WSDL that contains these custom operations?
There is an extra step involved when you need to include managed package functionality in your WSDL. Please see this documsntation for more information: https://help.salesforce.com/apex/HTViewHelpDoc?id=dev_wsdl_enterprise_version.htm&language=en_US
If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.
Thanks,
Shashank
Thanks for your reply.
I followed the same steps to generate the enterprise WSDL, but I can see only custom fields and custom objects provided by that app in the generated WSDL. I want to include the custom operations provided by that app in my enterpise WSDL, but I can see only standard operations in the WSDL file. Is there any way to add those operations in the enterprise WSDL, or to generate a custom WSDL that contains those operations?
Thanks
Priyanka
When you go to Setup | Develop | API, and click on "Generate Enterprise WSDL", do you see a screen where you have a list of your managed packages and you have to select a version number for each of these packages? Once you select the version numbers and click on "Generate", they should be included in the WSDL.
Thanks,
Shashank
But I cannot see the custom operations in the WSDL.
Note the following in your generated enterprise WSDL:
Each of your managed package version selections is included in a comment at the top of the WSDL.
The generated WSDL contains the objects and fields in your organization, including those available in the selected versions of each installed package. If a field or object is added in a later package version, you must generate the enterprise WSDL with that package version to work with the object or field in your API integration.
The SOAP endpoint at the end of the WSDL contains a URL with a format ofserverName/services/Soap/c/api_version/ID where api_version is the version of the API, such as 30.0, and IDencodes your package version selections when you communicate with Salesforce.
Is there any other way to achieve the same?
When you say operations, do you mean the classes which are part of the managed package?
I've attached a screenshot of the same.
Here I've highlighted the operations that are provided by this particular app. Eg, Mass Delete operations works on Opportunity object. I want to include these operations in enterprise WSDL. Please help!
for example, if you click on Mass Delete button, it will delete multiple records which you'll select to delete.
This managed app has provided this Mass update/Mass delete functionality in the form of buttons, hence I can use this functionality/operation only through GUI. If it would come as an operation in the enterprise WSDL, I'd be able to use it using a webservice call as well.
I'll try to generate APEX WSDL from the classes provided by this app, and check if it is coming in that WSDL or not.
Thanks a lot.
I am not able to generate an APEX WSDL from the classes provided by the managed app. The Classes are not defined as global, hence I am not able to see the code.
Thanks