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.

learn more… | top users | synonyms

1
vote
1answer
15 views

Bad request on Query `FIND {aa-bb.cc.com} IN EMAIL FIELDS RETURNING Account`, maybe due to dash

Using salesforce webservices (REST API), this query works: https://xxx.salesforce.com/services/data/v33.0/search/?q=FIND%20%7Baabb%40cc.com%7D%20IN%20EMAIL%20FIELDS%20RETURNING%20Account URL ...
0
votes
0answers
24 views

How to integrate facebook with salesforce without using any app? [on hold]

I have to integrate my sales force dashboard with Facebook page. I should not use any app from app exchange for this purpose. I am new to integration and web services. Please help me to resolve this ...
0
votes
1answer
18 views

public rest service

I have a requirement to create a publicly accessible web service. This is what I did 1) Set up a Site on my org called publicWebService https://sandbox.cs14.force.com/publicWebService/ 2) ...
0
votes
1answer
42 views

Custom web service in Salesforce

I would like to create a custom web service in my Salesforce organization to share some data when external application sends a request. The external application sends the request with some identifier. ...
0
votes
1answer
26 views

How Do I identify the Data Extension used by a Send

Okay - why do I want to do this... My SubscriberKey is my systems ContactID. My contacts can have multiple emails. The SentEvent identifies the Send and the Subscriber Key which I can retrieve ...
2
votes
1answer
44 views

How to callout a REST web service using OAuth

Could anyone please assist me on how to call an external web service using OAUTH. Could you please show me the base template class I would use. I am given the following instructions on Envisionme. I ...
0
votes
1answer
25 views

salesforce web service call another web service

I have 2 questions Can salesforce webservice call another web service? If yes does the webserice needs to be marked as future method? Can I Call static salesforce webservice from trigger how does ...
0
votes
0answers
10 views

To upload or download from Dropbox

Can it be possible to download or upload data from/to Dropbox from Salesforce using webs service API if any provided.
0
votes
1answer
26 views

Basic Web service execution

I am new Salesforce. I've a requirement you call an external Java Web service from apex using SOAP. JAVA developers has provided their Wsdl which is supposed to be used in Salesforce to generate apex ...
1
vote
1answer
40 views

Making Apex Callouts to consume Custom Apex Web Service STEPS?

I have two Orgs, the service ORG and the client Org. I want to feed data from service ORG into client org. I read from these two places: ...
1
vote
0answers
10 views

Get API URL for BulkConnection

Is there a "right" way to get the correct endpoint for establishing a BulkConnection (force-ws.jar)? I'm calling an external app from a visualforce page (already authenticated, passing session & ...
3
votes
1answer
67 views

How to overcome 120 sec timeout in REST webservice calls?

I have a requirement where a user can request some data as an email attachment from one of our visualforce pages. I am fetching the data over a REST web service call from an external system. Using ...
0
votes
0answers
14 views

REST API to insert multiple records + Batch Apex [duplicate]

How to insert multiple records in single api call? I am exposing apex methods. Is it possible to insert multiple records using rest api? Please provide sample code!
2
votes
1answer
43 views

Future metod: How to avoid writing same query multiple times

Below is my class where I have to use same list results 4 times. So I moved it to a class. But since the methods postCases_User and postCases_Queue are future methods, I believe I can use only ...
2
votes
2answers
67 views

how to call rest API from Html or javascript

i have one rest class for insert account , it's working with workbench.developerforce.com but now i want to call same using HTML or JavaScript , how can i do ? My Code : ...
0
votes
0answers
34 views

Error code : REQUEST_RUNNING_TOO_LONG

I have an application which call a Salesforce web service to upsert data into it but since yersterday, I get errors and I don't know why because it workded since a lot of times. These are logs : ...
0
votes
0answers
20 views

Which API and integration method will help keep a long-term set of services?

I've been tasked with finding ways to integrate our new Sales Force instance with our existing ERP, possibly leveraging our local WebMethods ESB. I will be focusing on inbound requests, such as the ...
0
votes
1answer
27 views

Implementing Web Server OAuth Authentication Flow

I am trying to implement Web Server Authentication Flow.I have two orgs , source and destination.In destination org I have created connected app and rest resource where I am using post method of rest ...
1
vote
2answers
43 views

how to serialize JSON and send it through Trigger every time edited and inserted?

I am just curious to know how to send JSON data with post method using @future call-outs to external system with a trigger (for after insert and update) , any one can help me to show some example on ...
1
vote
1answer
57 views

salesforce to salesforce using partner wsdl in Apex - query call failing

I am trying to connect to other salesforce org. I have partner wsdl. I have used FuseIT SFDC explorer to create Apex class from this partner wsdl. I am successfully able to login to other SF org using ...
3
votes
1answer
100 views

Continuation Error “Apex class 'ApexPage.ContinuationController' does not exist”

I am trying to use Continuation for the first time and am hitting a strange error. Below is a simple page I created with both a Synchronous Callout and a Continuation Callout button. When, in my ...
3
votes
1answer
61 views

Salesforce Wsdl not valid any more

I tried today to generate a proxy with the entreprise.wsdl file (also tried with partner.wsdl) and noticed that the file was 'not valid'. When generating the proxy, everything seems to be okay, but ...
1
vote
0answers
26 views

X-Content-Type-Options Header Missing

Web Browser XSS Protection is not enabled, or is disabled by the configuration of the 'X-XSS-Protection' HTTP response header on the web server
3
votes
0answers
59 views

From Salesforce how to invoke ext webservice using SAML assertion?

