You need to sign in to do that
Don't have an account?
Neeharika
Callout to external webserivce
Hi,
Can someone help me with 'how to perform a callout to an external webservice from salesforce'.
Say I have got the WSDL. I generate Apex classes from it. Then what next?
How can I perform a call out? How to build the HTTP request? Please help me out!
Paste the sample code if possible. That would be helpful.
Thanks in Advance.
Hi,
I hope this can help you.
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_callouts.htm
And you can sent HTTP request like this:
Thanks a lot.
Similar case, I have generated the Apex Class by parsing the .net WSDL file. (wsdl2apex)
How do I use this generated apex class? This is a SOAP request, not by HTTP request. How do I instantiate this class in another class to make callouts to the external webserivce?
Please let me know.
Thanks!