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
JconAdminJconAdmin 

Adding Login tags to Webservice class WSDL

I am new to SFDC integration code.  I wrote a basic webservice class in APEX and exported the WSDL.  I understand that I'll need a login call to obtain a session id.

 

Is there a way to add login tags to the class WSDL so that I can use just one WSDL file in the external system?

 

If so what tags can I add to the class WSDL header or body?

 

Thanks in advance.

Best Answer chosen by Admin (Salesforce Developers) 
SuperfellSuperfell
No, you'll need to call login using the partner or enterprise WSDLs.

All Answers

SuperfellSuperfell
No, you'll need to call login using the partner or enterprise WSDLs.
This was selected as the best answer
pokpokpalayokpokpokpalayok

SimonF,

 

im trying the samething in palm mojo, any suggestion how do i use the partner WSDL?