We have salesforce connected to SAML SSO(OKTA) and OKTA is IDP for salesforce. We have a Java legacy system which provides a Web service and it is also part of SSO. Legacy application expects SAML ...
1
vote
0answers
70 views

Call external REST web service using Javascript

I have a custom object AccountNotes__c and a curstom field URL. When I save a new Note I have to check for the valid URL by calling external REST webservice and once it is valid data, the record has ...
1
vote
0answers
138 views

You are not authorized to access this API

You are not authorized to access this API Error 403 PUT I am getting this response when i am updating non admin users signature in gmail using email settings api. The following code is working ...
2
votes
1answer
29 views

Retrieving events from web services API

I am trying to call the Web Services API to retrieve events using the code examples on the following pages: ...
0
votes
1answer
46 views

Apex Callouts retrieve audio content

I am making a callout to a 3rd party to retrieve an mp3 file The endpoint is a HTTP GET (https://api.ubity.com/recording?key=HV5nPTLk98UPeTLxqwA8&callid=ABC12345) The response is the actual MP3 ...
3
votes
1answer
43 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 ...
1
vote
2answers
41 views

WebService SOAP Request Log

Is there a way to log the incoming SOAP request before concerned apex call is called. I mean what is responsible for converting SOAP request into call to apex class? Also for call out to SOAP web ...
1
vote
1answer
29 views

Webservice keyword

While exposing apex class as SOAP web service, we declare the class as global and include a method with keyword Webservice and static. However in few scenarios I have seen few instance variable as are ...
1
vote
1answer
36 views

Unable to lock record from Apex web service method

I have a class that's used to prioritize leads in a lead queue based on rules that our business users can create and manage. One method in particular is used to find the first record in the ...
1
vote
0answers
18 views

Service invokation pattern [closed]

I often need to call many external SOAP based services from controller. Is there a best practice framework / design pattern we can follow to manage code better.
1
vote
1answer
78 views

Salesforce webservice API Input parameter limit

I have requirement to expose Apex Class method as SOAP type webservice API which has more than 50 fields (input parameters) but when I try to save my code its giving me compilation error saying ...
0
votes
1answer
25 views

Unable to Save email in the Activity History

I have a custom button to send an email. The code is working fine. Now I would like to insert those email in the activity history. I did set mail.setSaveAsActivity(true). But when I click the ...
0
votes
1answer
33 views

How to post some inbound message to salesforce with username and password?

I want to post some inbound request to salesforce by using salesforce credentials. Can anyone suggest me the best and secure way to make this communication happen between external system and ...
1
vote
1answer
26 views

Schema error while trying to upload a WSDL

I'm trying to upload the following wsdl to generate apex classes.But i'm getting a schema error Do I need to make any changes on the xsd? Error: Failed to parse wsdl: Found schema import from ...
1
vote
1answer
82 views

Accessing Named Credentials' data in apex

Is there a way of accessing the data (exact fields) stored in Spring 15' Named Credentials from apex? For example the username, password and endpoint link fields? And I don't mean for the callout, but ...
0
votes
1answer
38 views

Trouble executing Salesforce web service!

I have written a web service in Salesforce, that when executed by a 3rd party, would create a Task in Salesforce. When I am trying to execute it using Apigee (https://snap.apigee.com/1ShlySU), I am ...
0
votes
1answer
25 views

Data Requirements for Security Review to test Web Services in a package

I have a package that I am trying to get through security review. The package is really an API layer that other packages rely on, so it doesn't have a UI you can submit calls through - just global ...
0
votes
0answers
36 views

REST Web Service

I am trying to create a rest based web service to get a list of account. @RestResource(urlMapping='/v1/wsAccounts/*') global class wsAccounts_V1 { @HttpGet global static List<Account> ...
1
vote
2answers
84 views

Setting up a connection to an external web service

I haven't worked with web services and was hoping someone could provide some guidance. I have read the API documentation for this external web service API and I need some help understanding how I can ...
2
votes
4answers
249 views

How to insert a record and then do callout? [duplicate]

I have a visualforce page where i get a serial number and making callout to get the related information from external system on click of a button. Before making the callout i need to insert a record ...
0
votes
1answer
60 views

Getting desired XML Structure using Apex Webservice

I have a inbound webservice written in Apex. When I am generating the WSDL file and validating the Request XML format I see a flat XML structure. This is not what am expecting. I would like to have ...
0
votes
1answer
44 views

Webservice test class [closed]

I need some help writing a test class for the following. Any help/suggestions would be greatly appreciated. Thanks global class Oppty_SearchResponse{ webservice Boolean isSuccess {set;get;} ...
6
votes
2answers
237 views

Salesforce API vs. APEX webservice performance

We currently have a .NET application that retrieves/updates data in Salesforce using the API. We are encountering long processing time where the session can time out as well as a bad user experience. ...
1
vote
1answer
83 views

Custom Button that will change a field in a custom object and consequently invoke before update trigger on the same object

I have a ajax cutom button that calls a apex class and the class is changing status field of that object. Now I want to invoke a before update trigger on the same object, which is not working. ...
1
vote
2answers
70 views

Need help writing a test class for webservice classes

I am having difficulties writing a test class for two of my classes. One is a webservice class and the other is a helper class. I have those two working in my code just fine, but am absolutely lost as ...
2
votes
1answer
133 views

SOAP Stub Call out XML Request Data in Apex not in debug log

I like to capture and store XML Request data in custom object before making SOAP api call out for some special purpose, I don't currently see option to get the actual request data in apex, the ...
1
vote
3answers
16 views

Create/Update Contact/Lead from ESB

I have technical design needs to be finalized. I want to get some expert opinion about which approach would be better. Please provide me helpful feedback. Here is brief about my design: ESB will ...