The webservices tag has no wiki summary.
-3
votes
0answers
28 views
how to get() data from external system [closed]
My requirement is I am trying to pull information from Salesforce to SAP (by passing the in the field "IvAcctNo" to SAP , I need to get the related record details and display it in salesforce).How to ...
3
votes
3answers
114 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
82 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
74 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
42 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
51 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 ...
-1
votes
0answers
24 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 ...
-5
votes
1answer
96 views
How to connect to SAP from Salesforce with the SAP wsdl
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
54 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
39 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
37 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
101 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
171 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
47 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
51 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
82 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
46 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
416 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
122 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
89 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
230 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
335 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
80 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
148 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
125 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
414 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
89 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 ...
5
votes
2answers
450 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 ...
8
votes
2answers
495 views
Call webservice with NTLM authentication
Is it possible calling a webservice using NTLM authentication from apex?
It is a microsoft navision webservice, I tried to do it in java following this guide and it works.
2
votes
4answers
1k views
Calling Apex Class from Custom Button, And Then Refreshing List View
I have added a Custom Button to the List View of the Custom Object. What is the best practice of calling an Apex Class on click of the Custom Button, and refresh the List View after execution of the ...
5
votes
3answers
1k views
Workaround for the 10 web service callout limit in apex?
What are the workarounds for the 10 web service callout limit in apex. If you need to make, say 50 callouts, how do you batch them so that you can execute them all asynchronously? Is there a good ...
2
votes
1answer
263 views
How to generate stub listener in salesforce
I need to know how to generate a stub listener in Salesforce. My exact requirement is to call a web service, written in APEX in one org, through an outbound message in another org.
I found below link ...
2
votes
3answers
284 views
Error Accessing Public SOAP Web Service in Salesforce
Is there any way to create a public SOAP web service in Salesforce? I followed the instructions at http://forceguru.blogspot.com/2012/09/creating-public-web-service-in.html , but when I tried to ...
6
votes
3answers
760 views
web service callout failed error
I'm having an issue with the Address Verification method available through StrikeIron. I imported the following WSDL and am using the generated wsdl2apex code.
The WSDL I'm using is here: ...
4
votes
3answers
676 views
Testing WebServiceCallout with HttpCalloutMock
I am trying to use the new HttpCalloutMock following the guide here.
This is a new feature, and I was hoping to make some better test cases for using web-service callouts that respond with a SOAP ...
2
votes
3answers
277 views
What's the best gem for calling into a Salesforce org from a Ruby on Rails app?
I am going to be doing some work connecting a Ruby on Rails app into a Salesforce org to create some new data.
Right now there isn't any complex logic, just straight forward data sending into SFDC.
...
3
votes
3answers
185 views
Get a user's managed package version number through code
Our users will be using many different managed package versions. As users can be using versions which don't have the latest features, I need to know which package is being used by a user who will log ...
6
votes
1answer
308 views
Authenticate 3rd party Application with OAuth2
The PHP getting started guide for interacting with Force.com seems to indicate that a user always needs to reauthenticate for each session with OAuth2, and that's my understanding of the protocol as ...
3
votes
3answers
200 views
Getting LastModifiedDate of Admin changes
Let's say you have a details page of a Contact.
I would like to be able to track changes that were made to Contact, such as field name changes, field type changes, etc.
I assumed that there ...