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

Blob Data corrupt when use Ajax proxy

Hi I want to get image from a public url and want to display this on page. For doing this I am making an ajax proxy request because public url is on cross domain: ...
1
vote
1answer
24 views

Verify getChildElement() is not null

As a follow up to my previous post: REST API calls to 3rd Party (Pardot), multiple @future callouts There are two responses I expect back when I attempt this Web Service callout to Pardot: 1) ...
2
votes
1answer
30 views

Web Service limits for inbound calls to managed package

I am developing an AppExchange managed package intended for multiple organizations. I have a web-service in the managed application which I will invoke from my java based server to achieve few ...
0
votes
1answer
14 views

How to get SoapFault from external webservice?

I am invoking external webservice from Salesforce. For some cases if the response is not available the external system will send status message as SOAP default in the Response Header. ...
0
votes
0answers
9 views

How to refresh field values in a standard VF page by making a callout to a webservice on click of a button

I have a Get Temp button on Candidate page and would like to refresh values of Temperature field based on external web service call to Weather.com by passing on the Candidate Location Zip Code as ...
1
vote
1answer
23 views

single webservice for multiple outbound messages

Currently I have a .asmx webservice for each salesforce object that sends an outbound message. For example AccountNotificationService.asmx and ContactNotificationService.asmx. Each Contact ...
1
vote
1answer
33 views

Issue with Adding reference Webservice WSDL to VS2010

I have generated a WSDL for an Apex webservice i have created and trying to call it from a webpage in VS2010. After adding this as reference i am getting the following error Error 1 Unable to ...
-1
votes
1answer
48 views

Using Batch APEX to generate template body dynamically with merge field values

I am using Amazon SES to send mails to the all opportunities using batch apex with the body of email template. I'm using the solution proposed in an answer to Using APEX to assemble HTML Letterhead ...
0
votes
1answer
31 views
2
votes
1answer
41 views

how to get sfdc space utilization via SOAP API?

In my requirement, i need to get SFDC space utilization and display data into third-part systems. But, after i searching SOAP API, I didn't found any api description about space utilization. guys, if ...
1
vote
0answers
30 views

Salesforce integrate with SAP Server using External DataSource

I am trying to integrate with SAP Server using External DataSource feature in salesforce but i am getting the exception once i click the validate and Sync button. Exception: he external server is ...
0
votes
1answer
46 views

Insert new records in to custom object from json string in salesforce

I am working with the new JSON Parsing functionality, I have API URL that contain json string.I have created one VF page that displays JSON string data in pageblock table in record format from API ...
1
vote
3answers
35 views

Write test class for webservice callout in apex class

I have one apex class in which I am calling one webservice of one of my managed package installed in my org. When I am writing the test class for my apex class, it is throwing the error callout ...
0
votes
1answer
43 views

Get monster job id in salesforce [closed]

Can anyone tell me how to get the id of the job advertisement in monster? My apex code: String requestString = '<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">'+ ...
1
vote
1answer
26 views

What is the max size of an attachment the we can move to 3rd party server using SOAP web service (Not REST) from Salesforce?

I need to upload the attachments of the records belongs to an object in Salesforce to 3rd party server. I checked for solutions on this and found every one used REST API to achieve this as it is the ...
0
votes
2answers
24 views

Invoke Sharepoint online webservice from salesforce apex class

I need to show the sharepoint online library documents in salesforce, how to acheieve this in salesforce. Also how to invoke the sharepoint meta information from salesforce apex class.
0
votes
0answers
22 views

Certificate Error with Rest API : PKIX path building failed

I am getting this error "PKIX path building failed " when i make Rest call to web-service. Earlier it was working fine, but recently some certificate expired from web-service side and this ...
1
vote
1answer
40 views

How to use soap api?

Can anyone share me how to use soap with example Tried with rest. It is cool. If someone can share step by step process to approach soap .
3
votes
1answer
47 views

Winter 15 Release and WSDL issue on Apex Class

I am relatively new to apex classes and web services but have been getting on fine until I upgraded the Sandbox of a clients environment to the Winter '15 release. Now when I generate the WSDL to ...
3
votes
1answer
18 views

Sending Contact Information To External Site With AJAX

I am working on a website that is using Salesforce for membership management purposes. Salesforce is the single repository for membership information and needs to be able to send membership ...
0
votes
0answers
11 views

Querying suppression lists with WCF service

We are trying to use suppression lists to build a bespoke subscription centre. We need to be able to subscribe/unsubscribe users to particular categories of email which we send (i.e. not global ...
0
votes
0answers
2 views

ExactTarget encrypted WCF connection returning unencrypted response

We are trying to establish encrypted async communication with the WCF service according to instructions given in the documentation. We are able to send encrypted messages which are received and ...
0
votes
3answers
60 views

Json response getting truncated when getting from Salesforce

I am facing a peculiar problem where, I am querying an external webservice using HTTP Rest APIs, and getting a Json response. Now the problem is when the response payload is large, a chunk of data is ...
0
votes
1answer
51 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
65 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 ...
-3
votes
1answer
64 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
59 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
53 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
52 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
45 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
25 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
34 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
105 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
32 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
84 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
128 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
42 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
48 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
41 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
vote
1answer
66 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
109 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 ...
13
votes
2answers
181 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
52 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
54 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
26 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
33 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
58 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
157 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
17 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
63 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 - ...