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
Daniel ThomsonDaniel Thomson 

is there any need to create the apex class from wsdl file

Hi

I am trying to integrate my website with salesforce.......please tell me that is there any need to create the the apex class from wsdl even i am using java files for connection.............

Best Answer chosen by Admin (Salesforce Developers) 
Ankit AroraAnkit Arora

If you are integrating java app with salesforce using WSDL, then you need to create class Setup > App Setup > Develop > Apex Class > Generate From WSDL 

 

 

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

All Answers

Ankit AroraAnkit Arora

If you are integrating java app with salesforce using WSDL, then you need to create class Setup > App Setup > Develop > Apex Class > Generate From WSDL 

 

 

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

This was selected as the best answer
Daniel ThomsonDaniel Thomson

Thanks for your help..........

 

I am trying to create the apex classes using wsdl file but getting an error after changing my apex classes names, in 3rd step.......

error is

 

Error

Apex Generation FailedUnsupported schema type: {http://www.w3.org/2001/XMLSchema}anyType
can u help me to resolve this..........
Thanks.........



Ankit AroraAnkit Arora

Not sure though, try changing "anyType" to "string" in your WSDL and generate the class.

 

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page