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
0answers
18 views

Web service API email send with attachement

I'd like to send an attachment (let's say an on-the-fly generated HTML document) with an HTML email I'm sending via the Web Service API. I don't see anything called out in the docs for this, just ...
1
vote
1answer
19 views

Problem with Process Builder + Invocable Method + Webservice Call out I am getting an error and I am stuck

I am trying execute a web service call to our backend system when the opportunity is closed won I am attempting to do a POST call to our endpoint. All the api call is really carrying the account name ...
0
votes
0answers
12 views

Real time Data -Polling service Vs Outbound Messeges [closed]

We have full sandbox environment.We are integrating information from SQL SERVER-SFDC.Then We need to Perform real time integration of Forecast on it. As I understand it,there are 2 options here: ...
2
votes
1answer
18 views

Salesforce web service in java limiting results to 500 records

We're using the Enterprise web service to access SalesForce. We built our enterprise.jar this way: java -classpath ./force-wsc-33.0.3.jar;./ST-4.0.8.jar;D:/apps/jdk7u25/lib/tools.jar ...
3
votes
1answer
31 views

Create test Class for RESTFUL WEB SERVICE CALLOUT

Good day everyone, I am trying to create a restful web service callout everytime a contact in created,updated or deleted. I used this link as my reference ...
0
votes
1answer
27 views

Trigger Question [closed]

I am trying to write a trigger the executes when an opportunity is closed won & a value on a field within the related account is < 1. I am also looking to pass a few fields from the account ...
1
vote
1answer
24 views

Unknown Error for SOAP connection

I have created classes from WSDL2APEX, see my previous question for example: Test on WSDL2APEX classes. But this is a different bunch of classes. The webservice in the example works well. I have read ...
0
votes
0answers
22 views

Why 'Methods defined as TestMethod do not support Web service callouts' error?

