You need to sign in to do that
Don't have an account?
nagnk
SOAP Web services calling WSDL generating classes
HI,
i consumed the WSDL file external system WSDL,generated 5 Apex classes classes what is next steps and how to write invoking class using these classes please give solution
Thanks in advance...
i consumed the WSDL file external system WSDL,generated 5 Apex classes classes what is next steps and how to write invoking class using these classes please give solution
Thanks in advance...
WSDL2Apex also hard codes the endpoint based on your WSDL, so if you need to point the code to a sandbox environment for testing, then you'll need to configure the endpoint along with any headers your webservice needs.
Lastly, WSDL2Apex does NOT generate test classes, so you'll need to create those prior to deploying your Apex to production.
This link has a bit more info too: https://developer.salesforce.com/page/Apex_Web_Services_and_Callouts
All Answers
WSDL2Apex also hard codes the endpoint based on your WSDL, so if you need to point the code to a sandbox environment for testing, then you'll need to configure the endpoint along with any headers your webservice needs.
Lastly, WSDL2Apex does NOT generate test classes, so you'll need to create those prior to deploying your Apex to production.
This link has a bit more info too: https://developer.salesforce.com/page/Apex_Web_Services_and_Callouts