Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
https://developer.salesforce.com/trailhead/module/apex_integration_services
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.
https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/
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).