I have simple trigger that changes value of one field based on value of other field. Following is test class for that Trigger @isTest public class SMS_OPT_OUT_TC{ static testmethod void ...
2
votes
1answer
24 views

Simulate timeout for a callout?

Alright, I have a HTTP callout that every once in a while would timeout, even with the max timeout set. So to combat this, I have a try, catch, try, catch block to make the call out a second time if ...
0
votes
0answers
29 views

Test asynchronous non http callout

I've read this about testing asyncronous callout and i've a few question. What's the purpose of public String requestLabel in the controller? This label exist only for testing purpose? What if i don't ...
0
votes
1answer
21 views

Advice in adding Web Service functionality to Salesforce pages

I am hoping someone can advise... This is our plan/setup; We use "Service Cloud" to handle cases, we have record types to determine the right layouts for the case. This is expanding rapdily with ...
0
votes
0answers
18 views

use dynamic mapping object for web service

i am trying to write a GET web service to fetch a parent object say delivery and its child say delivery line. This is my first experience with web service.and the requirement is like i have to write ...
0
votes
1answer
27 views

How to make a soap web service callout without using wsdl in salesforce

I need to create a property in propertyware account from salesforce using web service callout from salesforce to propertyware. I have the wsdl of propertyware but i am unable to convert it to apex ...
2
votes
2answers
34 views

First Time WSDL2Apex : Trying to Reference WSDL Class but receiving Compile Error: Method does not exist or incorrect signature

This is my first time using WSDL2Apex, or attempting a Callout to a 3rd party API, so please bare with me. Implementation Goal: Contract is a child-object of Quote. When a new Contract record is ...
1
vote
1answer
23 views

WebServiceCallout in InstallHandler

I have a package with a post-install script. The script calls a class which uses WebServiceCallout. When running separately, it is OK, but when running in the Post Install script context, it fails. ...
5
votes
1answer
40 views

Issues Testing Webservice Callouts

I am trying to write a test class for a simple HTTP POST web service call. (I am just sending a three line json body to an endpoint). Where I having trouble is trying to test my apex code. I ...
2
votes
1answer
35 views

Error in Generate WSDL: Apex Generation Failed Unable to find complexType for {http://soap.sforce.com..}RelationshipReferenceTo

I'm trying to Generate from WSDL. I have created a WSDL for one class containing webservice methods (MyClass) and now generating the class from wsdl in another org. Initially I was getting error ...
2
votes
1answer
44 views

403 - Forbidden Cannot authenticate user

Not understanding why I am getting this error if I check this URL in Soap UI it is working perfectly. Getting this error after setting body 'Input is not valid JSON at character 1 of ' public static ...
1
vote
1answer
13 views

How to use the apexrest with C# [closed]

I developed a code to generate Accounts from the web in PHP but now I'm in front of a chlange to make it in C# for an emergency here is my PHP code, if you can help me how to do it ..... many thx ...
0
votes
0answers
38 views

How to connect to MS SQL server from Salesforce without using Connectors, External Objects and data loader

How to connect to MS SQL server from Salesforce without using Connectors, External Objects and data loader as these all are required maintenance cost. Please help me on this, struggling a lot on this. ...
1
vote
0answers
18 views

WCF Salesforce SOAP Client switch endpoint

Is there a way to switch WCF client endpoint address after login call? I don't use app.config file: var binding = new BasicHttpBinding(BasicHttpSecurityMode.Transport); var endpoint = new ...
1
vote
1answer
42 views

Web service callout from salesforce to .net using SOAP service

When i update a picklist value from 'Requested' to 'Approved' then it should invoke a trigger which in turn calls an external web service (.net web application) and pass those data of the updated ...
2
votes
1answer
45 views

Where can i find the header information in a webservice callout request?

we are integrating Salesforce and SAP systems. For that we are making a callout to SAP with username and password in the header. When i checked the debug log the callout_request entry contains an xml ...
0
votes
0answers
13 views

Interact with REST webservice using OpenId authentication

I've successfully set up social sign-on for Salesforce, so a new user will be created when registering via Google and I can successfully get them to land in Salesforce. However, the piece I am stuck ...
1
vote
2answers
36 views

Salesforce-Trizetto Integration Issues

We are facing the below error while making call out, to Trizetto web service(GetGroup_GroupId) after generating classes by WSDL2Apex. “System.CalloutException: Web service callout failed: Unable ...
1
vote
2answers
72 views

Salesforce Session ID Invalid right after call

I have been through this for a few days now with no luck. I make a session id authorization, that works, and get my session ID like so: $sf_session = ...
0
votes
1answer
37 views

Oauth call to webservice

I am trying to call this web service via a wordpress plugin: https://na25.salesforce.com/services/apexrest/echosign_dev1/template/load/a1t31500002HmjV?email=VAR Adobe said I need to have a valid ...
0
votes
0answers
24 views

Getting Web service callout failed: Unable to parse callout response. Apex type not found for element assessmentcode

I am new to soap and salesforce development so please bear with me. I used the wsdl2apex tool to generate Apex classes. When I try to call a method, I get Line: 331, Column: 1 System.CalloutException: ...
3
votes
1answer
50 views

Authorization for APEX Webservice

We're writing an internal Apex REST webservice to accept POST requests from an external system to call. The kink here is that we cannot control the process in which the external system calls our ...
0
votes
0answers
48 views

REST api using token in php curl for webservice

I am very new to salesforce and trying to invoke a webservice of Echo sign through my php plugin I am set up a connected app and used oAuth2 to get a token and I am getting it for sure. Great. Now ...
0
votes
0answers
10 views

Can I insert the record of a custom object by passing parameters through url like web to lead?

By using Web service can I achieve this functionality of creating the the records for a custom object by passing parameters through url.
1
vote
1answer
17 views

ePayment Processing Services and Salesforce

I'm looking to interface with an external ePayment system from US Bank. Is there an app in the app exchange that will allow customers in a portal to enter payment information? Or should I just build ...
0
votes
1answer
21 views

Multiple Webservice Test Mock

I have a method that calls multiple webservices in it. When I implement a mock webservice how does it tie that mock webservice to the actual web service it is mocking? Is it possible to create ...
2
votes
1answer
672 views

Callouts to web services started failing with CalloutException: Server chose TLSv1

Today I started receiving the following exception when making callouts to external web services: System.CalloutException: IO Exception: Server chose TLSv1, but that protocol version is not enabled ...
7
votes
1answer
74 views

How to set session Id in Apex (Salesforce to Salesforce Integration via SOAP)?

I have created a webservice class in Salesforce Org B (destination). The purpose of this webservice is to accept values and create a custom object record in Org B. I generated partner WSDL from ...
0
votes
1answer
56 views

Salesforce SOAP Login() returning NULL value in Session Id

I have imported the partner WSDL and I am getting NULL value in ServerURL/SessionId after login() call. partnerSoapSforceCom p = new partnerSoapSforceCom(); partnerSoapSforceCom.LoginResult e = new ...
5
votes
1answer
91 views

Salesforce Integration - Query

We have to create a record in our partner Salesforce CRM instance with a certain set of parameters. They informed us that they have built a webservice class for this purpose and instead of sending ...
1
vote
1answer
53 views

REST Webservice not working via Anonymous but works via Client

I have two Salesforce Orgs A (Source) & B (Target). I have created a webservice for that creates an account in B with just one parameter "nam". I have created an connected app (OAuth settings ...
1
vote
1answer
26 views

Package with web-services to integrate Salesforce with a 3rd party

I`m going to create a package that other Salesforce users can install to integrate with a 3rd party system. When package is installed 3rd party knows nothing about new system where that package was ...
0
votes
0answers
32 views

Help testing a web service callout for a trigger that doesn't directly request a callout

I'm attempting to include a mock web service callout in a test for a trigger, though the trigger and test don't explicitly execute a callout. I've found this documentation on creating the mock, but ...
1
vote
0answers
31 views

SMS messages not sending using webservices in visualforce page?

Hi i m tring to send sms using webservices through visualforce page. but i m not getting any message these two are my wsdl apex classes: public class wwwWebservicexNet2 { public class ...
0
votes
0answers
78 views

How we can send http request with XML data and binary attachment?

Currently while doing integraion with one of client server. We need to send attachment. Sever accepts attachment in binary form along with the XML data(file attribute). i.e. The XML Payload have two ...
3
votes
1answer
57 views

Salesforce - Maximum simultaneous requests callout limit

Salesforce says Maximum simultaneous requests to URLs with the same host for a callout request is 20 Statement is very simple to read but i am not very clear what does that mean. Can any one ...
2
votes
1answer
66 views

REST Webservice @HttpGet

I am having trouble compiling a REST webservice class that I have created. @RestResource(urlMapping='/LeadSAP/*') global with sharing class SAPLeadWS { @HttpPost global static String createNewLead( ...
0
votes
0answers
20 views

How to call PHP API for sending lead from Salesfroce

this is URL need to call and sand leads. s2.leadsrain.com/ringless/api/add_posted_lead.php client given URL, Username And API KEY, now how can i use above information to call api from salesforce ...
3
votes
2answers
46 views

Public REST Web service query

We are planning to develop a REST webservice for creating a lead in our org. This webservice should be accessible to all of our partners. We are planning the following Create a web service class ...
0
votes
0answers
16 views

Connect two salesforce Personal Org [duplicate]

Can someone guide me how i can connect two salesforce personal Org using REST Services. Basically I have very little idea about Web Services. But i want to integrate two Org using REST web service. ...
0
votes
0answers
45 views

Getting weird HTTP Response

I am trying to integrate two SF dev boxes. I have created connected app/remote site settings etc..and now I am at the stage where I am issuing a HTTP request from my Source SF org to Target SF org. ...
1
vote
2answers
36 views

Regarding OAuth2 class

I am unable to find official guide containing the description (methods, properties etc) of this Salesforce inbuilt class (OAuth2). Can someone let me know ?
1
vote
0answers
35 views

How to resolve Apex CPU time limited exceeded while running the batch?

I have a batch class Batch apex: public void execute(Database.BatchableContext BC, List<List<String>> records) { Rfleet_GetValues_DzC2G prodData = new Rfleet_GetValues_DzC2G(); ...