• Hyperic WebDev
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies
I am new to Salesforce and Java developement. I created a jsp page and used the sf api's. Its running on my locathost but not on the prod server. I am getting the following error:
 
org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
The import com.sforce.soap.enterprise.SoapBindingStub cannot be resolved

Urgent help is appreciated.
Hi,
 
Could anyone let me know what's the sample code for login into SalesForce.com using the web service API version 7.0?
 
Right now, in the salesforce.com web site, I am able to download the partner.wsdl version 7.0.
The sample code given in PartnerSamples.java for API version 7.0 is using the following code:
 
 binding = (SoapBindingStub) new SforceServiceLocator().getSoap();
 
But, there is no SforceServiceLocator java class or object in the stubs generated from partner.wsdl version 7.0. Am I missing something?
 
My requirments:
 
1. Login into the salesforce.com using web service api version 7.0.
2. Query for opportunities
3. Import the opportunities.
4. Import the related customer accounts and contacts.
 
 
Thanks a lot in advance
 
Thanks,
SFWSDeveloper