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
alokmishrajaipuralokmishrajaipur 

classes from enterprie wsdl

Hi,

 

I am working on Enterprise WSDL and I took WSDL from SFDC platform,

 

I am getting the following error while generating apex classes from WSDL : 

 

Error: sobjectEnterpriseSoapSforceCom


Error: Invalid type: enterpriseSoapSforceCom.QueryResult at 40:16


Error: enterpriseSoapSforceCom


Error: unexpected token: 'delete' at 507:54


please suggest the solution.

 

Thanks,

Suman NMSuman NM

Hi All,

 

       I am facing same issue while generating apex classes

       using valid entriprise wsdl taken from developer salesforce.

 

       Kindly suggest on this.

 

Regards,

Suman NM

SuperfellSuperfell

The enterprise & partner WSDL both use features of xml schema that are not supported by wsdl2apex, so you won't be able to get that to work.

Suman NMSuman NM

Hi Simon,

 

          I tried hard to figure out the problem, but could not.

          Finally, thanks for the reply.

 

          If wsdl2apex does't support xml format then what could

          be the other way getting apex classes.         

 

          Can you suggest me on ways to get apex classes

          containg methods to update a record in accounts.

 

Regards,

Suman NM

JieMeJieMe
hi Suman,the problem was resolved?
JieMeJieMe
Hi the problem was resolved?How