Questions tagged [soap-api]

SOAP API provides a powerful, convenient, and simple SOAP-based Web services interface for interacting with Salesforce.You can use SOAP API to create, retrieve, update, or delete records. You can also use SOAP API to perform searches and much more. Use SOAP API in any language that supports Web services.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages

My salesforce organization outbound messages suddenly stopped working.i got this error message In outbound messages monitor I looked some resources on the internet, About this error they say, ...
0
votes
1answer
14 views

Outbound XML Payload and Heap Governor Limits

Greetings my fellow SF Experts, I have a massive outbound XML integration that I need to build in salesforce (Multiple XSD schemas with several thousand lines of xsd elements). Waiting for official ...
0
votes
0answers
20 views

Is it possible to retrieve attribute meta data during subscriber retrieve

Is it possible to retrieve attribute meta data for each of the Subscriber profile attributes (not data extension attributes) during retrieve of the Subscriber? I am using the SOAP API and I am aware ...
1
vote
1answer
17 views

try to update FilterDefinition

I try to update DataFilter for the FilterDefinition object but I got the error message "The DataFilter that was provided is invalid." what is wrong with my request? <SOAP-ENV:Envelope ...
0
votes
0answers
11 views

What is Activity Object for server side javascript activity

I am trying to create automation using postman. this automation contains ssjs activity, so I added this piece in the SOAP request body, but I'm wondering what is the name ActivityObject type I have to ...
0
votes
0answers
11 views

Fetch Email status for all Email sent through Process Builder

We have a requirement to send mails and we're sending through process builder(custom email object insertion will trigger the same). However, we need to update its status as well[email bounce, server ...
0
votes
1answer
36 views

Convert lead com.sforce.ws.ConnectionException error

I have been using SOAP API(v43.0) and patner wsdl(v43.0) for converting leads. It was working fine till sometime. But recently it started failing with com.sforce.ws.ConnectionException. And this is ...
0
votes
0answers
7 views

Unable to Publish KnowldgeArticle using Soap API

I have the exact same issue reported in the following link: SOAP API to Publish Knowledge ARticle Even at version 50.0 of the SOAP API, trying to set the "PublishStatus" to "Online"...
0
votes
1answer
38 views

Retrieve content block with AMPScript using API

Is there a way to get a content block with AMPScript using API? I want to run an AMPScript using marketing cloud API. The only option I can think of is to create a content block with the AMPScript and ...
0
votes
1answer
16 views

Creating an email via SOAP API - response says OK - but I don't see the email

Here's my SOAP Envelope: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="...
0
votes
0answers
28 views

SFMC Automation using API - I am not aiming to start the automation which contains a query activity and journey entry event

I am setting up an automation which needs to start when an API call is made. This automation will have to run a query that populates a DE. This DE is then used in a journey Background: We are ...
0
votes
0answers
18 views

SFDC -> SAP PI - Unable to tunnel through proxy. Proxy returns "HTTP/1.1 503 Service Unavailable

While SFDC attempts to hit the SAP-PI system, we are getting the following error: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 503 Service Unavailable". While we tried to test ...
0
votes
1answer
36 views

What's the soap api call body for changing the category id of an existing data extension in Marketing Cloud?

I'm working in Postman with various SOAP API calls. I'm new to using 'UpdateRequest'. I've been able to update data in rows of a data extension, but not the properties of a data extension, such as ...
1
vote
1answer
25 views

Is there a limit to the amount of times I can start an Automation via SOAP API?

I was able to successfully run this call once, but I'm not seeing it actually run in SFMC again after that. <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:...
3
votes
0answers
52 views

How to feed IER (individual email result) with Tracking Triggered Send information (triggered send via API from external app)

i hope someone can help me with this problem here: i've to feed the IER "et4ae5__IndividualEmailResult__c" object in SalesCloud from Tracking data of Triggered Send. Normally with the ...
1
vote
1answer
48 views

Recommended APIs and architecture for reading/writing data via web app in near real time?

I'm interested in developing a web app that reads and writes Salesforce data in near real time and am looking for high-level advice on how to take steps towards accomplishing it. I have a Sales Ops ...
0
votes
1answer
33 views

