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
21 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
22 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
15 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
votes
0answers
8 views

Guzzle HTTP client auth fail [closed]

I'm working on a project that need to call a API to get json response, but the Guzzle client auth is not working. It always redirect to the login page. "nasa" is the database. Here's my code: ...
1
vote
0answers
25 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
19 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
40 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
24 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
16 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
46 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
23 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
9 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
13 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
28 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
62 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
27 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
39 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)?
1
vote
1answer
64 views

INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session. Session not found

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Services.Protocols; using SFDC_DATAUPLOAD.Importservice; using SFDC_DATAUPLOAD.enterprise; ...
0
votes
2answers
39 views

apex to override field level security

I have a picklist field "Status" on a custom object. I've set the field level security to read-only for all profiles except for the system administrator profile. So, from the UI, no user can edit ...
1
vote
1answer
46 views

Continuations (Async Web Services) in Spring 15 Sandbox

According to Spring 15 release notes, Continuations class should be available in Spring 15. I have a preview Sandbox (on CS21) but this feature does not appear to be enabled as the Apex does not ...
0
votes
0answers
44 views

Different exceptions occur if execute method from Unit Test and as a Web Service

I have a REST class with a method: @HttpPost global satic ReturnedWrapper01 newWrapped01(String name, String uuid) { MyCustomObject__c toInsert; try { toInsert = new MyCustomObject( ...
0
votes
1answer
59 views

How to handle SOAP Response?

What is the common practice in handling the response of a callout? the response I get is a String datatype but it's value has xml elements within in them. I was thinking of manipulating the contents ...
0
votes
1answer
36 views

Expose Public API

Is it possible expose a public API using which users across the internet will be able to use it to create records in my dev edition instance. ? Also can someone tell me some tools available which I ...
0
votes
1answer
50 views

For transfering bulk data in thousands using web service , which data transfer to be used?

I have requirement to transfer very heavy data from one system to another using web services. So in order to transfer data as expected wth no performance issue which data transfer should I use? ...
0
votes
0answers
41 views

Difference between Apex Heap Size and JSON heap size

Helllo, I am getting a specific error of "JSON string exceeds heap size limit" . I can not find reference specific to JSON related to heap size. I know we have Email Heap size of 36 MB, while ...
0
votes
0answers
45 views

Import keystore in Certificate and Key Management

I'm trying to import a keystore that contains my certificate into Salesforce.com, but when I'm importing it doesn't appear. I'm doing something wrong? I generated my keystore with this command: ...
1
vote
1answer
66 views

Convert an array of ids to a csv string with quotes

I have a webservice method that takes the $_REQUEST from the URL parameter of my app and I believe handles it like an array, for example: inputs.param1 = "some_value" inputs.param2 = "1209845, ...
0
votes
2answers
34 views

How to approach for this webservice request?

Currently I'm displaying orders and related objects in a visualforce page. The new requirement is: For every order a hyperlink/button will be added. On clicking that button, a related document from ...
2
votes
1answer
96 views

Salesforce.com Integration with JD Edwards

Looking for solution approach to integrate Salesforce.com with JD Edwards (JDE). Just learnt that using typical web services we cannot integrate as JDE has limitation to send data to middleware only ...
0
votes
0answers
24 views

Apex class as Salesforce web service with DocuSignAPI.EventNotification as callback URL

I would like to expose an Apex class as a public web service on Salesforce and configure it in the DocuSignAPI.EventNotification as a callback URL for the 'Completed' or 'Signed' event. Can anyone ...
0
votes
0answers
28 views

How to get data from Apex Page immediatly before refresh

I Creates a Page like following <apex:page standardController="Contact" extensions="myExt" action="{!OnLoad}"> <apex:form id="form1" > <div id="login"> ...
0
votes
1answer
106 views

Save Error: Entity 'Integration' not accessible in version 31.0

I try to save a class that wrapps the functionality of a WebService, but after the save it gives me this error: "Save Error: Entity 'Integration' not accessible in version 31.0". Please, any idea, ...
0
votes
1answer
114 views

How to send and receive data from Salesforce to a FTP server

My question is how I can intergrate Salesforce with different FTP servers in real time. I have read some articles about it, but to be absolutely sure I thought it would be a good idea to post a ...
2
votes
2answers
95 views

options to export to csv

We currently have a scheduled batch process that sends out a nightly email that uses a visualforce email template that exports and attaches 4 CSV files. We are now wanting to create a new process ...
1
vote
1answer
37 views

I want to retrieve data from cloud and insert it into Salesforce

I have data on server that changed on daily based , so i want to retrieve data from this server and push it on Salesforce , i'm thinking to use apex batch with schedule to implement this process , but ...
0
votes
0answers
47 views

Best way to give access (user license & login() WSDL) to a Custom Apex Soap Webservice

I have created a custom apex webservice for our telecommunications partner to use to help figure out who is calling into the system. It's pretty simple, they give me a phone number, I return some ...
1
vote
1answer
48 views

Have a JSON_PARSER_ERROR after sent a JSON representation of a parameter of a REST service [duplicate]

I have a custom REST service which has a get and post methods. Both, get and post methods use the same wrapped object. In get case it returns this wrapped object, in post - I was hoping to have the ...
0
votes
0answers
122 views

Best API to use Send/Receive Salesforce Data

I'm working on getting a Salesforce API key currently so that I can develop a web-based application (probably php) to streamline a currently tedious process. My current workflow is as follows: Open ...
3
votes
1answer
84 views

Custom SOAP Web Service variable maxLength

is there a way to set maxLength value for String variables exposed through my custom soap web service? global class MySoapService { webService String myName; ... } Let's say I would need to ...
1
vote
1answer
70 views

Refine XML parse method

I am looking to refine functioning code. I am attempting to parse XML using the DOM and then display it on a visualforce page. Right now I am parsing each node into 3 lists of strings then calling ...
1
vote
1answer
43 views

line breaks not allowed in string literals while debugging

I got this error line breaks not allowed in string literals while debugging. Please help ! String clientId = 'AKIAJGN4J4RSRNW26IEA'; String clientSecret = ...
0
votes
0answers
69 views

Rest web service not taking Community user context

I am trying to call a web service in my Salesforce org (apex) from developer console. I want my web service to be called with respect to Community user and not Guest user. Currently I have the ...
1
vote
1answer
48 views

Sample rest class

I need to write a sample rest class where i have custom button on account object.and When i click on the the button it takes a values from account and perform get method with external site and update ...
3
votes
1answer
2k views

Ensuring my application complies with SSL3.0 being disabled?

I have developed an application in C# that makes use of the Salesforce API via a WSDL and need to ensure that the upcoming disabling of SSL3.0 will not affect functionality. I have never had to do any ...
2
votes
2answers
43 views

Impact on the Standard Entity

If I use custom VF page to override the Save functionality @ Opportunity level, what will be the impact on the Triggers, VAlidation Rules and any other codelinked with the entity? In a nutshell, I am ...
0
votes
1answer
48 views

How manage Lookup fields with Enterprise WSDL

I have shared the Enterprise WSDL to an external System to create contact. In Contact , I have two custom field Country and State. These field are lookup to object called Location. In order to ...
-1
votes
1answer
80 views

System.CalloutException: IO Exception: Detect premature EOF?

I'm getting System.CalloutException: IO Exception: Detect premature EOF while connecting SOAP based API from SFDC ? Can any one suggest on this...
0
votes
0answers
102 views

How to use Salesforce PDF Viewer for custom object similar to quote pdf (including save and send email button)?

Need to use custom vf pdf and display that in custom object in salesforce pdf viewer similar to standard quote pdf
2
votes
1answer
60 views

Receiving callout exception when i try to access bing search API

I have a webservice that used the Bing Search API. When i try to call the webservice, I get a callout exception saying System.CalloutException: Web service callout failed: WebService returned a ...
1
vote
0answers
34 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: ...