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

0
votes
0answers
22 views

Is the Java SOAP API Depreciated?

It seems that all of the documentation on the salesforce website for a SOAP call is from 4+ years ago, and all of the example code contains Old, and depreciated methods from the wsc library. Is there ...
2
votes
0answers
16 views

Accessing SAML Login Information in Connected App programmatically

I was looking for a way to programmatically read (and potentially - write) data in SAML Login Information (on ConnectedApp 'manage-side' settings), as displayed below: I already tried using Metadata ...
2
votes
1answer
20 views

“Cannot parse empty string” error when exporting using dataloader

I'm trying to run Data Loader from the command line and export all the fields for the contact object. We're using a third party app which has modified this standard object. I've defined a mapping file ...
0
votes
0answers
31 views

error invalid_grant error_description invalid assertion

I want to use OAuth 2.0 JWT Bearer Token Flow for getting events logs but when i try to get then it show me following error, { "error":"invalid_grant", "error_description":"invalid assertion" } ...
3
votes
3answers
143 views

How to set TLS Version in Java SOAP API

I am trying to connect to a new org using the Java SOAP API and am getting the following error: [UnexpectedErrorFault [ApiFault exceptionCode='UNSUPPORTED_CLIENT' exceptionMessage='TLS 1.0 has been ...
0
votes
1answer
156 views

How to enable TLS 1.1 or Tls1.2 in Java 7

I am using salesforce soap API i has activated tls 1.1 in SF-->Critical updates i am getting this error UNSUPPORTED_CLIENT: TLS 1.0 has been disabled in this organization. Please use TLS 1.1 or ...
0
votes
0answers
38 views

Java Fuel SDK ETClient class causing NullPointerException

I know this is caused by a null value, however I'm not sure why it's null. Have I not instantiated ETClient correctly? Or overlooked something else? package exacttarget.api; import com.exacttarget....
3
votes
1answer
70 views

Can you use COUNT() in a SOQL query from SOAP API?

I want to use the Java SOAP API to execute a query like the following: connection.query("SELECT COUNT(Id) FROM Contact WHERE . . ."); However I get back a single SObject: [SObject fieldsToNull='{[...
0
votes
1answer
17 views

Does my org CS version limit which Streaming and REST APIs I can use?

If I'm using Salesforce "Spring 16" (CS10), does that org impose limitations to which Streaming API version I may use? (currently, our Java apps use v33 push topics) Is there any benefit to using more ...
0
votes
1answer
29 views

Error could not find or load main class com.sforce.ws.tools.wsdlc

I want to compile the partner API code from the WSDL using the WSC compile tool. After running java -classpath wsc-22.jar com.sforce.ws.tools.wsdlc partner.wsdl partner.jar I get the error: ...
0
votes
1answer
25 views

Instance of Inner Class

How to update argument of inner class instance ? This is the explanation : public class { constructor { Initialize Inner class Instance(arg1) } method { variable arg2; ...
0
votes
1answer
39 views

Not able to get access token from salesforce

I am getting authorization code and when i am trying to get the access token than it give error like { "error": "unsupported_grant_type" "error_description": "grant type not supported" } This is ...
1
vote
2answers
46 views

How to disabe API user session timeout?

I have currently developed a Java API client that connect against the Salesforce instance of my company. Using the following tutorial: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/...
0
votes
0answers
21 views

Update Subscriber Status in the list via Fuel-SDK (Java)

I am using FuelSDK (Java) for development. I want to update the subscriber status in the specific list but not All subscribers list. Refer to http://salesforce-marketingcloud.github.io/FuelSDK-Java/...
1
vote
1answer
42 views

Security on Connecting to Salesforce from a Java app

I was trying to connect to Salesforce and migrate data from mySQL database to Salesforce using Java. During the connection process I found that we have to give the Username, Password and oAuth token ...
0
votes
1answer
52 views

OAuth worked initially, but failed with 401 on the next day & subsequent

I'm working from https://developer.salesforce.com/page/Integrating_Java_Spring_Apps_on_Heroku_with_Force.com_REST_APIs On the first day, I got everything to work with localhost, so if I opened http://...
0
votes
1answer
66 views

How to export data using reports from SFDC programmatically?

We have an issue where we have to manually click Export Report on SFDC reports though the UI on many reports. These reports have several filters and filter logic such as "(1 or 2) AND (4 AND 1)" and ...
1
vote
0answers
36 views

Not able to insert record into a custom object

I am having some difficulty inserting a row into a custom object. I am writing a java application that will insert rows into a custom salesforce object. There is no exception that is thrown, so I don'...
0
votes
1answer
27 views

Java - like Apex for SOBJECTS

Sorry, I don't know if this is a proper context to make this question, but I don't know where to make this question. I write here because I immagine that a lot for today apex programmers has been ...
3
votes
2answers
81 views

Salesforce Metadata Api/ Tooling Api to build changesets

I was wondering if it was possible to use any of the API's provided by SF to build an external (C#, Java) application to manage building changesets. Building changesets is very tedious when trying ...
0
votes
0answers
12 views

Java - Automating WSC connector after Salesforce update

This is due to Salesforce's update on my organization where there were a few modifications on how I could query. For example, due to the change with the latest version (thread), FeedItem does not ...
0
votes
1answer
42 views

Java Fuel-SDK searching Data Extension for Email

We are using the Java Fuel-SDK 1.0.3 to select a row with a specific email address from a Data Extension. The existing documentation either says ‘Coming soon!’ or points to the Javadoc. While the ...
3
votes
2answers
107 views

Need some help with jquery plugin select2 and VF page

I am trying to use jquery plugin select2 in my VF page to make the select look better. For some reason i cant get it to work. I have loaded in all the js and css as static resources. There is no ...
1
vote
1answer
83 views

Salesforce SOAP API SessionRenewer implementations

I am handling a large query of a Salesforce object through SOAP API which takes more than the timeout. Frequent error message is INVALID_SESSION_ID. I have used the queries throughout every code and ...
0
votes
0answers
51 views

How to pass Key&value(parameter) in http post request using 'multipart/form-data' header?

I want to pass parameter to endpoint. Keys are: emailSubject, emailTo, emailFrom & etc. Here is my code. same code is working for 'application/x-www-form-urlencoded' & 'Content-type','text/...
3
votes
1answer
865 views

Can Data Loader run with 64-bit Java?

I have uninstalled all old versions of the data loader and installed the newest one: 36.0.0 I cleaned up all Java stuff on my 64-bit Win 7 machine and there's only one version left, it's this version ...
0
votes
1answer
39 views

Tracking information from ExactTarget using FuelSDK for Java

I'm trying to get Tracking information from ExactTarget using FueldSDK for Java, but it doesn't seem to include the class ETOpenEvent as in other languages. For example, with C# you can do this: ...
0
votes
1answer
28 views

undelete records using java code?

Hi while i am saving this code getting error: public class deletetion{ public void undeleteRecords() { try { QueryResult qResult = connection .queryAll('SELECT Id, ...
0
votes
1answer
42 views

External Data Source own webservice [closed]

[TASK]Salesforce integration with external database (e.g. PostgreSQL) [GOAL] Integration without using external system e.g. Informatica, Lightning connect [TO DO] Build own webservice (Java). Connect ...
0
votes
0answers
43 views

unsubscribe from single list using java API

using com.exacttarget:fuelsdk:1.1.0, I am trying to unsubscribe a subscriber from a single publication list only. I can retrieve the ETSubscriber.Subscription objects easily and call setStatus(...
1
vote
4answers
134 views

REVIEWED: Why I see the count of completed/queued/errored on Triggered Sends to 0, despite return msg of API call is “Triggered Has Been Send queued”?

Why I see the count of completed/queued/errored on Triggered Sends to 0, despite the return message of API call is "Triggered Has Been Send queued"? REVIEW: I tried the sames scripts on another ORG ...
2
votes
2answers
30 views

Database.Query give wrong result

Check these Screen Shots See the Query here which is wrong: See the result here help me out to resolve the issue. Thanks in Advance,
1
vote
1answer
40 views

Issue inserting Recordtype for object

I am writing a JAVA-application that mainly functions as a CRUD-platform for my employees. On this application, users can manage data from a specific objects. I am using REST-API. Now, here is my ...
0
votes
0answers
15 views

How do I set attributes to Subscriber in FuelSDK?

How do I set attributes to Subscriber in FuelSDK? Looking at the java fuelsdk source, attributes are commented out... https://github.com/salesforce-marketingcloud/FuelSDK-Java/blob/master/src/main/...
0
votes
1answer
22 views

Having problem in adding action on VF page button

Below is my VF and controller,i am having trouble in adding action on commandbutton on VF page. if i add searchEvent in commantbutton action it will create new class. i want to do like that when ...
1
vote
0answers
65 views

Invalid Query Locator in REST API

When making a REST API query call from a Java client I'm getting an INVALID_QUERY_LOCATOR error. I'm familiar with the limitation around 10 query locators in the same time and in my code I'm avoiding ...
0
votes
1answer
16 views

Java FuelSDK client fails when the process is running under Executor

It seems that current version of Java FuelSDK (v 1.1.0) does not want to run in multithreaded setup with Executor. It fails quietly with no sign of the problems or exceptions thrown. Did anybody ...
1
vote
0answers
69 views

Salesforce error with certificate issue

In our application we are using two way ssl that to send the data in soap api with request and response. it is the communication between salesforce and java. java is server and salesforce is client. ...
0
votes
1answer
31 views

Save Event to Salesforce without losing time [closed]

How to save an Event without losing time? I have tried: set("StartDateTime")(new Date()) set("StartDateTime")(Calendar.newInstance()) - throws an error that value not of required type
0
votes
1answer
31 views

Why can I not add a “Description” when creating a new Lead from Code?

I made a small Java Project to connect to Salesforce and get Leads and Create some new. Got into a problem of creating a new Lead with the "description" property even if i saw the property exists in ...
0
votes
1answer
33 views

Cannot use “and” operand to filter ETDataExtensionRow

Now, I'm working on Java Fuel-SDK and I need to use "and" on select method. I look on example code of Fuel-SDK, I found ET deprecated ETFilter and put "SQL like" syntax on method, Example. @Test ...
-1
votes
2answers
93 views

How to pass the array values from the javascript to apex controller and later store in custome object?

I am trying to get the values from javascript which is in array, to the apex controller and later save it. When I check the debug logs, I see null value in it. Need help. Below is my code. I tried ...
0
votes
1answer
76 views

Does the REST API or Fuel Java SDK support triggered sends with attributes?

I'm having trouble finding an example or instructions on how to make triggered sends with dynamic attributes using Fuel Java SDK or the REST API. Example: for this template below, I'd like to be ...
0
votes
1answer
41 views

Developing java integration with Fuel SDK

I am starting to develop the connection between my system and the one from Exact Target, but having some troubles. I tried to follow this example, but many functions do not work anymore or are ...
1
vote
1answer
59 views

What are the best ways to learn Salesforce? [duplicate]

What would be the transition time for a PHP/Java developer to salesforce developer? What is the best way of learning salesforce development? Do I need to have the CRM knowledge of salesforce to ...
1
vote
1answer
51 views

Connection via Java results in com.sforce.soap.apex-error

I am a little bit confused. I am a long term SF-developer who is now making his first steps with Java. I just wanted to make a connectiontest with this page: https://developer.salesforce.com/docs/...
1
vote
0answers
38 views

How to filter by date in fuelsdk 1.1.0?

Could you help, I don't know how to filter by date on fuel-sdk. I just want to retrive data after "2015-11-10". I look on Fuel-SDK unit test and not found anything relate to filter by date. I try ...
1
vote
1answer
39 views

Fuel Java sdk subexpression is not appearing to work

Attempting to use the java fuel sdk to pull data from a data extension table. In that table there is a date column which I am trying to create a filter with expression to get rows between two dates. ...
0
votes
0answers
56 views

Java FuelSdk - How to iterate through more results

I am using the java fuel sdk and have successfully retreived a dataextension object. Also using the select function on the data extension object to retreive my filtered rows. The issue I am having ...
0
votes
0answers
104 views

How to attach file using Rest api Java?

Can some budyy help me out. How to upload attachment using Rest REST API Attachment I am following this link. Is there any sample code available? Any help appreciated.