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
vote
0answers
19 views

Call Restful SFDC service from Java

I'm still working on getting the authentication working but having issues. I have been getting a 401 unauthorized error. All of the items I have hidden I am sure are correct values UNLESSS I need to ...
0
votes
1answer
4 views

Creating Article using Partner API, Produce the following error: Visible In Public Knowledge Base: value not of required type: true

I am deploying an articles from one org to another using java and Partner WSDL. If one of the following fields: IsVisibleInPkb, IsVisibleInCsp, IsVisibleInPrm are set in the new article I get the ...
0
votes
0answers
18 views

Login page with Partner WSDL API with Java

I want to make a simple login web page, with username, password and token, which take those parameters and use PartnerConnection to connect to Salesforce using Java. Note: I have a Java command line ...
1
vote
1answer
17 views

Detect changes in picklist values

I have an external system which keeps synchronized with Salesforce. I have triggers in every object that send the inserted/updated/deleted records to my webservice, and every minute I send the ...
0
votes
0answers
47 views

SSLHandshakeException while connecting to SF from a standalone java client via a proxy

I am trying to connect to a SF hosted APEX web service. previously i managed to do so when i was accessing the service without a proxy mediating the communication. On port the same standalone java ...
1
vote
1answer
19 views

What is a RestResource and a RestResourceDelegate in APEX programming?

In the context of APEX programming, What is a RestResource and a RestResourceDelegate? I have seen a RestResource class with a method, global static void doThisThing() { ...
3
votes
0answers
47 views

Override PartnerAPI ClassLoader

We have exported as Runnable JAR (Extract required libriries into generated JAR option) our proyect (which has dependecies the fuelsdk and axis). So, there are some classes which read properties ...
1
vote
1answer
30 views

Error Code 310007. A primary key field cannot be nullable

I am creating Data Extension via Java SDK(Axis). When I add new field, it's isNillable attribute is null by default. If I leave it as null and create DE, ExactTarget returns me OK status, but, on ...
2
votes
1answer
45 views

How to fire an Event via Fuel SDK

I want to implement this procedure via Java fuelsdk https://code.exacttarget.com/marketing-automation/journey-builder/events/how-to-fire-an-event ETClient client = new ETClient(); ...
1
vote
1answer
50 views

Adding Bulk data to Data Extension Object in Exact target

I have a number of CSV's with each CSV having a million row sets. Now i have to send those CSV's to particular Data Extension Object in Exact target. I am aware of adding a row to data extension ...
0
votes
0answers
57 views

AES 256: Apex Encryption to Java Decryption

Could you please help how to decrypt the data in java. It was encrypted by SFDC Apex (AES 256) Blob cryptoKey = Crypto.generateAesKey(256); Blob data = Blob.valueOf('Test data to encrypted'); Blob ...
1
vote
1answer
95 views

Java code to call Exacttarget Automation workflow: START

What is Java code to construct this SOAP? <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ...
2
votes
1answer
49 views

Metadata Apex Class deploy Java example doesn't work

I am trying to make this sample code work, http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_deploy.htm. It is just a one class java project. When I run it I have deploy.zip, which ...
0
votes
1answer
34 views

How can I debug SOAP API exceptions in Java code?

Sorry if this is a noob question. I'm new to developing for SalesForce and the Java SOAP API and am trying to debug a weird problem in an existing Java app. I'm getting this exception when invoking ...
4
votes
1answer
139 views

Unable to upload an Attachment - Bulk API

I'm using Bulk API to upload attachments and getting an error: InvalidBatch : Failed to parse CSV header. Number of Records Processed: 0 While I'm getting following error at the Salesforce ...
0
votes
0answers
44 views

Configure java-endpoint to receive multiple outbound messages

we are currently trying to receive multiple different OutboundMessages through a java webservice (One for Account, one for Opportunity). We are using the generated WSDL files for the endpoints. ...
1
vote
0answers
41 views

Force.com OAuth Endpoint Configurable

I want to make my Force.com OAuth endpoint applicationContext configurable so it can change to http://test.salesforce.com when someone select to login to their sandbox environment. Below is the the ...
1
vote
2answers
97 views

Developing exact target app in JAVA sdk

I am newbie to exact target app development .Im trying to build an app using java SDK but I couldnt find any sample codes to begin with.Can anyone provide me sample java codes for exact target app ...
5
votes
1answer
107 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
25 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
96 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
58 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
3answers
84 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
72 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
395 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
131 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
52 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
39 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
128 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 ...
2
votes
1answer
88 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
73 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
68 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
75 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
81 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
63 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
100 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
236 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
1k 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
67 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
260 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
1answer
186 views

unable to connect to salesforce using java

I am using external system as java and trying to integrate to salesforce in eclipse package com.example.samples; import java.io.BufferedReader; import java.io.IOException; import ...
1
vote
2answers
204 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 ...
2
votes
1answer
576 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
73 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
79 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
218 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
93 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
334 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
253 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
387 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 ...