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
1answer
27 views

How to call Apex Class using Outbound Message in Salesforce?

I need to invoke Apex Class using Outbound message in Apex . I have Webservice Apex class which created attachment as a PDF returned from a VF Page. I want to invoke this class through a outbound ...
2
votes
2answers
34 views

How to skip login and remote authorisation pages when authenticating using oauth webserver flow?

I want to access a rest webservice hosted in a salesforce org from another Salesforce org. I am using the web server flow for authentication. When hitting the authorisation URL, I am redirected to a ...
0
votes
1answer
17 views

Authenticate external user [on hold]

New to webservices, I wanted to know how do I authenticate a user of an external application on the click of a button in opportunity details page and then send encrypted opp details and populate opp ...
0
votes
0answers
16 views

Salesforce.com integration with Oracle-EBS [closed]

I am newbie to the oracle products. Could you please help me how to integrate SFDC with Oracle EBS.Any information on this would be really helpful. Thanks, VenkatSforce
-3
votes
1answer
45 views

Best Practices to call on-premise webservice from Salesforce

what is best way to call the on-premise ws from salesforce. How can we make the connection and do the handshaking ? Regards. Ankit
2
votes
3answers
46 views

MS-SQL Integration with Salesforce [closed]

What is the best way to implement a Batch process between MS-SQL and Salesforce? How to get the data from MS-SQL to Salesforce using any tool or webservice? Are there any materials to learn about ...
2
votes
2answers
34 views

Workflow Outbound Message to Salesforce Web Service

I would like to configure an outbound message in standard workflow to send a SOAP message to a Salesforce Apex webservice listener. I have seen documentation on how to implement a SOAP listener in ...
0
votes
1answer
26 views

Getting error while deserialize

I am trying to deserialize a jason request but getting error that Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at ...
0
votes
0answers
30 views

Automate data import process

We currently have multiple flat files that need to be imported daily. Currently, we are manually importing the files using data loader. We are simply importing to Accounts and Opportunities. The ...
1
vote
1answer
16 views

How to retrieve & insert the success “id” from web service response?

I have got a web service provided to me, which I use & insert a record into the external application through Salesforce "Task" object. As a response, the following is returned by the web service ...
0
votes
1answer
28 views

Web Workers in Sales Force

I have a details button that when clicked sends the record (opportunity) for an Apex controller that sends this record to a web service (SOAP). The problem is that my browser comes to halt in sending ...
0
votes
2answers
77 views

Heap Storage Limit exception while creating attachment

I have a custom object Call2_vod__c which is detail to Account. It has a Signature_vod__c field that is in encoded base64 format. Now for one Account, I can create an attachment from any of the ...
0
votes
2answers
27 views

field value contained in list

I have an apex class where I need to check if a field value of a particular record is contained in a pre-defined list. Please find my code here.Can someone please help? Apex class: global class ...
0
votes
1answer
34 views

Web Service Callout exception: Invalid Session Id

public class webServicesTriggerClass { @future(callout = true) public static void webServicesMethod(list<ID> Id1) { partnerSoapSforceCom.Soap sp = new partnerSoapSforceCom.Soap(); ...
1
vote
2answers
45 views

@future method: Unsupported parameter type

I am trying to copy records from one org to other via web services. I am calling a class which has logic written into a trigger. But @ future method is not taking sObject list as a parameter. Can ...
1
vote
0answers
34 views

Calling a webservice method from apex test class

I have a simple webservice method that updates Account Status from a custom Button in the Opportunity page: Global class Backoffice { WebService static Integer GenerateBackofficeTask(id opId) { ...
-2
votes
3answers
32 views

Outbound Message vs WS callout [closed]

I have got an requirement where I need to update the Oracle system. I am confused on what should I do . Should I make Outbound message ? Should I consume their WSDL and update the records with ...
0
votes
1answer
27 views

Redirect VF Page after sendEmail

I have a VF page with a submit button, when the user clicks on the submit button it sends an email. I need the page to redirect to a thank you page after they hit submit. I am getting this error: ...
-1
votes
0answers
23 views

No operation available for request {http://soap.sforce.com/schemas/class/WsOrder}UpsertOrders

since yesterday (after the maintenance) we are getting those errors for all out custom WSs. any idea why? it worked great last week..... thanks!
1
vote
1answer
37 views

IO Exception: External server did not return any content

I have a window service that is password protected.I have generate Apex class from that window service WSDL.Now i am try to call the service using stub method its shows me a error message"IO ExCeption ...
0
votes
2answers
57 views

Suggestions for Unit Tests on an APEX Class that Calls a Web Service and Retrieves XML

I am attempting to write a series of unit tests on a 2300+ line APEX class. The gist of the class is that it makes a Rest Request and retrieves an XML object from a web service. The class then ...
12
votes
2answers
167 views

Rest Routing with Multiple Wildcards / Supporting REST Routing for Nested Resources

Question Running into a SalesForce REST mapping issue involving multiple wildcards in an url. Is this not supported? Is there anyway to supporting routing for nested resources? My Setup I have this ...
3
votes
2answers
35 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
44 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
25 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
23 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
36 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
88 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
14 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
41 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
91 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
117 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
99 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
51 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
29 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
41 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
30 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
66 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
43 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
24 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
40 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
102 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
36 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
116 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
29 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
18 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
56 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
52 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
150 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
166 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 ...