Skip to main content

Questions tagged [webservices]

Webservices are the methods of communication between software systems and connected devices over Internet infrastructure. They come in a number of very different technical varieties, such as SOAP and REST, but all are considered Webservices.

171 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
831 views

What headers are returned in RestRequest.headers property?

Question Is there an official list of which headers are returned when using the RestContext.request.headers property? Background I know that the returned data is limited, e.g. it excludes the ...
Ralph Callaway's user avatar
6 votes
1 answer
636 views

Synching of data between two orgs

Class is called from the trigger in response to update of an opportunity object I am syncing data between two Saleforce Orgs.From the opportunity object I have been able to uspsert data in another ...
Sales's user avatar
  • 271
5 votes
0 answers
53 views

Certificate api name

For example, I do the following : Export from Keystore the certs located in my Prod Import from Keystore the certs to my Sandbox Anyone knows why during this transaction the api names (and labels) ...
Simon Govaert's user avatar
5 votes
1 answer
396 views

Javascript Remoting vs Consuming Web Service

I am accessing a service side function through a javascript button on a visualforce page and I wanted to know; what is a better solution - Javascript Remoting or the AJAX toolkit (consuming a web ...
David Dawson's user avatar
  • 1,204
4 votes
0 answers
400 views

Synchronous concurrent transactions limit

I know that the following limits exist in salesforce: Number of synchronous concurrent transactions for long-running transactions that last longer than 5 seconds for each org : Limit 10 Concurrent ...
Francesco1981's user avatar
3 votes
0 answers
900 views

Is it possible to download archived contentversion or contentDocument

I am having a hard time downloading a contentversion/contentdocument where contentdocument is already archived. I am trying to download the file by hitting rest endpoint services/data/v44.0/...
lambad's user avatar
  • 385
3 votes
0 answers
110 views

VF : Persist data between two VF pages

This is my VF Page <apex:page showHeader="false" sidebar="false" cache="false" contentType="text/html" controller="AWS_Upload" > <script src="https://ajax.googleapis.com/ajax/libs/...
VPY's user avatar
  • 1,018
3 votes
2 answers
1k views

Automatically refresh a standard page layout

I have a webservice callout, and therefore I update a field on pagelayout according to the callback. The problem is I have to refresh the page layout (F5) everytime to see the field updated on my page ...
LoveLace's user avatar
  • 645
3 votes
1 answer
2k views

Webservice callout - Test class - not working

I have batch class that makes a HTTP callout to a remote web service. To deploy into production, I have created a test class with StaticResourceCalloutMock. I am executing the test class in a full ...
Razu's user avatar
  • 353
3 votes
0 answers
248 views

Import and use client provided .cer certificate in api callout

This may be a common issue that many of us have faced but unfortunately not getting concrete answer on any of the blogs/forums. I want to use client provided external .cer certificate in making API ...
Ashvin Bhatt's user avatar
2 votes
0 answers
198 views

Apex SOAP WebService - how to suppress/alter accepted header

I am working with a 3rd party on SOAP integration, and they send a detailed async fault response to any POST done by us. The data they send is rigid and they say they cannot (or won't) change it. I ...
awh01's user avatar
  • 141
2 votes
0 answers
166 views

Pushing a git repository to a Sandbox via a PostCopy script

I am currently trying to automate the whole process for working with Sandboxes in my company. As of now, we have a CLI tool which both refreshes the sandboxes and executes an Apex anonymous script to ...
Javier García's user avatar
2 votes
0 answers
524 views

Pass Account ID to Webservice

I am trying to call an external webservice and display the data in a Visualforce Page. First how do I pass a parameter to the external Web service? This is what I have done so far: Created the ...
Phuc's user avatar
  • 369
2 votes
1 answer
320 views

Dynamic WebServiceCallout call results in "Variable does not exist: WebServiceCallout "

I want to encapsulate a WebServiceCallout.invoke to reuse it in various cases, so I've build the following static method public static Object callSOAP(Object stub, Object request_x, Map<String, ...
jonathanwiesel's user avatar
2 votes
1 answer
38 views

How to get views list from salesForce service?

im using https://login.salesforce.com/services/Soap/u/28.0 URL, I get the list of tables from salesforce Tables:- AcceptedEventRelation,Account,etc,.. But I dont know to get views from salesforce ...
Vecto7's user avatar
  • 21
2 votes
0 answers
54 views

Bundle VF page with public sites in AppExchange Managed Package

We have a requirement for an AppExchange product. We plan to bundle the Salesforce functionality as managed package and some part of the requirements as a secure but public widget that can be ...
Ashish's user avatar
  • 2,372
2 votes
0 answers
874 views

Client certificate authentication on web service callout in Salesforce

I am trying to invoke 3rd party web-services from Salesforce using WSDL2APEX. The client has also shared a .p12 certificate which I need to use for client authentication while making web-service call ...
Prakash's user avatar
  • 198
2 votes
0 answers
976 views

How to pass the parameters from one salesforce org to another salesforce org?

VF Page <apex:page controller="Apex_Rest_DemoController"> <apex:form > <apex:pageBlock > <apex:pageBlockButtons > <apex:commandButton value="Create ...
Sandra's user avatar
  • 75
2 votes
0 answers
62 views

ExactTarget - How would I link back to the GroupDefinition from the CustomerKey given in the AsyncActivityStatus CustomerKey object

I am trying to take a AsyncActivityStatus return object and get the GroupDefinition based on the CustomerKey it returns for a Group Refresh (4 digit number). I've tried looking up by ID, no result. ...
Graham's user avatar
  • 21
2 votes
0 answers
4k views

Difference between Apex Heap Size and JSON heap size

Helllo, I am getting a specific error of "JSON string exceeds heap size limit" . I can not find reference specific to JSON related to heap size. I know we have Email Heap size of 36 MB, while ...
SEuser's user avatar
  • 1,855
2 votes
1 answer
367 views

single webservice for multiple outbound messages

Currently I have a .asmx webservice for each salesforce object that sends an outbound message. For example AccountNotificationService.asmx and ContactNotificationService.asmx. Each Contact ...
iambdot's user avatar
  • 165
2 votes
0 answers
465 views

Certificate Error with Rest API : PKIX path building failed

I am getting this error "PKIX path building failed " when i make Rest call to web-service. Earlier it was working fine, but recently some certificate expired from web-service side and this error ...
amidstCloud's user avatar
  • 2,837
2 votes
0 answers
285 views

Stop Salesforce removing https:// from start of web service url

I have set up an apex web service that receives an http get request from an external system with a querystring appended. Salesforce requires the web service endpoint to use HTTPS, which is fine, but ...
Adam 's user avatar
  • 1,426
2 votes
0 answers
897 views

WSDL2Apex Generation Failed Element not defined for part 'result'

I'm trying to import a wsdl file into salesforce with wsdl2apex, however i'm failing with the following error: Apex Generation Failed Element not defined for part 'result' These are my message ...
pjcarly's user avatar
  • 7,491
2 votes
0 answers
182 views

Custom soap Webservice In Salesforce

I am developing a custom webservice in that from third party application i am getting the different inputs they are product1--> comments on products--> quantity1--> proposel price1 ...
Sathya's user avatar
  • 1,203
2 votes
0 answers
133 views

2 way SSL authentification on expose FDC webservice

My client calls a webservice on Salesforce (server), first i send him my certificate (server) and then i would like him to send me back a client certificate ( two way ssl) how do I implement that? ...
erick20's user avatar
  • 21
1 vote
0 answers
19 views

How do I create a Canvas App using a signed request?

When I attempt to get a signed request from my canvas app, I get an error in the console: sfdc_canvas_auth=user_approval_required. When I set Permitted Users to Admin approved users are pre-authorized,...
Kylan Vike's user avatar
1 vote
0 answers
35 views

Unable to make callouts after Salesforce Instance Refresh. Unable to tunnel through proxy. Proxy returns "HTTP/1.1 503 Service Unavailable"

Over the weekend, Salesforce has refreshed our org instance AP53. Since then our integration with Equifax is not working. Whenever we try to make a callout to the Equifax servers, we get the following ...
Mohit Reddy's user avatar
1 vote
0 answers
54 views

Handling Complete Error Messages in JSForce Promises for Salesforce Apex REST Calls

In a Salesforce instance we have a web service to be consumed by an external service. Considering the resource that the ws will consume, it has been designed in such a way that for each request ...
Tzinm's user avatar
  • 21
1 vote
0 answers
50 views

Share Email Folder Using mdapi

I am using financialforcedev's mdapi to create folder sharing in my Salesforce org - https://github.com/financialforcedev/apex-mdapi I am using the following code for Sharing DashboardFolder which ...
Madhurima's user avatar
  • 1,425
1 vote
0 answers
768 views

Apex REST web service with Enhanced Domains over HTTP/2

I have created a public rest web service. It's HTTP POST and while calling that from Postman, I'm getting the below error: { "errorCode": "METHOD_NOT_ALLOWED", &...
salesforce Developer's user avatar
1 vote
0 answers
174 views

Web service callout failed error when trying to update duplicate rule

I am using apex-mdapi (https://github.com/financialforcedev/apex-mdapi) to update the duplicate rules from metadata API. While I am trying to read the metadata, I am not able to update the metadata (...
Rahul Allada's user avatar
1 vote
0 answers
98 views

Approach to Map Inbound Web Service Request Fields to a Defined Wrapper Class?

We have multiple external systems POSTing callouts to a salesforce custom web service. We need an approach to map the request fields from these external systems to a generic defined wrapper class. We ...
Akshay Poddar's user avatar
1 vote
1 answer
133 views

My domain and web services

sorry if this is a stupid question but I am a bit newie with Salesforce. My client would like to enable My Domain feature. We have some web services deployed and working in production. The url ...
Jav's user avatar
  • 13
1 vote
0 answers
295 views

Logic written in Platform Event Trigger doesn't work, but the same logic works from ProcessBuilder

I am using Platform Events, to fire a webservice(HTTP request) call post transaction commit, let us say Once Account is Created or Account Updated. In the process of doing so, I am able to create/...
Azeez's user avatar
  • 103
1 vote
1 answer
32 views

How to prevent a records from being returned in response to a Web Service call if they have been sent in the previous call?

How to prevent a records from being returned in response to a Web Service call if they have been sent in the previous call? @RestResource(urlMapping='/Demo/*') global class ...
GroundToCloud's user avatar
1 vote
0 answers
224 views

Check if a customer already made a purchase in Journey Builder decision split

All the new leads that enter the journey receive an e-mail. If they haven't made a purchase in the following 7 days they receive a different e-mail. So my logic is checking if the Service Cloud ...
user3485470's user avatar
1 vote
0 answers
240 views

Troubleshooting DYMO Label Printer Web Service as Static Resource

I'm trying to develop the ability to print QR codes on labels for inventory management. I'm using DYMO printers which are quiquitous and have an easy to use web service with a javascript sdk: http://...
Ada Diamonds's user avatar
1 vote
0 answers
233 views

Calling Salesforce Rest Webservice url from vf controller

Hi I am trying to make a rest callout from controller and I am not been able to get response . I am using apex continution callout pattern for this to make call async. This is controller class ...
Hussain Gadisaaz's user avatar
1 vote
1 answer
167 views

Can't convert WSDL into Apex Class

I'm trying to convert an Apex from a WSDL file, but I'm struggling with it. Since I'm not an experienced developer, the solution may be very simple and I hope anyone can help me. When I try to ...
Eduardo Costa's user avatar
1 vote
0 answers
2k views

Salesforce - Amazon S3 REST GET Call

My objective is to successfully do a simple GET request from Amazon S3 with our Salesforce Instance. This is my apex class. public class AWSWebService { Public static AWS_Keys1__c awsKeySet= ...
VPY's user avatar
  • 1,018
1 vote
0 answers
276 views

Hitting Apex Heap Size limit

I'm trying to parse an XML response from a web service. The XML contains the information of the line items added to a quote as well as document data with the description of all line items. This ...
Vishnu J Menon's user avatar
1 vote
0 answers
391 views

Lumen Salesforce Application

Can anyone briefly explain these Lumen Salesforce Application/Lumen Software concepts? Objective Data Model Editions Is there a free trial version of Lumen Salesforce Application/Lumen Software ...
Sfdcprgmr's user avatar
  • 437
1 vote
0 answers
397 views

How to set up listener to salesforce outbound message in java using maven?

I am trying to set up salesforce outbound messaging listener in java. This is the link I followed to set up, and it works fine - https://developer.salesforce.com/page/...
persistence.xml's user avatar
1 vote
0 answers
733 views

handling invalid session id

been running a java spring webservice application that runs on on a schedule, but for some reason the enterprise connection occasionally errors out. 2017-07-13 07:03:01 | ERROR | [http-nio-8090-exec-...
J. Zhang's user avatar
  • 313
1 vote
0 answers
357 views

In Apex, can I test the handling of a specific XML Response to a SOAP web service?

So, I already know the SFDC proscribed route for testing callouts. The code I'm testing is rather more sophisticated than SFDC's example. Instead of returning a String, I'm returning a data transfer ...
Brian Kessler's user avatar
1 vote
0 answers
209 views

Salesforce Integrations BETA compared to Mulesoft (or other) service bus

I see in Spring '17 there is a new area in the LEX Setup menu called Integrations (BETA). I'm reviewing the documentation but I don't know much about microservices nor how they relate to SFDC. Is ...
tjcinnamon's user avatar
  • 1,620
1 vote
0 answers
370 views

SOAP Call w/o WSDL body too large error

I am working on integrating an asmx webservice into salesforce. I was unable to parse the WSDL into apex, so have to build the calls manually. The call I built works and is received when literal ...
JoshuaWS's user avatar
  • 113
1 vote
1 answer
3k views

External website in iframe

We currently have requirement to show external website in iframe. External website users will have user name and password and salesforce user name and password as well.As part of the authentication i ...
Nagaraj's user avatar
  • 11
1 vote
0 answers
27 views

is there any way to Call Webservice from Web2Case html file

I am trying to validate some salesforce data from Web2case html file hosted in web server. Don't want to use salesforce Sites for this. Is there any way to achieve this?
Rajib Basuri's user avatar