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
rajeshtrajesht 

how to get APEX WSDL file

    Hi Folks,
                   
                        I have  a WSDL file ,when i gernerate a  class files from this it's geberated 21 classes and i want to run the following example which include import as follows(it is a example from apex code development pdf document):

package com.doc.samples;
import java.io.*;
import java.rmi.RemoteException;
import javax.xml.rpc.ServiceException;
import com.sforce.soap.enterprise.*;
import com.sforce.soap.enterprise.fault.ExceptionCode;
import com.sforce.soap.enterprise.fault.LoginFault;
import com.sforce.soap.enterprise.sobject.Contact;

the imports which are in red not recogined bcz these classes are not in the jar file which i have extracted from WSDL file So what iam thinking is may be i have a wrong apex wsdl file , so can any one suggest me to download the correct apex wsdl file  to generate all classes include which are marked in red! i have a 1 month subscription developer account.


Regards,
Rajeshwar.
bs2bs2
get enterprise or partner wsdl and include in classpath.