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

3
votes
2answers
23 views

Customizing web services endpoint(URL) across sandbox/PROD orgs

I am calling a external web service via APEX and it is working fine..However the endpoint(URL) is hard coded in the code and it would be different when I migrate the code to QA sandbox..How can ...
2
votes
1answer
31 views

Equivalent data type in standard or custom object to persists blob data?

I have built a webservice in salesforce so that it is being consumed from SAP. So, when a sales order is created in SAP, it would call the salesforce webservice and post the sales order details and ...
1
vote
1answer
18 views

How to create UPSERT operation on CASE object in Salesfoce using .NET

I went through following link , it says , you can access SF objects using EnterPrise WSDL in .NET. .Net to Salesforce Integration My question is , what is the best method by which i can create and ...
0
votes
0answers
18 views

Failed to send request to sales force url

I am working on Java ( JSP & Servlet ) I am creating JAVA Dynamic Web project to Create SalesForce Data Loader... I am using SOAP API as Web Service... I am using sales force "Partner WSDL" API ...
1
vote
0answers
20 views

Outbound Messages, Apex Callouts or Polling

We need certain events in SalesForce to trigger our web service endpoints being hit (to kick off internal processes). As I understand it, there are 3 options here: Outbound Messages Apex Callouts ...
2
votes
1answer
48 views

How to pass parameters in web service class in Salesforce

I am writing a web service that would expose Salesforce fields and this one would be called by an external system. The scenario is that when a user there would views a record detail page of the ...
0
votes
0answers
11 views

Email Templates, Custom Components and Web Service - avoid repeated calls to webservice that return invariant results

I have an email template. Which requires to send data from a web service. Current scenario is i call template for each contact i need to send email to. Template is linked to a custom component and a ...
1
vote
1answer
30 views

Test class for Batch class with web service callout and test data

I have a batch class which in turn makes REST callouts(No future annotation). Now I want to write test class for same. Currently what i tried - -StaticResourceCalloutMock class in salesforce - ...
3
votes
2answers
68 views

JSON response parser returning some fields null

I am trying to parse a JSON response from google. All the fields are populating with the exception of 'lat' and 'lng'. Not sure what I need to do to get the coordinates. Any help is much ...
2
votes
1answer
90 views

How to set timeout for web service call

I want to call out my web service after the insert process of a custom object with a delay of 2 minutes. But i am getting that exception FATAL_ERROR|System.CalloutException: Read timed out How can i ...
3
votes
3answers
76 views

Making rest request with Oauth

I have all four Oauth token consumerKey, consumerSecret, accessKey and accessSecret. I need to make a request to a url from my apex code. Is there any library or a way to make this request. In java I ...
0
votes
1answer
35 views

Looking for hands on example or reference for SOAP API integration

I am looking for some help in understanding Salesforce SOAP integration. Also, what would you suggestion,if I am a non-java person then the efforts i need to take up via books and tool to learn the ...
0
votes
0answers
23 views

Unable to call C# web service

I am trying to invoke an asmx web service via button click in a visualforce page. But i am getting that error: Access control configuration prevents your request from being allowed at this time. ...
0
votes
1answer
25 views

How to invoke a C# web service from a Salesforce trigger

I have written a C# web service and it has a web method that gets last inserted Account object from Salesforce by using Salesforce Web Service API after that inserts these datas to an MSSQL database. ...
3
votes
1answer
29 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
1answer
41 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
28 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
22 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
35 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
87 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
21 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
89 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
23 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
13 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
36 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
28 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
131 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
78 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
47 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
25 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
79 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
74 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
130 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
56 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
77 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
59 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
40 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
234 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
37 views

Generate a Case using web services? [closed]

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
42 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
105 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
42 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
127 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
116 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
41 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
74 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
52 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
41 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
628 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 ...