• praccit
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

Hi, 

( I am new to salesforce )

 

Trying to create a simple ( sample ) web service app using "Enterprise WSDL" of my free developer's edition. ( ver 24.0)

 

Strange thing is SFDC Web Services Documentation lists the following import : 

 

import com.sforce.soap.enterprise.EnterpriseConnection; 

// ( i m using Java 1.6 ) 

 

but EnterpriseConnection is NOT FOUND in the wsdl ( if i am correct, it should be a complexType in the WSDL ) but it's not there and my eclipse IDE is complaining about it ( import could not be resolved ) All other classes are found 

 

I have also downloaded WSC 18,19,20 ( tried each of them separately ) but could not find the class there also. 

( I directly imported the jar file downloaded from the wsc web site ) 


I have simply copied the code from salesforce pdf ( Web Services API ) in the project. 

 

( In another project I was able to work correctly with the Metadata API ( created some custom objects thro api calls ) )

 

Please help me. 

Thanks a lot in advance ! :)

Hi, 

( I am new to salesforce )

 

Trying to create a simple ( sample ) web service app using "Enterprise WSDL" of my free developer's edition. ( ver 24.0)

 

Strange thing is SFDC Web Services Documentation lists the following import : 

 

import com.sforce.soap.enterprise.EnterpriseConnection; 

// ( i m using Java 1.6 ) 

 

but EnterpriseConnection is NOT FOUND in the wsdl ( if i am correct, it should be a complexType in the WSDL ) but it's not there and my eclipse IDE is complaining about it ( import could not be resolved ) All other classes are found 

 

I have also downloaded WSC 18,19,20 ( tried each of them separately ) but could not find the class there also. 

( I directly imported the jar file downloaded from the wsc web site ) 


I have simply copied the code from salesforce pdf ( Web Services API ) in the project. 

 

( In another project I was able to work correctly with the Metadata API ( created some custom objects thro api calls ) )

 

Please help me. 

Thanks a lot in advance ! :)