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

2
votes
1answer
14 views

SANDBOX - Access webservice getting below error - added my machine IP in the Remote Site Detail

ERROR The requested URL could not be retrieved While trying to retrieve the URL: The following error was encountered: • Access Denied. Access control configuration prevents your request from ...
0
votes
0answers
25 views

Why is my Google request denied?

I am trying to integrate Salesforce with Google textsearch in order to acquire a JSON response with desired information. My request is getting denied and I can't figure out why. Any help is much ...
1
vote
0answers
17 views

Error while getting response in SOAP Webservice Integration

I am facing issue while invoking a webservice call. Request is getting processed properly at other system end but since its an async call I get back response with empty body. Problem is this ...
0
votes
0answers
15 views

C# Api compare to ApexDataloader

I am trying to load table from salesforce into excel cvs, for that used, I tested the ApexDataLoader and found out that to load whole lead table for my organization take around 4~5 min, and have ...
0
votes
1answer
28 views

Webservice failure to call

Please find the class below. The method called is ASCS_DaaS_APISoap. I am unable to understand where it breaks and not fetching real data.Can some one please help me out in this? //Generated by ...
4
votes
1answer
66 views

JSON.deserializeUntyped returns “unrecognized token: 'NULL'”, when JSON token has a null value

We're creating our JSON responses to my salesforce callouts in house, so I'm guessing the issue has to do with how we're representing NULL in the JSON response. Here's a snippet of the response SF ...
0
votes
1answer
9 views

How to create a public service(Without authentication) in SalesForce which redirect to any external URL using community application?

