Java is a computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible.

learn more… | top users | synonyms

-1
votes
0answers
23 views

Import library in java [closed]

what is purpose of import java.io.* ? will this help in calling class from one package to other class ? or simply this include all the classes of a particular package.
4
votes
1answer
32 views

How to get the content of an existing apex class using metadata api

I was able to get the names of all the apex classes in an org using metadata api with Java public void getApexClasses() throws ConnectionException { ListMetadataQuery[] queries = new ...
1
vote
0answers
21 views

How to use a List or Data Extension to filter another Data Extension?

I have a scenario where I need to filter out (or remove) records of a Data Extension that exist in other Data Extension. In SQL would perform a NOT EXISTS. As I need to create an external process ...
1
vote
1answer
44 views

How to remove extra column from csv of bulk api in JAVA

I am importing the data in to the salesforce using Bulk API. But I am facing this issues. I am replacing the column header with the salesforce API name. But some of the heade which is not releted to ...
2
votes
1answer
48 views

Can we list a J2ee web application in AppExchange?

I am trying to list my web application in AppExchange platform. I tried reading through salesforce and app exchange sites but could not dig deeper into the answer. If I can list my web application ...
3
votes
1answer
42 views

Java BulkAPI exception: Field name provided does not match an External ID

This posting is in reference to this webinar and it's associated Java code regarding use of the Bulk API. Salesforce API Series: Fast Parallel Data Loading with the Bulk API ...
0
votes
1answer
55 views

“All subscribers” is always selected when using filter in a SendDefinitionList

I'm trying to create a email send definition object (user initiated) using a filter, but when I select Interections->User-Initiated Email on the Recipients Targeted Data Filters, it shows ...
0
votes
1answer
97 views

Integration Java to salesforce [closed]

I am new of INTEGRATION. So please help me. I have a Java Program, Now i need to integrate this program to Salesforce? Java Code: public class abc { public void a() { int a=20,b=30; int c=a+b; ...
3
votes
1answer
113 views

Error when trying to create an User-Initiated object (ETEmailSendDefinition)

I'm trying to use fuelsdk-0.999.jar and fuelsdk-0.9999.jar (both gave me the same error) in a Java projetc downloaded from https://github.com/ExactTarget/FuelSDK-Java/releases and when I try to call ...
0
votes
1answer
33 views

Java Clients and Salesforce.com [closed]

There have been many articles about browsers such as Chrome and Firefox eliminating support for plugins like Java. How will this effect Salesforce.com users that connect using Java? Is HTML5 access ...
0
votes
0answers
22 views

connecting to salesforce using only access_token with jersey

I am new in salesforce. I was ask to connect to salesforce using only token without the client_id, client_secret, username and password. I know that salesforce response different access_token ...
0
votes
0answers
64 views

SOAP API: INVALID_TYPE error while creating custom object in JAVA

I am quite new on SFDC development. The dutty is that I am using a jar generated from my ORG Enterprise WSDL. I am implementing in a JAVA dynamic web project that jar, thereby, I am dealing with some ...
1
vote
1answer
56 views

Weird Javascript remoting error

I'm using javascript remoting in a SKUID page. Everything has been working fine, but without any code changes all of a sudden I started getting this error: function handleRemoteCall(result, event) ...
2
votes
1answer
44 views

Enterprise WSDL, fields that are Date in SF, came over as Calendar in Java object classes

I used WSC-23.jar to convert enterprise WSDL file into a JAR. While the WSDL file had the Date fields/elements correctly marked with the type="xsd:date", generated Java classes for the SF objects ...
0
votes
1answer
53 views

error while integrating java to salesforce

setup for java environment and eclipse working fine Navigate to http://mvnrepository.com/artifact/com.force.api/force-wsc in your browser and download the WSC pre-built .jar file that matches the API ...
0
votes
1answer
50 views

Does exist a way to integrate force.com with JMS (Java Message Service)?

I'm looking information about Java Message Service and how to integrate this technology with Force.com using apex code. Does somebody has an idea of how to do this? Thanks.
4
votes
1answer
50 views

AllOrNoneHeader for Bulk API

I am trying to switch off Autocommit feature by using AllOrNoneHeader in Bulk API implementation through JAVA. I have searched over internet but see only example of implementing it for SOAP based ...
3
votes
1answer
50 views

ExactTarget JAVA-SDK - Turn off logging of each SOAP Call

Please advise on how to turn off the SDK logging of each SOAP Call. I must be missing something obvious...Thank you!
2
votes
1answer
79 views

How do I update Subscriber attributes with Java SDK

I am using com.exacttarget.fuelsdk.ETSubscriberService to update subscriber information. The other SDKs have examples like: subscriber.props['Attributes'] = [{'Name' => 'First Name', 'Value' => ...
1
vote
1answer
155 views

Java equivalent for Apex classes [closed]

I am looking for Java equivalent classes for some of the Apex classes like Blob, EncodingUtil, Crypto. I need these to connect and authenticate with salesforce making an API call. I am creatingn a ...
3
votes
1answer
660 views

Exporting Data to CSV file via Bulk API

I am having trouble with my Bulk API code. What I want is to take the records in the Opportunity object, and a few of their fields, and export them to a csv file for reading. The code is currently as ...
2
votes
1answer
56 views

Retrieve all BusinessUnits For an Account

I'm trying to use the ExactTarget SOAP-based Web Service to retrieve all the business units in my account. I can retrieve the account and the default/parent business unit, but I can't figure out how ...
0
votes
1answer
109 views

how to integrate java webservices to salesforce in eclipse

I Want to write java program to fetch records from sql&update it to salesforce(integration) can any one give some idea
1
vote
2answers
118 views

unable to find jar files please some one help

I am using eclipse and trying to connect to salesforce using java program I am using import stmts like import com.sforce.soap.enterprise.EnterpriseConnection; import ...
1
vote
1answer
336 views

Way to get around SSL certificate errors when calling an external web service?

I'm using WebServiceCallout.invoke in an Apex class to call an external SOAP web service (namely the SOAP API for Central Desktop). Unfortunately, the external service has an invalid SSL certificate ...
2
votes
0answers
58 views

write tooling api classes to file

I am trying to write ApexClass (soap tooling API) to a file, I want to load it later on the ApexClass. I don’t know how to use the write function… Wrote some trials such as: ...
1
vote
0answers
47 views

Issue with ConnectorConfig

I'm using Java to connect to SFDC. Very simple, generic code: import com.sforce.soap.partner.Connector; import com.sforce.soap.partner.DeleteResult; import ...
4
votes
2answers
165 views

Retrieving All column names from a DataExtension

I am retrieving data from a data extension using RetrieveRequest. Following is a snippet of my approach: RetrieveRequest retrieveRequest = new RetrieveRequest(); ...
0
votes
0answers
82 views

what is the current version of exacttarget-partner-api

Currently I have the following dependency setup in my pom.xml <dependency> <groupId>com.exacttarget</groupId> <artifactId>exacttarget-partner-api</artifactId> ...
3
votes
2answers
213 views

Invalid Date format from Database

Trying to insert a Contact from an Oracle Database: Contact Database Entity: @Temporal(TemporalType.DATE) @Column(name="DOB") private Date dob; Contact SOAP SObject set Birthday: Calendar ...
6
votes
2answers
147 views

SOAP webservice connection getting: no access allow to this class

I'm pretty new to salesforce and SOAP but here goes. I've made a connection to my site and then passed in the config to my webservice's object. This goes fine. But then I get this error: ...
1
vote
2answers
245 views

Apex Data loader - Error java.lang.UnsatisfiedLinkError: Cannot load 32-bit SW T libraries on 64-bit JVM

I am trying to run apex data loader downloaded and installed from my SalesForce account. But when I try to run the jar from command prompt with this command java -jar dataloader-29.0.0-uber.jar I ...
6
votes
0answers
56 views

How do I use Salesforce connector with a Spring component?

I am using Mule standalone 3.4. I am trying to create a flow using the Salesforce connector to perform a query operation and then pass the payload to a spring component. The result is the component ...
2
votes
3answers
139 views

Need to create a button/link to use SSO into ServiceNow

Trying to create button/link to log into ServiceNow using the user's email address: Basically the link has to be crafted to pass 1) the email address of the person already logged in and 2) a ...
4
votes
1answer
1k views

Using Java and Spring to integrate with Salesforce REST APIs

I want to send information from our webapp (using Java and Spring) to the Salesforce REST APIs. I'm looking for an up-to-date example of how to use Spring Security to authenticate with OAuth to the ...
4
votes
1answer
357 views

How to retrieve a value from a parent field with SOQL via partner API in java

I have a parent-child relationship with timesheets relating to users. I am trying to retrieve an Employment ID field from the parent record with SOQL and this is my query, where the UserID is a field ...
2
votes
1answer
156 views

Cannot set value on checkbox using sObject via Partner API using Java

I get an error when I try to set a checkbox with the Salesforce Partner API. I have tried different combinations, but I get the error that an Object is required. Confirmed__c is a checkbox and this ...
5
votes
2answers
143 views

java.sql.SQLException error caused by OpportunityLineItem DML request

In our Salesforce.com organization, we have a trigger on the OpportunityLineItem object (insert/update), automatically generating OpportunityLineItemSchedule. The product is schedule by revenue, ...
6
votes
4answers
385 views

Oauth for Java native app

I have a Java native app I am trying to implement Oauth for. I have gone thru this article by Pat Patterson: http://wiki.developerforce.com/page/Digging_Deeper_into_OAuth_2.0_on_Force.com I am a ...
6
votes
2answers
541 views

Create a record in an object with lookup fields through java soap

I am pretty new with Salesforce and I am doing an integration where I have to update Salesforce with data from a Business System. I have a problem when trying to create new records in an object with ...
6
votes
3answers
3k views

Pass a string variable from controller into the Javascript function

I have a method which returns a Yes or No String depending on it's outcome. The method is inside a standard controller extension. How do I pass the returned String into a function on the page in ...
1
vote
1answer
660 views

Need sample code on bulk api, for beginners [closed]

Can any one plz help me in understanding and implementing Bulk API. Can i get a small sample code which clearly demonstrates how bulk API works. I am totally new to this. (I have initially worked ...
3
votes
1answer
1k views

Displaying date in visualforce force page in required format

I have a date fields which on displaying on VF page displays like 12/10/2012. But i want to display it like December 10, 2012. How can i do it? i am not getting the easy way.
7
votes
1answer
199 views

Updating Profile for Record Types: using Metadata API

So far I'm able to create the Record Type for an object using Java. For the object requiring only 1 Record Type using Java: (the upserts are going fine) - If I'm to create only one record Type per ...
3
votes
1answer
503 views

Using Salesforce Partner API from community portal

I've created a custom button on the opportunity layout which calls out to an external java app. It passes the session id and the partner API URL. The external app then creates a SOAP binding ...
3
votes
1answer
100 views

Force.com IDE for OSX - Where to configure VM settings?

We have one developer that upgraded to mountain lion and it installed jdk 1.7, we installed 1.6, and configured the softlinks, but when force.com ide starts up it has vm set to the Frameworks folder ...
2
votes
1answer
716 views

com.sforce.ws.SoapFaultException: No operation available for request {http://soap.sforce.com/2006/08/apex}executeAnonymous

Hi I am trying to write a simple command line java program to execute anonymous apex. I found a couple of examples that dont quite compile and am trying to put them together. Here is what I have ...
3
votes
3answers
117 views

Moving Salesforce data into Heroku Java app for LDV processing?

I have read a few blog posts about moving parts of an app into a Ruby Heroku app, but no example for moving data between a Salesforce org and a custom Java app on Heroku. Do you know of any in posts ...
0
votes
0answers
144 views

Adding Attacment to an Account in salesforce

I am trying add a attachment to a account in salesforce ,when i specify the path name I am getting invalid escape sequence .File f = new File("C:\Users\SONY\Desktop\map.txt"); this is the code piece ...
2
votes
1answer
161 views

Getting error with Enterprise API: Illegal assignment from list to list?

Integrating salesforce with salesforce using Enterprise wsdl and and it's api's.While doing that I have got an error. I am using records property and assigning to sobject array so that I can loop ...