• Jeps
  • NEWBIE
  • 0 Points
  • Member since 2006

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 5
    Replies
Hi:
 
Where should I look into if I get "INVALID_CROSS_REFERENCE_KEY" on the error back?
 
 
 
Thanks,
 
Jay
  • June 19, 2006
  • Like
  • 0
Hi:
 
What API should I use to check if the Contact ID is still valid in Salesforce DB?
 
 
Thanks,
 
Jay
 
 
  • June 13, 2006
  • Like
  • 0
Hi:
 
I'm using create() API call sending sObjects[]  about 200 case objects at one call.  If there are any failed records. 
 
1) How do I determine which specific records failed to get created in Salesforce?
2) Is there are detailed  information about the failed record from the SaveResults object?
 
 
Thanks,
 
Jay
  • June 12, 2006
  • Like
  • 0
Need help:
 
Connection time out when running java app which calls the login() method from UNIX box. 
 
I tried to run it from my desktop using JUnit tests and it's working but not from the UNIX box
  • May 20, 2006
  • Like
  • 0
Hi:
 
I am getting errors on both SoapBindingImpl.java and SoapBindingSkeleton.java like:
 
type SoapBindingImpl must implement the inherited abstract method Soap.setPassword(ID,String)
type SoapBindingSkeleton must implement the inherited abstract method Soap.retrieve(String, String, ID[])
 
Let me know if you have a solution for this:
 
Thanks,
 
Jay
  • May 04, 2006
  • Like
  • 0
Hi:
 
I'm encountering errors during compilation time.  I'm using eclipse IDE running on jdk 1.4.2.
 
Two errors came up:
 
1)  "Too manay parameters, paramter Tools_Status__c is exceeding the limit of 255 words eligible for method parameters"
 
2)  "Too manay parameters, paramter vendio__c is exceeding the limit of 255 words eligible for method parameters"
 
Anyone encountered this before?
 
Let me know if you have a solution for this.
 
thanks,
 
jay

Message Edited by Jeps on 05-04-2006 02:44 PM

Message Edited by Jeps on 05-04-2006 02:45 PM

  • May 04, 2006
  • Like
  • 0
I'm encountering problem when i do wsdl2java command:
 
C:\ViewStore\jocabral_view2\InfoMgt\MACI\CPS\wsdl\Salesforce>java -classpath C:\
ViewStore\jon_view2\InfoMgt\MACI\CPS\lib\xercesImpl.jar;C:\ViewStore\jon
_view2\InfoMgt\MACI\CPS\lib\xml-apis.jar;C:\ViewStore\jon_view2\InfoMgt\M
ACI\CPS\lib\commons-discovery-0.2.jar;C:\ViewStore\jon_view2\InfoMgt\MACI\C
PS\lib\axis.jar;C:\ViewStore\jon_view2\InfoMgt\MACI\CPS\lib\commons-logging
-1.0.4.jar;C:\ViewStore\jon_view2\InfoMgt\MACI\CPS\libcommons-discovery-0.2
.jar;C:\ViewStore\jon_view2\InfoMgt\MACI\CPS\lib\jaxrpc.jar;C:\ViewStore\jon
_view2\InfoMgt\MACI\CPS\lib\saaj.jar;C:\ViewStore\jon_view2\InfoMgt\M
ACI\CPS\lib\wsdl4j-1.5.1.jar org.apache.axis.wsdl.WSDL2Java salesforce.wsdl
java.io.IOException: Emitter failure.  Invalid endpoint address in port Soap in
service SforceServiceLocator:  https://www.salesforce.com/services/Soap/c/7.0
        at org.apache.axis.wsdl.toJava.JavaServiceImplWriter.writeFileBody(JavaS
erviceImplWriter.java:241)
        at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:130)
        at org.apache.axis.wsdl.toJava.JavaServiceWriter.generate(JavaServiceWri
ter.java:112)
        at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(Jav
aGeneratorFactory.java:421)
        at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:476)
        at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
        at java.lang.Thread.run(Thread.java:513)
 
 
* Any way to resolve this?
  • May 02, 2006
  • Like
  • 0
Hi:
 
I'm using create() API call sending sObjects[]  about 200 case objects at one call.  If there are any failed records. 
 
1) How do I determine which specific records failed to get created in Salesforce?
2) Is there are detailed  information about the failed record from the SaveResults object?
 
 
Thanks,
 
Jay
  • June 12, 2006
  • Like
  • 0
I'm encountering problem when i do wsdl2java command:
 
C:\ViewStore\jocabral_view2\InfoMgt\MACI\CPS\wsdl\Salesforce>java -classpath C:\
ViewStore\jon_view2\InfoMgt\MACI\CPS\lib\xercesImpl.jar;C:\ViewStore\jon
_view2\InfoMgt\MACI\CPS\lib\xml-apis.jar;C:\ViewStore\jon_view2\InfoMgt\M
ACI\CPS\lib\commons-discovery-0.2.jar;C:\ViewStore\jon_view2\InfoMgt\MACI\C
PS\lib\axis.jar;C:\ViewStore\jon_view2\InfoMgt\MACI\CPS\lib\commons-logging
-1.0.4.jar;C:\ViewStore\jon_view2\InfoMgt\MACI\CPS\libcommons-discovery-0.2
.jar;C:\ViewStore\jon_view2\InfoMgt\MACI\CPS\lib\jaxrpc.jar;C:\ViewStore\jon
_view2\InfoMgt\MACI\CPS\lib\saaj.jar;C:\ViewStore\jon_view2\InfoMgt\M
ACI\CPS\lib\wsdl4j-1.5.1.jar org.apache.axis.wsdl.WSDL2Java salesforce.wsdl
java.io.IOException: Emitter failure.  Invalid endpoint address in port Soap in
service SforceServiceLocator:  https://www.salesforce.com/services/Soap/c/7.0
        at org.apache.axis.wsdl.toJava.JavaServiceImplWriter.writeFileBody(JavaS
erviceImplWriter.java:241)
        at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:130)
        at org.apache.axis.wsdl.toJava.JavaServiceWriter.generate(JavaServiceWri
ter.java:112)
        at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(Jav
aGeneratorFactory.java:421)
        at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:476)
        at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
        at java.lang.Thread.run(Thread.java:513)
 
 
* Any way to resolve this?
  • May 02, 2006
  • Like
  • 0
I am getting the following error message when i tried to gnerate Java classes from  the partner WSDL by using the AXIS's WSDL2java (java org.apache.axis.wsdl.WSDL2Java partner.xml)
 
- Unable to find required classes (javax.activation.DataHandler and javax.mail.i
nternet.MimeMultipart). Attachment support is disabled.
 
JDK is 1.5.0_06-b05
AXIS (Got the message both with 1_2_1 and 1_3)
 
i have the folloing libraries in the classpath
 
axis-ant.jar
axis.jar
commons-discovery-0.2.jar
commons-logging-1.0.4.jar
jaxrpc.jar
log4j-1.2.8.jar
saaj.jar
wsdl4j-1.5.1.jar
 
I never got this with with  6.0 api iam getting only with 7.0
 
Is anything missing in my classpath?
 
Thanks
Sean