The webservices tag has no wiki summary.
1
vote
1answer
20 views
How to get the Session Token of a Standard User
I would like to simulate some web service calls, for which I need the Session Token. With an Admin user, I can simply click on the Developer Console and get UserInfo.getSessionId(). However, with a ...
1
vote
0answers
26 views
Can Enterprise WSDL be used as Data Source for Web Parts?
I am designing a solution which requires the Portal Team (front end team) to display top Level information as clickable link (Year On Year financial data) pulled-out from Force.com App. When the end ...
2
votes
1answer
15 views
Is there a way to integrate with a Prototol Buffers web service?
I'd like to call out to a Web Service from an Apex class. The Web Service is basically a .NET WCF service that speaks ProtoBuffers.
In the .NET/Java world there a bunch of libraries that can speak ...
1
vote
1answer
23 views
Synching of data between two orgs
Class is called from the trigger in response to update of an opportunity object
I am syncing data between two Saleforce Orgs.From the opportunity object I have been able to uspsert data in another ...
0
votes
1answer
18 views
API Calls - What Script/ Page/ Etc Made The Call?
Currently, our Web Development team is trying to mop up years of scattered coding techniques (PHP based sites), and in recent weeks, something disturbing has happened. Our API calls to Salesforce ...
2
votes
2answers
47 views
Synchronization of data between two salesforce org
I have tried to connect Saleforce to salesforce for data syncronization using web services.
This is what I followed.
1) I used partnerwsdl to login to the salesforce org B.
2)Created custom ...
0
votes
1answer
72 views
Apex webservice
Below given is the simple web service.This web service has been written in apex and I am calling it from Apex as I am working on two salesforce orgs.I am calling getMessage () from my org and passing ...
3
votes
1answer
56 views
Salesforce to salesforce using enterprise WSDL files
I am trying to connect salesforce to salesforce using enterprise wsdl file.I have been able to login and then I have assigned returned session id to the session header object through which request ...
2
votes
1answer
66 views
Javascript alert on button click
I want to prevent users from being redirected when they click a button and picklist value is false.
I have a custom button on Opportunity related list on account. If the value of Account type is ...
1
vote
1answer
43 views
Creating custom WSDL so that external system can invoke our webservice class
We are trying to integrate SFDC with External system, were external system will invoke our webservice class(consumers od of WSDL) and salesforce will accept the request(Providers of WSDL).
Here ...
1
vote
1answer
30 views
servlet logic with Apex
I want to implement for the below flow.
I do post http request to the another end point url.
that end point system will do http posting to the return url that I have specified for more information.
...
5
votes
2answers
67 views
Sensitive Data and Visualforce Pages
I've been evaluating a credit card processing system and I'm trying to decide between the two options provided for processing payments
Option one is
Include a Javascript library on the VF page
...
5
votes
1answer
61 views
HttpCalloutMock Interface where there is more than 1 callout
Here is some background- I have an apex future method which is being called from an trigger. The future method then performs 3 different http calls to an external system (same endpoints). All requests ...
2
votes
0answers
28 views
2 way SSL authentification on expose FDC webservice
My client calls a webservice on Salesforce (server), first i send him my certificate (server) and then i would like him to send me back a client certificate ( two way ssl) how do I implement that?
...
0
votes
0answers
20 views
Calling External Web Service with CA Certified
we have External Web service which has CA Certified,while calling the service from Apex code,we are getting following Error
System.CalloutException: IO Exception: DER input, Integer tag error
1
vote
1answer
31 views
Using Apostrophes in Apex
I am sending an Http request who's body contains XML payload. Data sent over can have apostrophes which causes my palyload to error out. XML payload looks something like
...
5
votes
1answer
126 views
Summer '13 Web Service Endpoint Changes
Background
In the Summer '13 Release Notes on page 238 it states that web service endpoints in the form of instance-api.salesforce.com must be updated to the new format: instance.salesforce.com.
...
5
votes
1answer
44 views
Could not retrieve standard folder Names when we query Folder Object
I am trying to query all the standard reports using folder object in salesforce. I am able to collect all the attributes except Folder Name.
I am using the same query to retrieve the custom folder ...
3
votes
2answers
76 views
Querying Related objects using Partner Api
I'm experimenting with relationship queries using the partner wsdl. The docs say:
"The partner WSDL does not contain the detailed type information available in the enterprise WSDL to get the ...
1
vote
1answer
50 views
Scheduling Salesforce functions
I have a scenario where I have to schedule 3 functions residing in a class in succession with time gap of 1 minute between them.
The Schedulable class looks like
global class ...
1
vote
1answer
68 views
Creating a schedule web service tutorial
I was wondering if someone could direct me to a tutorial of how to create a web service from salesforce to an external system.
My issue is I want to query some fields everyday say 10pm and send those ...
2
votes
2answers
62 views
Error when generating apex class from wsdl
I'm trying to generate apex class from wsql in order to use the soap api calls in post-install scripts for an application I'm developing on Salesforce.
But when I use the Salesforces interface to ...
3
votes
3answers
290 views
Web service call out limit reached
I have a requirement where user is sending one record at a time to a third party system using SOAP API. @future is used to send out web calls. Once the request goes out, I need to poll third party ...
0
votes
1answer
184 views
Get data from SAP to Salesforce using WSDL
I have attached the WSDL2Apex class for getting data Sap to Salesforce. I am bit confused about this Apex code is correct or not for this WSDL file which is to connect the WSDL to get data from ...
4
votes
1answer
192 views
Basic Http Authentication
I am writing a web service for which sends a SOAP payload as its body. In order to access the 3rd party server, I need an authenticated user. I am using Basic Http authentication for that purpose. ...
3
votes
1answer
93 views
Calling an ASP.NET SOAP service and passing a List<> of custom objects
I created the APEX class from the WSDL of an ASP.NET asmx service, this now gives me access to the types and methods provided by my service.
One of the methods takes in a List of objects described by ...
0
votes
2answers
122 views
Sending images inline in html content through amazon ses api triggered through apex callout
http://www.modelmetrics.com/technology-viewpoint/cloud-to-cloud-using-aws-simple-email-service-from-force-com/
I am using above blog content and this is excellent article on how to send emails ...
0
votes
0answers
26 views
How to connect to SAP from Salesforce with the SAP SD wsdl [duplicate]
Having SAP SD WSDL file how can I connect to SAP from Salesforce ?
After connecting with salesforce, I only want to view the data.
1.Now i convert this WSDL file into apex classes next step what can ...
-6
votes
1answer
187 views
How to connect to SAP from Salesforce with the SAP wsdl [closed]
Having SAP WSDL file how can I connect to SAP from Salesforce ?
After connecting with salesforce, I only want to view the data.
kindly anyone tell how to resolve this.
Thanks,
Regards,
Udaya
3
votes
1answer
64 views
serverUrl for Apex Web Service
When using the enterprise WSDL, we use the dynamic serverUrl that's returned from the login for subsequent calls using the ent wsdl. What do others do for custom Apex services for the endpoint? I ...
2
votes
1answer
76 views
Error in inserting a sobject in batch apex and passing the same object in webservice call
i need to
Insert a List of Sobject
Pass the ID of SObject that has been inserted in to a webservice call.
This has to be done in Batch Apex since it needs to run on a daily basis.
Now i have done ...
3
votes
2answers
77 views
Refresh the page on complete of execution
I have a detail page button which calls a webservice class. Its some thing like:
sforce.apex.execute(Class, method, {paramName : Param}, { onSuccess: success, onFailure : failure});
I need to ...
5
votes
1answer
188 views
Testing Errors in Web Service Callouts
I am testing a callout to a third party web service as documented here:
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_callouts_wsdl2apex_testing.htm
Works great - but I can't see ...
9
votes
1answer
245 views
Converting between .NET decimal and SFDC decimal
We have a .NET app that interfaces with SFDC via a web service. When we import the WSDL the resulting classes will use the .NET type double wherever SFDC entities use a double. The problem I see here ...
5
votes
1answer
79 views
How to create a Web Service that accepts attributes in elements?
How do I expose an Apex method as a WebService that accepts the following input:
<soap:Body> <request>
<myelement type="something">
...
</myelement> ...
2
votes
1answer
67 views
How to build an authenticated webservice without requiring full licenses for each user?
I'm in the process of re-architecting an old webservice. To keep licensing costs down the webservice is exposed publicly through Sites and a custom authentication and security model was baked into ...
4
votes
1answer
131 views
How to log out from an Apex Webservice?
I have got a connection to a salesforce webservice by the following method:
Get an EnterpriseConnection to the auth endpoint and so a session id
Set the service endpoint to that of the webservice
...
2
votes
1answer
62 views
Webservice not included in standard Enterprise WSDL
We have written an Apex WebService and were assuming that this would be accessible from the standard Enterprise WSDL which is downloaded via Develop -> API -> Enterprise WSDL.
Unfortunately it isn't ...
3
votes
4answers
887 views
restful call to external analytics API via visualforce/apex
So I'm trying to access Woopra analytic's restful API via apex/visualforce. I am wondering a couple of things:
1) The API returns a JSON object via the usual POST/GET method... would it be best to ...
2
votes
2answers
264 views
TestClass code Coverage
public string main(string url)
{
Http h= new Http();
HttpRequest req= new HttpRequest();
req.setEndpoint(url);
req.setMethod('GET');
...
2
votes
3answers
110 views
Issue on JSON.serializePretty
I am using Salesforce with a Java integration project.
Here I am integrating data from a SQL database to Salesforce using webservices and vice versa using JSON format webservices.
Here is the code:
...
1
vote
2answers
278 views
Make visualforce page (pdf) available outside Managed Package
Is it possible to exclude a visualforce page that will be used for rendering a PDF from a managed package?
The reason is, we have a standard PDF layout, but we want to give our clients the ...
7
votes
2answers
455 views
Callout loop not allowed error
I have an APEX REST POST method that is being called from an external system 'A'.
Processing this POST I need to callout to another external system 'B' and based on its response continue with my ...
1
vote
3answers
92 views
Restful Webservices
I have a scenario where I have to call a webservice whenever there is an update on the record of a standard page layout and handle the JSON output. Since it is on standardlayout I have used a trigger ...
0
votes
1answer
290 views
Making Authenticated Web Service Callouts Using One-Way SSL
How do I make web service call out using one-way ssl. I couldn't find any documentation on this. Salesforce has given documentation for two-way ssl connection.
2
votes
1answer
165 views
Certificate Error - Website calling Apex web service
I have an Apex class exposed as a web service. When our Cold Fusion based website calls this service, they get the following error:
Error: I/O Exception: Name in certificate 'na14.salesForce.com' ...
1
vote
3answers
862 views
Calling web service using JavaScript
I am using wrapper class to fetch the consumer object values and passed into Data table,
In that I am using consumer code and consumer name are the two text boxes.
Once I am enter the Consumer code, ...
0
votes
0answers
144 views
How to call web-service with parameter
I would like to call webservice from MS Access ( i have already code inplace in ms access to call any web page).
How can I create a RESTful webservice with parameters in Salesforce?
I want to ...
6
votes
2answers
766 views
HTTP Callout from Triggers
I have a trigger on the Custom Object that calls a class. That class makes an HTTP GET request to a Web Service.
However I get the following error:
Callout from triggers are currently not supported.
...
0
votes
0answers
19 views
How unlock record after Workflow approvall process? [duplicate]
Possible Duplicate:
Are triggers able to modify records locked by an approval process?
Good morning everyone,
Would like to know how can I update a field in a record that was locked after ...