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

How to get the list of values from the Soap Response?

I am hitting a web service method. This Web service method returns values in the XML format. When I am trying to get this element. I am getting a single ElementName with the following code in debug ...
0
votes
0answers
6 views

External Identity - Dynamic OAuth Callback URL

When we sell one of our product to a customer, we create a new Web Server dedicated for him. This Web Server will obviously have a unique name (http address). For now, after creating the new Web ...
0
votes
0answers
15 views

What could be the root cause for “External server did not return any content” issue when doing a callout from salesforce to external system? [on hold]

Getting below exception on doing a callout from Salesforce to external system:- Bad Request: Error 400 – Please contact your System Administrator.,,,FOr EXPERIAN IO Exception: External server did ...
0
votes
0answers
13 views

Need help on Salesforce integration with Active MQ(messaging bus) [on hold]

We need to integrate real time data update from saleforce to external application using Active MQ. Lets say if there is any update/change in salesforce, i need to send this change to other ...
0
votes
0answers
21 views

Calling Webservice class using java script button of managed package from another managed package

I have a tricky situation here We have one managed package in which we have one web service class I want to call that web service class from JavaScript button that button will be in another managed ...
1
vote
1answer
28 views

Apex Amazon ItemLookup Request

I have tried for quite some time to get past the irritating 'SignatureDoesNotMatch' error that Amazon keeps sending back to me from my webservice request to their API. First, in case you are very ...
0
votes
0answers
13 views

IBM Case Manager to Salesforce Integration

I need to Integrated IBM Case Manager to Salesforce org. When I did some searching I found that there is tool provided by IBM called - IBM Cognos which provide facility to integrate to salesforce very ...
0
votes
2answers
25 views

How to capture Social Media feeds in Salesforce

We have a requirement of Capturing the following to get converted to SFDC cases? Tweets having mentions to our Company Name Comments in FB page Linkedin Posts Does anyone know any API which ...
0
votes
1answer
36 views

Salesforce Web Server Oauth2 returning HTML instead of Login URL

I was fiddling out with Salesforce Oauth2 using the below link. https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_web_server_oauth_flow.htm Here when I do a ...
2
votes
3answers
144 views

System.CalloutException: You have uncommitted work pending during Test for callout in @future method

SOLUTION An object has workflow rule that sends an email and it was not mocked EDIT I am simply trying to test future method that invokes SOAP service, but I get an exception. EDIT 2 I have @...
1
vote
2answers
39 views

How to consume a soap web service using workbench?

