function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mallik Vemugunta 5Mallik Vemugunta 5 

Adding external JAR files into salefroce

I want to add external JAR files into salesforce to do API call, unfortunately they do not have WSDL.

Thanks,
Mallik
Mudasir WaniMudasir Wani
Hi Mallik Vemugunta,

You can upload your file as static resource 
Refer to the below link for creating the same.
https://www.salesforce.com/docs/developer/pages/Content/pages_resources_create.htm

Remember you can refer them in Visualforce.
I am not aware of any method in apex where you can use them.
To access them in visualforce page you can refer them as follows

https://www.salesforce.com/docs/developer/pages/Content/pages_resources_reference.htm

Donot forget to select best answer to make our efforts visible in the developer forum.
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help
Anant KamatAnant Kamat
@Mallik Vemugunta 5 - Were you able to add a JAR file as static resource and access the methods of the classes which are part of the JAR file. Please let me know the details since I am stuck in a similar situation.