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
srilakshmi1.387861669756762E12srilakshmi1.387861669756762E12 

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
Sonam_SFDCSonam_SFDC
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:
http://help.salesforce.com/HTViewHelpDoc?id=code_wsdl_to_package.htm&language=en_US

Hope I understood your requirment correctly..
srilakshmi1.387861669756762E12srilakshmi1.387861669756762E12
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="
Sonam_SFDCSonam_SFDC
Is this something similar to this issue wheich the user has reported:
http://salesforce.stackexchange.com/questions/29279/callout-error-invalid-session-id