I have a following use case(I have no option to use site.com). 1. Agent create a time sensitive public link(Without authentication) for any document (Document is on Amazon S3 but public link is ...
2
votes
1answer
50 views
+150

DupeBlocker Error - No Access to web service from contact object

We're using DupeBlocker v 3.6.10 and getting an error when creating an account that seems to be a problem with it's error handling. If we try to create an account from the contact, it will throw the ...
2
votes
0answers
18 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 ...
1
vote
1answer
12 views

Website Integration and inserting data into two different objects

I'm fairly new to Salesforce coding but familiar with the admin tasks. Here is what I'm supposed to do - I have a webpage (Wordpress site) through which a user can subscribe to various products. ...
1
vote
0answers
27 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 ...
0
votes
0answers
20 views

Error in webservice-Rest Service?

I am following this blog Post Shivasoft where you can get Records From One Org to Another Using REST API. I have Followed the Same Thing As mentioned tin Blog Still I am Not getting any results This ...
3
votes
2answers
113 views

No service available for class for Soap call

I'm searching a simple Webservice test on Salesforce. I created a simple WS global class AccountPlan { webservice String area; webservice String region; //Define an object in apex that ...
2
votes
1answer
49 views

Unable to determine IP address from host name when trying to hit external system from salesforce

I get the below error when trying to hit the external system Unable to determine IP address from host name The dnsserver returned: Name Error: The domain name does not exist. The ...
2
votes
1answer
36 views

How to make a callout to a webservice that is connected through a VPN?

I am trying to make a callout to a SAP webservice that is connected through a VPN. It is not accessible and getting IO Exception Unauthorized end point error. System.CalloutException: IO ...
2
votes
0answers
20 views

Loading data before Webservice callouts?

I need Opportunity record to be inserted in test class and then use that Id in webservice call out. Tried every different combination but it asks me commit the DML operation before doing webservice ...
2
votes
1answer
64 views

Mocking a webservice CalloutException for a SOAP Fault

I have a mock class for a web service that implements WebServiceMock. With some requests the actual web service being mocked will return a SOAP Fault that results in a System.CalloutException in ...
-7
votes
1answer
59 views

FATAL_ERROR|System.ListException: Duplicate id in List [duplicate]

HI I wrote the webservice i am updating the field in quote object field based upon the opportuntiy field but it showing an error FATAL_ERROR|System.ListException: Duplicate id in list Error occur ...
6
votes
1answer
107 views

Creating a class by consuming a WSDL document Schema:attribute

I have a problem with salesforce functionality. I've created flat WSDL file but when I am trying to create class in salesforce I still get this error: Error: Failed to parse wsdl: Unsupported ...
1
vote
2answers
48 views

Missing SOAP action header

Im trying to get the session ID of another user in the same org by sending the following request by using the data from my enterprise wsdl and its an developer edition. <?xml version="1.0" ...
0
votes
2answers
71 views

How get SMS Details in Sandbox by using Twilio API

I have install the Twilio package in Sandbox and I have register the mobile number in Twilio it generates new number. Then I need to get the SMS and create a new case in Sandbox.Where will I get the ...
0
votes
0answers
45 views

Rest Web Service call from same org

Class: @RestResource(urlMapping='/GetService/*') global with sharing class getservice1 { @HttpPost global static String postRestMethod() { ...
0
votes
0answers
38 views

Receiving SOAP messages in APEX

I have been trying to figure this for a long time now, my issue is : There is an outbound message that is being sent from a workflow rule (on create) with the Record Id, I want to capture this ...
1
vote
1answer
135 views

Calling Apex class from Javascript button: how to pass an sObject as a parameter?

I've got an apex class with a webservice method that I'm trying to fire from a custom button on the page layout of the object the method will be doing stuff to. My javascript for the custom button ...
0
votes
1answer
35 views

Generate a Case using web services?

My scenario is that I have to generate a case using a webservice, basically to replicate a web to case scenario. Since a standard web to case service does not support attachments. I don't know to ...
0
votes
1answer
37 views

need help for web service

global class creatorder { global class batchwrapper { webservice List<Batch__c> child {get;set;} webservice List<Quote_line_Item__c> data {get;set;} webservice ...
2
votes
1answer
88 views

Test Class Error for web service callouts “System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out”

Actually there are many answers for this error "System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out", I tried all possible solution but couldn't ...
1
vote
1answer
33 views

Web To Case using Webservices/Sites

I have to implement Web To Case. I have thought of two options for the same using Sites or Web Services. I have queries related to the same. If I implement it using Web To Case, then, How can I ...
4
votes
1answer
112 views

How frequently does Salesforce refresh DNS information?

I have a managed package deployed that is calling web services supplied by another party. On Tuesday last week all calls to this web service started throwing a: System.CalloutException: IO ...
2
votes
2answers
104 views

How to get machine id or physical machine address in Visualforce page or in Apex?

I have been consuming SAP webservices from salesforce using callout mechanism. Currently, i am sending userid in the argument to the webservice to ensure that the call is from a valid salesforce user. ...
0
votes
1answer
38 views

How to check the current environment of Salesforce

I am writing a page to reset password for end users. In that page, the end user is supposed to remember their old password in order to proceed. So I used the below code to check whether their old ...
2
votes
2answers
73 views

Salesforce webservice performance

I am using Partner WSDL to get data from salesforce, To do it I am using those steps: 1. Getting the object list: sforceService.describeGlobal() Getting the table field ...
1
vote
1answer
47 views

Salesforce end point url creation to send request to our instance

Please give me some idea how we can create End Point url to give another third party with access token consumer key and others. I need to give url so that third party person will send request to me ...
1
vote
0answers
13 views

I want to get the view associted with Account, Leads, Contacts etc [closed]

I want to get the views associted with Account, Leads, Contacts etc... .I'm using the Partner WSDL, and I don't see any documentation on how to retrieve this information. I would also like to retrieve ...
0
votes
1answer
34 views

How can I debug SOAP API exceptions in Java code?

Sorry if this is a noob question. I'm new to developing for SalesForce and the Java SOAP API and am trying to debug a weird problem in an existing Java app. I'm getting this exception when invoking ...
1
vote
1answer
423 views

You have uncommitted work pending. Please commit or rollback before calling out

I have written a callout class as below.But when a account is created/updated am getting the exception like "You have uncommitted work pending. Please commit or rollback before calling out" at 36 ...
2
votes
1answer
138 views

Creating a CSV file from APEX and storing it on a third party server using FTP

I have a requirement from one of my client where they want to send Contact and its related object data to there local server in CSV format. The want to establish a FTP connection so that file can be ...
1
vote
2answers
71 views

Implementation of AWS Toolkit test classes. Test.setMock Have any done it?

Background We are integrating with AWS Services, so we installed the Amazon Toolkit and right after installed we run the Apex Test Execution and we find out that there are 6 test methods not passing ...
1
vote
2answers
540 views

Salesforce Certificate Exception: No subject alternative DNS name matching found

We are trying to make a callout to "https://support.breadwinnerhq.com/bwpayment/v1/accounts/somevalue" from Salesforce. But, we are facing an exception: System.CalloutException: ...
7
votes
2answers
138 views

Getting record count through WebService bypassing LIMITS

I have written the below web service class to return record count. But it is returning the following message "System.LimitException: Too many query rows: 50001". How could I overcome this limit? ...
9
votes
1answer
397 views

Spontaneous Internal Salesforce.com Error - What do I do?

I have a piece of code that has been working for the past few months without problem until recently. I cannot say to the exact day this started happening as this is still in a testing phase and this ...
0
votes
1answer
47 views

Redirecting a pageReference according to a picklist value

I created a class and include a webservice method that will generate the pdf and attach it to a record, but it's not working when I choose a specific value in the picklist in order to generate the ...
5
votes
0answers
182 views

Error - System.CalloutException: Received fatal alert: bad_record_mac

An existing integration from Salesforce to Oracle stopped working this morning. When I send an http request from Salesforce to an Oracle webservice, I get a message "System.CalloutException: Received ...
0
votes
1answer
56 views

Integrate Magento with SalesForce

What is the best (free) way to integrate salesforce with magento? Basically we want to be able to import the contacts of anyone who buys from our page into salesforce. - I could not find any useful ...
2
votes
1answer
109 views

Restful webservice with XML in Salesforce

I am trying to write this below xml from Contact object.Problem is compostion of the xml with nested childs is really complex.Can you help understand to demistfy this problem. "<request ...
1
vote
2answers
48 views

List Out of Bounds of 1

I am checking for products duplicated in my webservice but it is showing a "List Out of Bounds of 1" error in the below code. **for(integer j=0.prodsj++)** // Error Occur Point { { ...
4
votes
2answers
594 views

Method defined as testMethod do not support web service callouts, test skipped

I have been struggling with this error for a few days now. I get this error every time I try to run a test for a method that has an httpCallout. I followed the architecture from ...
1
vote
2answers
136 views

Sending a SOAP web-service for each Lead insert

I have a requirement where I have to send out a web service to a third party system every time a Lead is inserted. I can do it by calling the web service via trigger. However I want to make sure that ...
12
votes
1answer
111 views

How does Salesforce behave during scheduled outages?

If you have a scheduled outage with Salesforce in which Salesforce is 'Completely unavailable' what error message does a client of the APIs see when someone tries to call it? Is it a login failure? ...
1
vote
1answer
136 views

How to login and get a list of accounts from C#

I am trying access the Salesforce API from an external application. I've done the following: I've gone to the API tab and generated the WSDL. I then ran the .NET framework's WSDL tool to generate ...