soap api Owner object type changed after updating WSDL file

We have a vb.net app that use the salesforce soap API. The Enterprise wsdl file originally compiled was dating from 2019, so i updated it to the latest version (API Version 50.0). After Updating the ...
0
votes
0answers
30 views

Want to Merge following SOQL

I want TO extract all picklist values for a field in a particular object. To get Durable ID of picklist Field : SELECT DurableId FROM EntityParticle WHERE Datatype= 'picklist'and EntityDefinition....
0
votes
1answer
26 views

Got the same sessionID during using SOAP API

Let's say I'm using POST with body example <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:partner.soap.sforce.com&...
-1
votes
1answer
44 views

Get serverUrl from Apex

Let's say there is need to obtain org link (like https:///services/Soap/u/50.0) using APEX code? The main purpose is to provide this value to 3rd party app
0
votes
1answer
10 views

partner.soap.sforce.com Http POST request

What is the endpoint to POST <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/...
2
votes
1answer
35 views

WSProxy - is it possible to move categories / automations?

With the new year I am trying to create a fresh start by cleaning up old folders and files from our MID. It's quite a tedious job to move folders and files manually within automation studio. I am ...
0
votes
1answer
34 views

Error when generating a JAR with Enterprise WSDL

I have generate Enterprise WSDL file and downloaded to my local machine. Now I'm trying to generate the jar file with following command. java -classpath .\..\..\..\..\..\.m2\repository\com\force\api\...
0
votes
0answers
19 views

Failed to add UserPermissions - Create/Update Account User

I'm trying to add user's permissions to determinate user. Using the code below, I'm using Apache CXF and generate the service from Marketing Cloud SOAP API AccountUser accountUser = new ...
1
vote
0answers
37 views

Retrieve Business Units and add to data extension SSJS

I have the following SSJS function which uses WSProxy to return an array of all business units, however, when I test the script in a CloudPage, it returns an error. I'm hoping someone can take a look ...
0
votes
1answer
29 views

marketing cloud SOAP API between filter not working correctly

I'm trying to get all OpenEvent objects created in the past 24 hours. When using the 'between' filter on 'CreatedDate' with the values '2020-12-13T00:00:00' and '2020-12-14T00:00:00', I get objects ...
0
votes
0answers
16 views

What is the best way to retrieve data from a data extension from a .NET Core 3.1 application?

Would you recommend building the soap envelope manually sending it in a http post or using the SoapClient.Retrieve generated from the wsdl (if so, how do I configure the soap client?) ?
0
votes
1answer
17 views

Error in Soap response- The URL has moved

We have a legacy system connecting to us. Before saving the actual tender details they check the connection with Salesforce. They are getting error shown in response below. And on UI it shows that ...
0
votes
1answer
125 views

API File Download Maximum FIle Size

We need to download pdf documents from external server that supports REST and SOAP. What is the maximum file size that I can download via the GET call request? I see that maximum payload size of ...
0
votes
1answer
36 views

Does Apex (SOAP) WebService use HTTP POST method by default? Does it support other methods like GET, PUT etc.?