I would like to call a SOAP web service created in salesforce, using Workbench. There are some samples for other types of web services from the apex workbook but not for SOAP :-( My class contains 2 ...
0
votes
0answers
15 views

How to find out the SoftPhone Layout Settings

I understand that SoftPhone Layouts are related to Open CTI and its all exposed through Open CTI methods. I'm just wondering if the softphone layout(equivalent to getSoftphoneLayout method) can be ...
1
vote
1answer
26 views

How to Import large amount of data to Marketing Cloud

I am trying to build a web service in visual studios required to send large amount of data to Marketing Cloud by using API. Can some one point me to the right direction how can I accomplish that
1
vote
1answer
18 views

Testing Webservice Callouts : Methods defined as TestMethod do not support Web service callouts

The following class is wsdl2apex generated. Can anyone help me on how to write test class for the same //Generated by wsdl2apex public class e_services { public class EPort { public ...
0
votes
0answers
30 views

How to kill any webserive call in salesforce.My Code has strucked

How to kill any webserive call in salesforce. My code has given webservice call. Its uses implements Queueable, Database.AllowsCallouts. Now since morning call has strucked, it was showing previously ...
0
votes
2answers
56 views

Apex rest response: cyrillic characters encoding issue

[SOLVED] Fixed in Spring Framework: restTemplate.getMessageConverters() .add(0, new StringHttpMessageConverter(Charset.forName("UTF-8"))); I have cyrillic characters in response. I prefer using ...
0
votes
0answers
23 views

Error while generating war file for custom Salesforce webservice

I was able to generate the enterprise stub (jar) from enterprise wsdl and configured the project in eclipse and was able to make a login call and get the session id. connection = Connector....
1
vote
0answers
19 views

Web Service method over loading or default parameters

I have a web service method to load invoices into Salesforce for product type A and I am trying to modify the same method for product type B invoices. However the Product type B has couple more ...
1
vote
1answer
44 views

Automatically refresh a standard page layout

I have a webservice callout, and therefore I update a field on pagelayout according to the callback. The problem is I have to refresh the page layout (F5) everytime to see the field updated on my page ...
1
vote
0answers
51 views

Webservice - Salesforce call “BASIC authenticate Pre-emptively” service [closed]

Is anybody have example for salesforce call webservice with BASIC authenticate Pre-emptively? I have scenario to invoke webservice BASIC. Using username password authentication. And need to parse some ...
2
votes
1answer
38 views

Apex Rest Wrapper - Error Attempt to de-reference a null object

So I've done quite a bit of searching on the forum and am learning a ton. I really appreciate the experts on this forum who are willing to help out. I am taking inspiration/following the code posted ...
1
vote
1answer
38 views

WebService callout failed

This Error is coming. I am wondering what could be the possible issue. I have given permission to the objects. Web service callout failed: WebService returned a SOAP Fault: INSUFFICIENT_ACCESS: ...
3
votes
1answer
131 views

Unable to parse large JSON in APEX

I have 52 keys and pairs in my JSON data, and I want to parse it, but the APEX method only supports 35 arguments to the method. Then how can I parse large JSON data with the APEX class? My JSON is: {...
0
votes
1answer
35 views

JSON Parser show: Expected WooProductModel.Image but found [line:1, column:2491]

I am trying to parse a JSON response from my own site. All the fields are populating with the exception of images. Not sure what I need to do to get the images data. Any help is much appreciated. My ...
1
vote
0answers
23 views

Web service API email send with attachement

I'd like to send an attachment (let's say an on-the-fly generated HTML document) with an HTML email I'm sending via the Web Service API. I don't see anything called out in the docs for this, just ...
1
vote
1answer
67 views

Problem with Process Builder + Invocable Method + Webservice Call out I am getting an error and I am stuck

I am trying execute a web service call to our backend system when the opportunity is closed won I am attempting to do a POST call to our endpoint. All the api call is really carrying the account name ...
2
votes
1answer
26 views

Salesforce web service in java limiting results to 500 records

We're using the Enterprise web service to access SalesForce. We built our enterprise.jar this way: java -classpath ./force-wsc-33.0.3.jar;./ST-4.0.8.jar;D:/apps/jdk7u25/lib/tools.jar com.sforce....
3
votes
1answer
41 views

Create test Class for RESTFUL WEB SERVICE CALLOUT

Good day everyone, I am trying to create a restful web service callout everytime a contact in created,updated or deleted. I used this link as my reference http://blog.jeffdouglas.com/2009/03/16/...
0
votes
1answer
28 views

Trigger Question [closed]

I am trying to write a trigger the executes when an opportunity is closed won & a value on a field within the related account is < 1. I am also looking to pass a few fields from the account ...
1
vote
1answer
40 views

Unknown Error for SOAP connection

I have created classes from WSDL2APEX, see my previous question for example: Test on WSDL2APEX classes. But this is a different bunch of classes. The webservice in the example works well. I have read ...
0
votes
0answers
32 views

Why 'Methods defined as TestMethod do not support Web service callouts' error?

I have simple trigger that changes value of one field based on value of other field. Following is test class for that Trigger @isTest public class SMS_OPT_OUT_TC{ static testmethod void ...
2
votes
1answer
28 views

Simulate timeout for a callout?

Alright, I have a HTTP callout that every once in a while would timeout, even with the max timeout set. So to combat this, I have a try, catch, try, catch block to make the call out a second time if ...
0
votes
0answers
32 views

Test asynchronous non http callout

I've read this about testing asyncronous callout and i've a few question. What's the purpose of public String requestLabel in the controller? This label exist only for testing purpose? What if i don't ...
0
votes
1answer
25 views

Advice in adding Web Service functionality to Salesforce pages

I am hoping someone can advise... This is our plan/setup; We use "Service Cloud" to handle cases, we have record types to determine the right layouts for the case. This is expanding rapdily with ...
0
votes
0answers
18 views

use dynamic mapping object for web service

i am trying to write a GET web service to fetch a parent object say delivery and its child say delivery line. This is my first experience with web service.and the requirement is like i have to write ...
0
votes
1answer
70 views

How to make a soap web service callout without using wsdl in salesforce

I need to create a property in propertyware account from salesforce using web service callout from salesforce to propertyware. I have the wsdl of propertyware but i am unable to convert it to apex ...
2
votes
2answers
43 views

First Time WSDL2Apex : Trying to Reference WSDL Class but receiving Compile Error: Method does not exist or incorrect signature

This is my first time using WSDL2Apex, or attempting a Callout to a 3rd party API, so please bare with me. Implementation Goal: Contract is a child-object of Quote. When a new Contract record is ...
1
vote
1answer
23 views

WebServiceCallout in InstallHandler

I have a package with a post-install script. The script calls a class which uses WebServiceCallout. When running separately, it is OK, but when running in the Post Install script context, it fails. ...
5
votes
1answer
53 views

Issues Testing Webservice Callouts

I am trying to write a test class for a simple HTTP POST web service call. (I am just sending a three line json body to an endpoint). Where I having trouble is trying to test my apex code. I ...
2
votes
1answer
67 views

Error in Generate WSDL: Apex Generation Failed Unable to find complexType for {http://soap.sforce.com..}RelationshipReferenceTo

I'm trying to Generate from WSDL. I have created a WSDL for one class containing webservice methods (MyClass) and now generating the class from wsdl in another org. Initially I was getting error ...
2
votes
1answer
48 views

403 - Forbidden Cannot authenticate user

Not understanding why I am getting this error if I check this URL in Soap UI it is working perfectly. Getting this error after setting body 'Input is not valid JSON at character 1 of ' public static ...
1
vote
1answer
17 views

How to use the apexrest with C# [closed]

I developed a code to generate Accounts from the web in PHP but now I'm in front of a chlange to make it in C# for an emergency here is my PHP code, if you can help me how to do it ..... many thx &...
0
votes
0answers
49 views

How to connect to MS SQL server from Salesforce without using Connectors, External Objects and data loader

How to connect to MS SQL server from Salesforce without using Connectors, External Objects and data loader as these all are required maintenance cost. Please help me on this, struggling a lot on this. ...
1
vote
0answers
27 views

WCF Salesforce SOAP Client switch endpoint

Is there a way to switch WCF client endpoint address after login call? I don't use app.config file: var binding = new BasicHttpBinding(BasicHttpSecurityMode.Transport); var endpoint = new ...
1
vote
1answer
54 views

Web service callout from salesforce to .net using SOAP service

When i update a picklist value from 'Requested' to 'Approved' then it should invoke a trigger which in turn calls an external web service (.net web application) and pass those data of the updated ...
2
votes
1answer
75 views

Where can i find the header information in a webservice callout request?

we are integrating Salesforce and SAP systems. For that we are making a callout to SAP with username and password in the header. When i checked the debug log the callout_request entry contains an xml ...
0
votes
0answers
15 views

Interact with REST webservice using OpenId authentication

I've successfully set up social sign-on for Salesforce, so a new user will be created when registering via Google and I can successfully get them to land in Salesforce. However, the piece I am stuck ...
1
vote
2answers
41 views

Salesforce-Trizetto Integration Issues

We are facing the below error while making call out, to Trizetto web service(GetGroup_GroupId) after generating classes by WSDL2Apex. “System.CalloutException: Web service callout failed: Unable ...
1
vote
2answers
78 views

Salesforce Session ID Invalid right after call

I have been through this for a few days now with no luck. I make a session id authorization, that works, and get my session ID like so: $sf_session = 'https://login.salesforce.com/services/oauth2/...