• Dor
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 4
    Replies
Hi,
 
I need to "catch" emails sent from salesforce for example when a new lead created.
 
I want to build simple web service that will catch this SOAP message and display it in our application.
 
Where or can you show me a simple java code for that ?
 
Dor
  • December 08, 2008
  • Like
  • 0
I start writing now,
 
Both has a way to generate java classes from the partner.wsdl.
 
But which one of them should be consider:
JAX-WS 2.1  - Assuming it will be supported on java 7
Axis2 - The newest version 1.4.1 from apache
 
Thanks in advance,
 
Dor
 
  • November 20, 2008
  • Like
  • 0
Hi,
 
How do i generate java files from the partner.wsdl using the axis2 wsdl2java?
 
Can you give me the full dos command for it, suppose my wsdl is located on c:\salesforce.
 
I am using: Myeclipse 6.5, Jboss 4.2.3, Java 1.5
 
Thanks in advance to you all,
  Dor


Message Edited by Dor on 11-19-2008 08:26 AM
  • November 19, 2008
  • Like
  • 0
Hi All,

Need some help. I am trying to use my eclipse web service client wizard to read my salesforce wsdl.
But it keep raising this exception:
   "src-resolve: Cannot resolve the name 'tns:ID' to a(n) 'type definition' component."
    Options are "Ignore, Ignore all, Abort"


What may cause this problem ? How can i solve it ?

Thanks in advance,

Dor
  • November 18, 2008
  • Like
  • 0
Hi All,

I have a simple question which needs an answer for me to begin developing.

I have a java/j2ee that uses jboss 4.2.3 AS, developing with myeclipse which based on eclipse 3.3
Now i want to build integrated application with salesforce, i know now that you call it composite application.
That integrated application will be constructed as follow:
1) Most of the logic will remain in my place, servers at the web.
2) Part of the logic will be located at sales force.

My questions are as follow:
1) From what i understand i can connect saleforce using web service (WSDL, SOAP) in my case using the jboss, is that right?
2) Do you have samples of code for that ?
3) Regard above (2), it means using the simple way of creating applications or using APEX (eclipse ide + "force" ide?).

Thanks in advance for all the answers,
 Dor
  • November 11, 2008
  • Like
  • 0
Hi,

I am new in here. Can you assist me,

I looking for an example / sample code which might help me.

I need to get all the users and all the contacts.

it seems that the API is very simple, still i will appreciate any help.

Thanks in advance,

Dor
  • November 09, 2008
  • Like
  • 0
Hi,
 
I need to "catch" emails sent from salesforce for example when a new lead created.
 
I want to build simple web service that will catch this SOAP message and display it in our application.
 
Where or can you show me a simple java code for that ?
 
Dor
  • December 08, 2008
  • Like
  • 0
I am getting the following exception when I try logging into the API :

java.lang.LinkageError: loader constraints violated when linking javax/xml/soap/SOAPMessage class
        at org.apache.axis.AxisFault.setFaultCodeAsString(AxisFault.java:422)
        at org.apache.axis.AxisFault.<init>(AxisFault.java:228)
        at com.sforce.soap.enterprise.SoapBindingStub.createCall(SoapBindingStub.java:2992)
        at com.sforce.soap.enterprise.SoapBindingStub.login(SoapBindingStub.java:3000)
        at com.odc.salesforceservice.salesforceapi.SalesforceSessionManager.login(SalesforceSessionManager.java:104)
        at com.odc.salesforceservice.salesforceapi.SalesforceSessionManager.checkLogin(SalesforceSessionManager.java:138
)
        at com.odc.salesforceservice.salesforceapi.SalesforceSessionManager.executeQuery(SalesforceSessionManager.java:2
27)
        at com.odc.salesforceservice.salesforceapi.SalesforceSessionManager.executeSOQL(SalesforceSessionManager.java:26
4)


This only happens when I re-deploy the axis2, which the web service runs in.
Restarting JBoss resolves the problem.


Does anyone have any ideas?
  • November 19, 2008
  • Like
  • 0
I am new to SalesForce and I am trying to run the quickstart. I download the quickstart.zip and unzip it. Then I ran the run.bat, the program start but I get the following login error message. Anybody know why this is happening, am I forgetting to do a step before running the program. Thanks in advance for the help.
 
apps> run.bat
1. Login
2. Get Accounts
3. Update Accounts
4. Get Server Timestamp
Enter a menu option: 1
User name: user@domain.com
Password: ****
Invalid username, password, security token; or user locked out. Are you at a new location? When accessing Salesforce--e.

1. Login
2. Get Accounts
3. Update Accounts
4. Get Server Timestamp
Enter a menu option:
  • November 17, 2008
  • Like
  • 0
Hi,

I am new in here. Can you assist me,

I looking for an example / sample code which might help me.

I need to get all the users and all the contacts.

it seems that the API is very simple, still i will appreciate any help.

Thanks in advance,

Dor
  • November 09, 2008
  • Like
  • 0