Consider an apex class exposed as SOAP service (like the sample code shown below): global with sharing class MySOAPWebService { webservice static Account getRecord(String id) { // Add your ...
0
votes
1answer
30 views

Testing REST API, Bulk API limits

I am working on a scenario where I export a set of records to Salesforce via bulk API 2.0, I need to handle the daily Salesforce limit exceeded scenarios gracefully.Mainly the REST and Bulk V2 API ...
0
votes
1answer
19 views

Is there a way to add individual users or a public group to a Library programmatically?

I'm looking for a way to add individual users or a public group to a Library programmatically using Apex. I've been investigating if there is an API that let me do that, but I had no luck. I know I ...
0
votes
0answers
34 views

Errors while loading Contact using data loader - SOAP (Look up field )

I'm getting below error while loading contact using data loader springframwork https://github.com/forcedotcom/dataloader I'm loading data using spring framework and "sfdc.useBulkApi" value=&...
1
vote
1answer
16 views

Salesforce Metadata API: When updating FieldPermissions on PermissionSet, other FieldPermissions on other objects are reset

On Metadata API version 50.0, when I update FieldPermissions on a PermissionSet, the other FieldPermissions on the same PermissionSet are reset. The updateMetatdata call worked correctly on version 30....
0
votes
0answers
12 views

Retrieve details of last run AutomationInstance via Soap API

I would like some input on how I could try to fetch details of the last run instance of an Automation which is scheduled. I've tried with filter on CompletedTime with greaterThan etc but the only one ...
0
votes
0answers
43 views

Test class where a single method calls two Webservices in a row [duplicate]

I need to create a Test class where a single method (doPost()) calls two Webservices in a row. The first is a REST API and the second is a SOAP API. The first API retrieve a token that I need to use ...
0
votes
1answer
28 views

Access denied when using JSFORCE to connect and update records

we've developed an ecommerce website for a client and want to integrate with their salesforce to add opportunities when a potential client creates an order on the website. We had everything working in ...
0
votes
0answers
25 views

Connecting to Salesforce using dot net code [duplicate]

In References.cs change [System.Xml.Serialization.XmlArrayItemAttribute("columns", typeof(ListViewRecordColumn), IsNullable=false)] TO [System.Xml.Serialization.XmlArrayItemAttribute("...
0
votes
1answer
96 views

Salesforce login using dot net code [closed]

static async Task<loginResponse> SfLogin() { Task<loginResponse> lr = sc.loginAsync(null, userName, password + securityToken); return await lr; } // In the above ...
0
votes
0answers
10 views

Transient Error: PerformResult has OK status, but is missing a Result list

I am using the Perform endpoint to request starting ImportDefinition for an FTP CSV file. Some highlights: I use the CustomerKey of the Import Definition in the PerformRequest Definition tag. I am ...
0
votes
0answers
64 views

Soap error- Element 'ID' is missing attribute 'type'

Can someone help me while sending a request from salesforce I am getting the below error? and the same request with the same set of data from a testing tool(SoapUI) I am able to perform. System....
0
votes
0answers
41 views

How can i get the latest version of the Soap Api endpoint in Salesforce?

I am currently using version 48 for the Soap endpoint , how can i see what the lates version is so that I can update The url is as follows: https://xxxx/services/Soap/u/48.0 Also if there is a newer ...
0
votes
0answers
10 views

How to use Named credentials in SOAP callouts? [duplicate]

Can someone here please help me in accessing named credentials in SOAP callouts like we do in REST ?
0
votes
1answer
44 views

Getting invalid header line: “SFDC_STACK_DEPTH: 1” error

While posting a HTTPs request through apex I am getting below intermittent error . *64545242 client sent invalid header line: "SFDC_STACK_DEPTH: 1" while reading client request headers, ...
0
votes
0answers
38 views

Data Extension List Count Mismatch in UI and Api

I am trying to retrieve the list of all the Data Extensions created for a Business Unit and i am successful in it. But, the problem is there is a mismatch in the count from the API and UI. In UI I see ...
0
votes
0answers
7 views

What is the purpose of “ActionPlanItem”?

I'm going through the ActionPlan module in the api and can't figure out the purpose of ActionPlanItem. From this image in the docs, it doesn't seem to have any role: So for example: say I create an ...
0
votes
1answer
53 views

VSCode Salesforce API/sfdx mass create custom formula fields

I'm looking for a way to custom create a placeholder formula field. SOAP doesn't allow formula field. I see a few ways online using force.com IDE, but now I'm trying it out on VSCode and I'm kind of ...
0
votes
0answers
16 views

Retrieve whether a subscriber has been added to a suppression list or not

I'm trouble understanding how to retrieve whether or not a subscriber has been added to a suppression list or not. Please note that I'm referring to a regular suppression list, not an auto-suppression ...
1
vote
1answer
103 views

SOAP api QueryDefinition send results to CSV

I notice that within the documentation for the SOAP API it has the fields FileSpec and FileType which leads me to believe that a query results can be stored as a csv file that would be found within ...
0
votes
0answers
26 views

Is there any soap api get the status message of the perform extract to know whether the extract is in progress or failed or complete?

Extract API used: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:u="http://docs.oasis-open....

1
2 3 4 5
27