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
7 views

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
17 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
11 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. ...
0
votes
0answers
19 views

Insert a record into a junction object from wordpress site [closed]

I have Contacts Object, ContactProductSubscription (Junction) and Product Object The junction object stores the Products that a contact is subscribed to. As per the requirement - A person can ...
1
vote
0answers
25 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
19 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
112 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 ...
1
vote
1answer
38 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
34 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
18 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 ...
1
vote
1answer
57 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
55 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
104 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
45 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
70 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
44 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
37 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
117 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
36 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
85 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
30 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
104 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
101 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
37 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
71 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
33 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
379 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
132 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
499 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
137 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
390 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
45 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
180 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
54 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
103 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
47 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
562 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
130 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
109 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
129 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 ...
2
votes
2answers
347 views

Apex Rest JSON serialization Error: Invalid type for Http* method: …Map.Object

Background I'm developing some generics apex web service (Rest). The response should be an standardised json schema like this: { "res": true, "message": "Records Upserted Ok", "data" : ...
2
votes
1answer
90 views

Custom button on listview to perform action on multiple leads (Lead Rotator)

I'm pretty new to apex. I did some java and other various languages in school, but this has been my first real project since then. The objective: Provide the capablity to rotate leads in a ...
0
votes
1answer
68 views

Getting the correct data extension rows in AMPScript

Our subscriber row has many rows, two of which are SubscriberKey, and ModifiedDate I have a data extension that contains info about what the subscriber purchased it is a one to many relationship, ...
4
votes
2answers
172 views

Certificate error from client side while sending HTTP request from Salesforce

I am trying to send an Http request from Salesforce to a third party system. Following is the code for http request. HTTP httpInstance = new HTTP(); HTTPRequest request = new HTTPRequest(); ...
1
vote
2answers
1k views

How to set values for input list parameters for the webservice methods in XML Request for SOAP UI?

I want to test my webservice using SOAP UI tool. I've loaded the WSDL in SOAP UI and it generated the request as given below. I know how to set input values for simple type. But i do not know how to ...
4
votes
1answer
149 views

Apex scheduled job to call .net web services hosted in IIS periodically

I just wondering if someone could guide me to a document of how to perform Apex scheduled job – To call .net web service hosted in IIS of external server on a periodic basis. My requirement is every ...