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
Sonali TannaSonali Tanna 

How to generate SOAP webservice class?

Praveen KHariPraveen KHari
This trialhead will help you. https://developer.salesforce.com/trailhead/module/apex_integration_services

https://developer.salesforce.com/trailhead/module/apex_integration_services
Praveen KHariPraveen KHari
This will help you to create WSDL from Apex class.

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_web_services_methods.htm

Your class should be global and method with webservice keyword.
 
Francis Gerard AlcalaFrancis Gerard Alcala
There is a sample web service client application provided by salesforce here:
https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/
Daniel BallingerDaniel Ballinger
Can you share the WSDL in question?

In some cases the native Salesforce WSDL2Apex doesn't support all the features used in the WSDL. There are several options in this case, such as modifying the WSDL by hand, or updating the open source WSDL2Apex (https://developer.salesforce.com/blogs/engineering/2014/09/announcing-open-source-wsdl2apex-generator.html) project.

I've also made an alternative version that can handle a few more features. See FuseIT SFDC Explorer (http://www.fuseit.com/explorer).