You need to sign in to do that
Don't have an account?
ken_dev
APEX Class Webservice keyword
Has anyone been successful calling webservice methods?
I added the webService keyword to the methods i wanted to expose. I created a WSDL and generated a Web Reference (in .NET).
When i attempt to call the webmethod i get: INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session error.
Are these web services locked down? There is NO login methods available through the webreference like the SalesForce enterprise API.
How would I authenticate to call my custom web method?
thanks,
ken
I added the webService keyword to the methods i wanted to expose. I created a WSDL and generated a Web Reference (in .NET).
When i attempt to call the webmethod i get: INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session error.
Are these web services locked down? There is NO login methods available through the webreference like the SalesForce enterprise API.
How would I authenticate to call my custom web method?
thanks,
ken
Hi There,
Can you please suggest how can i pass username/password/token to the webservice method?
I mean there is no seperate Login mehod in apex to do the authentication in the apex class. Then how can i achieve the handshake when i call my apex webservice method from outside salesforce?
Many thanks in advance!
Cool_D
Thanks a ton Simon!!
I will try out these options.
Almost everytime, you come to people's rescue
Simpy Great!! Cool_D