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

0
votes
0answers
12 views

You are not authorized to access this API

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 ...
2
votes
1answer
19 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
29 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 ...
-2
votes
0answers
24 views

500 Error Internal Error

At our call center the reps are getting the error "error 500 internal server error web service call, Requested resource Not Available. Status is Internal' Server Error Status Code 500" when trying to ...
3
votes
1answer
30 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
13 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
14 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
23 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 ...
0
votes
0answers
9 views

Service invokation error handling logging [duplicate]

I am calling many external SOAP based web services from controller. Is there a best practice framework / pattern / app using which i can achieve exception handling and logging while calling external ...
1
vote
0answers
14 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
36 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
14 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
29 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
17 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
48 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
32 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
19 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
32 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
42 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
111 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
33 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
40 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
187 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
74 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
51 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
52 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
14 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 ...
1
vote
1answer
30 views

Incorrect Outbound Message Organization ID?

I'm trying to check for the organization id, per SF instructions, when processing an outbound message in a web service. I am comparing the org Id in the message to one I have put in the ...
2
votes
2answers
44 views

Use System.runAs() in a Test Method for calling web service

Everytime I solve a problem, another appears. More than a problem, I would say a SalesForce restrictions. So, I want to test some code (which makes a web service call in order to display some data) ...
5
votes
2answers
64 views

Unable to Generate Apex Code from WSDL

I have two salesforce orgs and I am trying to do SOAP integration between these two via WSDL import. From the first Salesforce Org (let us say S1) I did the following a) Clicked on the "WSDL" of ...
0
votes
0answers
37 views

Bounce email and email limit handle in apex

I have a list of emails. There is a wrong email address in it. i want to send email message to other address by avoiding wrong address in the list. so how can i do? problem: when i did that all ...
0
votes
0answers
13 views

Give file name when download something from amazon s3

I am Integrating amazon s3. i have successfully done but the problem is file name is not coming which i want. code is here for file name.
2
votes
0answers
93 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 ...
-1
votes
1answer
63 views

How to Write a Test Class for Webservice Class?

Situation I wrote a web service class. From my understanding unit tests in salesforce are supposed to test the whole functionality (end to end). But I don't know how to test this external interface. ...
1
vote
1answer
41 views

Is it possible to call external webservice(API) in ExactTarget?

We suppose the action will be triggered in some steps in Automation Studio or Journey Builder. After action is triggered, a remote webservice call is made to 3rd party system, and we can use the ...
1
vote
0answers
26 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 ...
2
votes
2answers
52 views

Use Outbound Message and Salesforce API in the Same Asmx Web Service

I've created an asmx web service to handle an outbound message from Salesforce and an update operation to Salesforce. I originally created this web service to only handle outbound messages and I ...
1
vote
1answer
93 views

Waiting for Response. Google Time Zone and GeoCode API

I am trying to make a TimeZone class that does the process to get a time zone. I am using the Google API's. In order to get the timezone you have to make a callout to the Google Geocode API and get ...
0
votes
1answer
29 views

Retrieve data from a WebService and fill Standard Page (Lead) fields

Here's my scenario: I need to create a basic search, based on the custom field "ZipCode__c". User types in the zip code and then I have to use a WebService to retrieve the address information ...
2
votes
0answers
16 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. ...
0
votes
0answers
13 views

Is there (or will there be) a .Net version of the Force.com Web Services Connector (WSC)

I'm wondering is there (or will there be) a .Net version of the Force.com Web Services Connector (WSC)? Reading this page might suggest there is a .Net version of the library.
1
vote
1answer
226 views

how to send multiple parameters to restful webservice [duplicate]

i want to send multiple parameters to restful webservice in salesforce HttpRequest req = new HttpRequest(); req.setHeader('Content-Length', '0'); ...
2
votes
1answer
49 views

Delete a ressource from cloudinary

I'm using cloudinary to store images. when I try to delete a resource, I get the following error message: HTTP method DELETE doesn't support output. my source code: Http h = new Http(); ...
0
votes
0answers
32 views

A connection with the server could not be established

I am creating a connection to salesforce from Delphi. I am able to login to salesforce and get issue details when doing it as an application. After this I created a windows service to do the login . ...
0
votes
0answers
27 views

test class help

I am trying to write a test class for a web service class and i am not able to get the full code coverage can any one guide me with this would be of great help Class : global class ...
0
votes
0answers
26 views

ESOAPHTTPException with message - A connection with the server could not be established

I am creating a connection to salesforce from Delphi. I am able to login to salesforce and get issue details when doing it as an application. After this I created a windows service to do the login . ...
0
votes
0answers
14 views

Data from 2 Webservices to be shown on Customer Life Cycle (Visualforce Page)

I have a requirement where I need to show Customer Life Cycle (on landing page for customer - visualforce page) depicting various stages of him registrating for flat, welcome call, allotment letter, ...
3
votes
1answer
65 views

Developing a Realtime Integration pipeline between Salesforce to Salesforce

I plan to develop an integration pipeline between two salesforce dev orgs for the following use case. Use Case : Send a custom object record (having two string fields only) from Salesforce ...
4
votes
1answer
54 views

What is the difference between webservice and HTTP service?

What is the difference between webservice and HTTP service? I have used HTTP service with REST api. But not able to understand what do we use webservice keyword and what is the difference between ...
1
vote
2answers
118 views

Exposing class as webservice

For an example I have a webservice class as shown below .This should be exposed to one of the portal. This portal is having a callbackurl to configure.That means this portal is going to hit my ...