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
agabagab 

Problems with partner wsdl

Hello,
 
1.
I get the following error when trying to generate Apex code from the partner wsdl :
 

Error: partnerSoapSforceCom

Error: Script too large: //Generated by wsdl2apex

 
2.  So I selected the few classes that I needed -and removed the others- so that I am able to save the file. (and get it to compile)  Then I wrote my own Apex WebService method that makes a call to the login() method of the generated class., and I am calling my Apex WebService method from an S-Control.  Everything compiles but I get the following runtime error:
 
'System.CalloutException: Webservice callout failed: Unable to find apex schema info'
 
Has anyone experienced these errors? 
 
Thanks,
agab-
SuperfellSuperfell
It is not intended that you can use either the partner or enterprise WSDL's from apex.
agabagab

I see.  Thanks!

agab-