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
Saniya Khan 2Saniya Khan 2 

Apex call to external services without wsdl

Hi All,
Is there any way to call external webservices without wsdl ?As some apex2wsdl desn't work.
If anyone have some examples please share.

Thanks,
Saniya
Khan AnasKhan Anas (Salesforce Developers) 
Hi Saniya,

Greetings to you!

Please refer to the below links which might help you further with the above requirement.

https://force201.wordpress.com/2010/05/20/when-generate-from-wsdl-fails-hand-coding-web-service-calls/

https://www.soapui.org/getting-started/rest-testing.html

https://www.jitendrazaa.com/blog/salesforce/consuming-external-webservice-in-apex/

https://salesforce.stackexchange.com/questions/117750/how-to-make-a-soap-web-service-callout-without-using-wsdl-in-salesforce

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas