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
2answers
21 views

Need help writing a test class for webservice classes

I am having difficulties writing a test class for two of my classes. One is a webservice class and the other is a helper class. I have those two working in my code just fine, but am absolutely lost as ...
2
votes
1answer
11 views

SOAP Stub Call out XML Request Data in Apex not in debug log

I like to capture and store XML Request data in custom object before making SOAP api call out for some special purpose, I don't currently see option to get the actual request data in apex, the ...
1
vote
3answers
11 views

Create/Update Contact/Lead from ESB

I have technical design needs to be finalized. I want to get some expert opinion about which approach would be better. Please provide me helpful feedback. Here is brief about my design: ESB will ...
1
vote
1answer
22 views

Incorrect Outbound Message Organization ID?

I'm trying to check for the organization id, per SF instructions, when processing an outbound message in a web service. I am comparing the org Id in the message to one I have put in the ...
2
votes
2answers
35 views

Use System.runAs() in a Test Method for calling web service

Everytime I solve a problem, another appears. More than a problem, I would say a SalesForce restrictions. So, I want to test some code (which makes a web service call in order to display some data) ...
5
votes
2answers
46 views

Unable to Generate Apex Code from WSDL

I have two salesforce orgs and I am trying to do SOAP integration between these two via WSDL import. From the first Salesforce Org (let us say S1) I did the following a) Clicked on the "WSDL" of ...
0
votes
0answers
22 views

Bounce email and email limit handle in apex

I have a list of emails. There is a wrong email address in it. i want to send email message to other address by avoiding wrong address in the list. so how can i do? problem: when i did that all ...
0
votes
0answers
5 views

Give file name when download something from amazon s3

I am Integrating amazon s3. i have successfully done but the problem is file name is not coming which i want. code is here for file name.
2
votes
0answers
46 views

How to pass the parameters from one salesforce org to another salesforce org?

VF Page <apex:page controller="Apex_Rest_DemoController"> <apex:form > <apex:pageBlock > <apex:pageBlockButtons > <apex:commandButton value="Create ...
-1
votes
1answer
41 views

How to Write a Test Class for Webservice Class?

Situation I wrote a web service class. From my understanding unit tests in salesforce are supposed to test the whole functionality (end to end). But I don't know how to test this external interface. ...
1
vote
1answer
30 views

Is it possible to call external webservice(API) in ExactTarget?

We suppose the action will be triggered in some steps in Automation Studio or Journey Builder. After action is triggered, a remote webservice call is made to 3rd party system, and we can use the ...
1
vote
0answers
19 views

Import and use client provided .cer certificate in api callout

This may be a common issue that many of us have faced but unfortunately not getting concrete answer on any of the blogs/forums. I want to use client provided external .cer certificate in making API ...
2
votes
2answers
34 views

Use Outbound Message and Salesforce API in the Same Asmx Web Service

I've created an asmx web service to handle an outbound message from Salesforce and an update operation to Salesforce. I originally created this web service to only handle outbound messages and I ...
1
vote
1answer
61 views

Waiting for Response. Google Time Zone and GeoCode API

I am trying to make a TimeZone class that does the process to get a time zone. I am using the Google API's. In order to get the timezone you have to make a callout to the Google Geocode API and get ...
0
votes
1answer
22 views

Retrieve data from a WebService and fill Standard Page (Lead) fields

Here's my scenario: I need to create a basic search, based on the custom field "ZipCode__c". User types in the zip code and then I have to use a WebService to retrieve the address information ...
2
votes
0answers
10 views

ExactTarget - How would I link back to the GroupDefinition from the CustomerKey given in the AsyncActivityStatus CustomerKey object

I am trying to take a AsyncActivityStatus return object and get the GroupDefinition based on the CustomerKey it returns for a Group Refresh (4 digit number). I've tried looking up by ID, no result. ...
0
votes
0answers
13 views

Is there (or will there be) a .Net version of the Force.com Web Services Connector (WSC)

I'm wondering is there (or will there be) a .Net version of the Force.com Web Services Connector (WSC)? Reading this page might suggest there is a .Net version of the library.
1
vote
1answer
82 views

how to send multiple parameters to restful webservice [duplicate]

i want to send multiple parameters to restful webservice in salesforce HttpRequest req = new HttpRequest(); req.setHeader('Content-Length', '0'); ...
2
votes
1answer
32 views

Delete a ressource from cloudinary

I'm using cloudinary to store images. when I try to delete a resource, I get the following error message: HTTP method DELETE doesn't support output. my source code: Http h = new Http(); ...
0
votes
0answers
24 views

A connection with the server could not be established

I am creating a connection to salesforce from Delphi. I am able to login to salesforce and get issue details when doing it as an application. After this I created a windows service to do the login . ...
0
votes
0answers
26 views

test class help

I am trying to write a test class for a web service class and i am not able to get the full code coverage can any one guide me with this would be of great help Class : global class ...
0
votes
0answers
17 views

ESOAPHTTPException with message - A connection with the server could not be established

I am creating a connection to salesforce from Delphi. I am able to login to salesforce and get issue details when doing it as an application. After this I created a windows service to do the login . ...
0
votes
0answers
10 views

Data from 2 Webservices to be shown on Customer Life Cycle (Visualforce Page)

I have a requirement where I need to show Customer Life Cycle (on landing page for customer - visualforce page) depicting various stages of him registrating for flat, welcome call, allotment letter, ...
3
votes
1answer
53 views

Developing a Realtime Integration pipeline between Salesforce to Salesforce

I plan to develop an integration pipeline between two salesforce dev orgs for the following use case. Use Case : Send a custom object record (having two string fields only) from Salesforce ...
4
votes
1answer
40 views

What is the difference between webservice and HTTP service?

What is the difference between webservice and HTTP service? I have used HTTP service with REST api. But not able to understand what do we use webservice keyword and what is the difference between ...
1
vote
2answers
67 views

Exposing class as webservice

For an example I have a webservice class as shown below .This should be exposed to one of the portal. This portal is having a callbackurl to configure.That means this portal is going to hit my ...
0
votes
0answers
27 views

User authentication in building an integration

We have an integration requirement in which we are creating a new record in an external system and then passing the id of that record to salesforce and finally updating the parent record in ...
1
vote
1answer
67 views

Display webservice callout return data on a VF Page without saving data in records

I'm kind of new on Salesforce. I've built an Apex class that makes a callout to a webservice and I want to display on a VFPage the data that the callout returns. I've just been able to accomplish it ...
1
vote
0answers
12 views

Send Integers in Outbound Message?

Is it possible to coerce Number fields being sent through an Outbound Message to be of the Integer type? Is it possible to somehow modify the WSDL to simply use type="xsd:int" instead of ...
0
votes
1answer
97 views

I am not able to parse string as it needs double quotes format

Please find the code. Apikey= ApexPages.currentPage().getParameters().get('Apikey'); jsonstring='{FirstName:"}'+Apikey; public void parseJsonString(){ JSONParser parser = ...
0
votes
1answer
17 views

Which content types are available to the data folder object?

Looking at http://help.exacttarget.com/en/technical_library/web_service_guide/objects/datafolder/ How can I find out what values are available to the ContentType property? I know of "email", and ...
0
votes
1answer
33 views

Web services calls in javascript button

I have a custom button that runs a web service call for an Apex class that makes a SOAP call to an external application. The problem is that this process is executed on the main thread and ends up ...
0
votes
0answers
58 views

SOAPAction HTTP header missing in groovy program

I'm trying to do a login and get a session ID back from the SalesForce web service. Here's my code which is written in Java/groovy: def proxy = new Proxy(Proxy.Type.HTTP, new ...
0
votes
0answers
19 views

Monitoring changes to apex objects using Webservices

I have a use case in which I will be getting data based on the services I publish from Salesforce (REST or SOAP). The external system will call our exposed methods. We don't want to do the database ...
0
votes
0answers
86 views

XML parsing in APEX and display the VF

Please explain me how to do xml parsing into apex to show this XML data into visualforce page and also insert this XML Data into custom object. <?xml version="1.0" encoding="UTF-8"?> ...
2
votes
1answer
37 views

Running Metadata API in Apex as a specific user

Calling the metadata API in Apex requires admin permission (or at least the "Modify All Data" access). To run the code as a non-admin user I am thinking I need to first login as the sys admin, get a ...
1
vote
1answer
29 views

Webcallout through proxy

We have a webservice they is being moved to a proxy. It works when calling it by normal means (using Advanced REST Client plugin), but when calling from Salesforce we get an 'Unable to Tunnel through ...
1
vote
0answers
41 views

Matching a WebService class to an inbound request

I went through the answer given at matching a WebService class to an inbound request whose format I cannot change but i am not clear how rest class POST method will get called from outbound message I ...
0
votes
0answers
24 views

AppExchange Security Review of Client

We are planning to release an offering to AppExchange. Our offering includes clients which interacts sfdc endpoints. However, the client does not interact with gzip encoding. Will it be an issue for ...
2
votes
1answer
55 views

Passing data between two different Salesforce Orgs

A noob to SF here. I was wondering whether it is possible to send data from one dev org to another org via a webservice call. I have two dev envs (D1 & D2). D2 has a REST Class defined which can ...
2
votes
1answer
35 views

How to add authentication credentials to web reference

We switched our implementation from pulling in the WSDL as a SERVICE reference to a WEB reference. But we are not able to authenticate.Perviouly we used SOAPClient and added the credentials using ...
0
votes
0answers
34 views

Public voting for knowledge articles

Is it possible to capture more than one public vote for knowledge articles? I'm trying to expose Knowledge Articles through Sites.com and would like to be able to capture user ratings. While fiddling ...
0
votes
0answers
49 views

Porblem in linking input and search

I want to display materielNumber, materielDesignation , storageLocation , storageLocationDesignation ,quantity on visual force page when I click search button Here is my sample code: My visual force ...
1
vote
1answer
46 views

Can we capture the web service call out request and web service call out response times?

Can we capture the web service call out request and web service call out response times.I am able to see these times in debug logs.But i am unable to capture these time.Could you please help on this. ...
0
votes
0answers
63 views

Errors while parsing sales force partner wsdl using wsimport in command prompt

I want to connect to sales force using java ,when i try to parse partner.wsdl using wsimport i was getting following errors parsing WSDL... [WARNING] src-resolve: Cannot resolve the name 'tns:ID' ...
0
votes
0answers
24 views

Reduce the encryption size of web service payload

In Salesforce, we know that the governor limit for the web service payload is 3 MB. However, we have noticed that sometimes the size of the actual data is less than 500 kB. The encryption and the ...
0
votes
1answer
45 views

Custom Apex soap API

We have written a custom Apex soup API for integrating with ERP System. Our wsdl works fine .Currently we are accepting the records response one by one sent by ERP. Now my question is if ERP sends the ...
0
votes
0answers
142 views

How to generate an XML namespace prefix manually

I have created a class by using wsdl 2 apex and consuming a wsdl file provided by BizTalk. Previously I have consumed a similar .Net web services and have never ran into any issues. Now when the ...
0
votes
0answers
46 views

Steps to build Force.com Web Service Connector using Maven

Can anyone please provide step wise guide for this? Considering no knowledge of Maven. I have downloaded the zip file from here - https://github.com/forcedotcom/wsc. Also have installed Maven with ...
0
votes
2answers
92 views

Call webservice from visualsource flow [closed]

How do I call a webservice (using client provided wsdl) and call its functions from withing a salesforce application (flow)?