• jacksonp2008
  • NEWBIE
  • 0 Points
  • Member since 2012

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

Following the excellent vid:  http://www.youtube.com/watch?v=tK2CiLb5vgc&feature=player_embedded

 

And these instructions for Java http://wiki.developerforce.com/page/Introduction_to_the_Force.com_Web_Services_Connector

 

I get this error...

 

C:\Documents and Settings\spollock\workspace>java -classpath wsc-18.jar com.sfor
ce.ws.tools.wsdlc enterprise.wsdl enterprise.jar
[WSC][wsdlc.run:311]Created temp dir: C:\DOCUME~1\spollock\LOCALS~1\Temp\wsdlc-t
emp-6823038187248261205-dir
Exception in thread "main" com.sforce.ws.wsdl.WsdlParseException: Parse error: e
nterprise.wsdl (The system cannot find the file specified)
at com.sforce.ws.wsdl.WsdlFactory.create(WsdlFactory.java:61)
at com.sforce.ws.tools.wsdlc.<init>(wsdlc.java:75)
at com.sforce.ws.tools.wsdlc.run(wsdlc.java:311)
at com.sforce.ws.tools.wsdlc.main(wsdlc.java:302)
Caused by: java.io.FileNotFoundException: enterprise.wsdl (The system cannot fin
d the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.sforce.ws.wsdl.WsdlFactory.create(WsdlFactory.java:58)
... 3 more

 

What step did I miss?

Following the excellent vid:  http://www.youtube.com/watch?v=tK2CiLb5vgc&feature=player_embedded

 

And these instructions for Java http://wiki.developerforce.com/page/Introduction_to_the_Force.com_Web_Services_Connector

 

I get this error...

 

C:\Documents and Settings\spollock\workspace>java -classpath wsc-18.jar com.sfor
ce.ws.tools.wsdlc enterprise.wsdl enterprise.jar
[WSC][wsdlc.run:311]Created temp dir: C:\DOCUME~1\spollock\LOCALS~1\Temp\wsdlc-t
emp-6823038187248261205-dir
Exception in thread "main" com.sforce.ws.wsdl.WsdlParseException: Parse error: e
nterprise.wsdl (The system cannot find the file specified)
at com.sforce.ws.wsdl.WsdlFactory.create(WsdlFactory.java:61)
at com.sforce.ws.tools.wsdlc.<init>(wsdlc.java:75)
at com.sforce.ws.tools.wsdlc.run(wsdlc.java:311)
at com.sforce.ws.tools.wsdlc.main(wsdlc.java:302)
Caused by: java.io.FileNotFoundException: enterprise.wsdl (The system cannot fin
d the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.sforce.ws.wsdl.WsdlFactory.create(WsdlFactory.java:58)
... 3 more

 

What step did I miss?

Good day every one. i am the newest of saleforce. i've got a problem that cant be resolved and need help from all of you. my problem is:
when i try to excecute query for queryresult i got the following msg:
"Invalid element in com.sforce.soap.enterprise.sobject.SObject - type"
how may i  resovle this error.!
pls.....help me.:mansad:

PoorMan.