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

how to use .jar file in sales force?

hai friends

i created a webservices class,for that i genarated wsdl file from this file i created .jar file ok fine.
now i want to give this jar file to another user he can use what ever the class,method that are in .jar file ,any one guide me please urgent
Is your other friend also using Salesforce? if yes, he can get the WSDL from the .jar file and consume it in his Salesforce ORG to create the APEX class:

Hope I understood your requirment correctly..
i tried like that from another account user but getting this error when trying to run visual force page

"Web service callout failed: WebService returned a SOAP Fault: INVALID_SESSION_ID: Invalid Session ID

found in SessionHeader: Illegal Session. Session not found, missing session key: 00Di0000000kkkT!

ASAAQFIebFBozH.WTpLbnF3AMIzOJCT8br4WGe3FS.8FDtYcLxO30M_d9yKQY0KBFkbKDiFINIvAnaFVkLG_nFcu1e.Wpydv This is

expected, it can happen if the session has expired and swept away, or if the user logs out, or if its

just someone trying to hack in. faultcode=sf:INVALID_SESSION_ID faultactor="
Is this something similar to this issue wheich the user has reported: