Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [soap]

SOAP, stands for Simple Object Access Protocol, is a protocol specification for exchanging structured information in the implementation of Web Services in computer networks.

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

Request Filter a Data Extension is using

I'm trying to retrieve the FilterDefinition a DataExtension is using but failing at it right now. I'm able to retrieve the source of a Filter via the FilterDefinition SOAP call but that only gives me ...
Pieter-Jan's user avatar
0 votes
0 answers
33 views

Create & Send EmailMessage through REST API

I am using the REST API to create an EmailMessage related to a Case. My goal is for this Email to be sent to the customer as if it was sent by a rep directly from the Salesforce UI, with all of the ...
Morgan Marchese's user avatar
1 vote
0 answers
46 views

Salesforce SOAP API Query Operation - Invalid Session ID Error

I am attempting to perform a SOAP query operation against the Salesforce SOAP API to retrieve data from the ConnectedApplication object. However, each time I try to execute the query, I receive an &...
mysh's user avatar
  • 11
0 votes
1 answer
76 views

How to update subscriber status of a subscriber in all subscribers present in a child BU using landing page present in other child BU?

I have created a SOAP envelope to invoke all subscribers present in a child Business Unit (BU) from another child BU using a landing page. By utilizing WS Proxy in my landing page located in CHILD BU ...
Prithvi Raj's user avatar
0 votes
0 answers
103 views

Common Name for CA-Signed CSR in MTLS?

I am trying to set up MTLS for my client->server SOAP Apex callout to an external web app, following the directions in these help articles: https://developer.salesforce.com/docs/atlas.en-us....
DCastel's user avatar
-1 votes
1 answer
75 views

Can I login using SOAP in a scratch org's primary domain?

I have used test.salesforce.com to perform SOAP API logins before. However, due to a security issue we cannot do that right now. Is there a way to login to: `https://[base-url]/services/Soap/u/58.0` ...
seekingPeace's user avatar
-1 votes
1 answer
103 views

sending user-initiated email via API

I have a user-initiated email send definition set up in SFMC. Which API endpoint or customized envelope do I use to initiate an actual send-out using that send definition?
Talk Nerdy To Me's user avatar
1 vote
1 answer
120 views

Request Compression SOAP API

Does SOAP API support API request or response similar to how REST does using compression headers?
MBM's user avatar
  • 129
1 vote
1 answer
134 views

Delete a subscriber off a Suppression list with SSJS

Given a suppression list, I am able to delete a subscriber from the list using SoapUI, I just pass the access token in the xml and I retrieve message 200 and the contact is deleted. However, when ...
Johhnytska's user avatar
0 votes
0 answers
38 views

WSA Action property in envelope header

Is there any possibility to add action property in envelope header of a soap request? I'm trying to build below envelope in apex using generated class from WSDL, however the property <wsa:action &...
Janek's user avatar
  • 1
-1 votes
1 answer
334 views

How to call an apex class exposed as SOAP webservice from Postman

I have an apex class soapServiceClass global with sharing class soapServiceClass{ //Based on this parameter, it returns the account information webService static Account getAccountRecord(...
Pratik Shambharkar's user avatar
-1 votes
1 answer
240 views

Metadata service Invalid Session Id on future method

I'm making a call to the Metadata service API. The Api call happens in future methods. I have tried both approaches of passing the Session Id as a parameter to the future method and also getting the ...
Saurabh's user avatar
  • 27
0 votes
0 answers
105 views

Google Ad Manager Integration -> Unmarshalling Error: cvc-type.2: The type definition cannot be abstract for element children

We are trying to build an integration from Salesforce to Google Ad Manager, using the Google Ad Manager ForecastService API : https://developers.google.com/ad-manager/api/reference/v202205/...
Razvan Cir's user avatar
0 votes
1 answer
2k views

New fields for Contact (GenderIdentity and Pronouns) not returned by SOAP API v57

The reference page here and the documentation here indicates that there are two new fields on the Contact object called GenderIdentity and Pronouns that should be available with v57 of the API. But ...
VMS's user avatar
  • 89
2 votes
1 answer
280 views

Assigning default "Marketing Cloud..." roles to users via API

I tried adding user provisioning to mcdev but currently I am running into a road-block when it comes to adding the default "Marketing Cloud ..." roles (e.g. "Marketing Cloud ...
Jörn Berkefeld's user avatar
0 votes
1 answer
56 views

Salesforce createMetadata fails with INSUFFICIENT_ACCESS_ON_CROSS_EREREFERENCE_ENTITY

We are trying to create a custom field on lead object using metadata api, But it fails with the error "INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY". We have checked the permissions for the ...
Karuna Kumar Yatam's user avatar
1 vote
1 answer
359 views

Update Marketing Cloud Automation tasks with SOAP API

I'm having some issue with something I'm trying to do using SOAP, What I want is to add a Task to an existing automation, the documentation shows how to update the name but nothing else. I want to add ...
Sercan's user avatar
  • 13
0 votes
1 answer
109 views

Connect an Endpoint who has a certificate not signed by a list of Trusted CA by Salesforce

I have a requirement where in I have to connect Salesforce with a Govt Organization via SOAP API and the mode of authentication is via a Certificate which is signed by the Govt Body itself. The Govt ...
Rohan Bidappa's user avatar
1 vote
0 answers
60 views

SOAPUI: Invalid Foreign Key Relationship name Product2

I'm trying to upsert an OrderProduct (OriderItem) on my order with below message <soapenv:Body> <urn:upsert> <urn:externalIDFieldName>Order_Product_Number_AS400__c<...
Eclectica's user avatar
2 votes
1 answer
144 views

Metadata Retrieve missing files

I am having an issue when retrieving a package using the Metadata API. I am trying to retrieve a package that has a flow in it. Here is a sample request: <soapenv:Envelope xmlns:soapenv="...
Jasper Madrone's user avatar
0 votes
1 answer
122 views

SOAP API - AutomationInstance Filter Issue

I'm trying to retrieve data from AutomationInstance object via SOAP api. The object only supports IN and EQUALS operator. My sample request body is as per below - <s:Envelope xmlns:s="http://...
sfstackexchange's user avatar
1 vote
1 answer
87 views

Salesforce retirement from v21.0 to v30.0, generated ApiTotalUsage file from eventlog files, how to know where the resource is used

I have generated ApiTotalUsage file from eventlog files. I followed the steps mentioned in this article and generated the ApiTotalUsage file https://help.salesforce.com/s/articleView?id=000389618&...
user125558's user avatar
0 votes
0 answers
371 views

How to programmatically reset a users password in Professional Edition Org

Use Case: I would like to know how to programmatically send a reset password email to a user in professional edition. Currently for any edition outside of Professional Edition, this can be done via ...
andrew's user avatar
  • 149
0 votes
1 answer
408 views

SOAP api using different IP address

I'm currently working with the SOAP api to login to a separate salesforce instance. For some orgs though, it seems there's IP restrictions and it seems that it's using a different IP address (I'm ...
Kevin Yao's user avatar
  • 117
-1 votes
1 answer
1k views

How to add username-password authentication via SOAP header in Apex

I'm having problems understanding how to add authentication for a web service call. I generated the Apex classes importing wsdl. The documentation for the WS only states that "it is recommended ...
joacoiudica's user avatar
1 vote
1 answer
172 views

SOAP webservice return a custom Apex class

I have an Apex SOAP endpoint defined like this: global class CancelTransferOrderSoapService { webservice static OrderContactDetails cancelTransferOrder( String orderId , List<String> ...
Michael Sobczak's user avatar
0 votes
1 answer
585 views

SFMC SOAP API RetrieveRequest resulting in "An error has occurred and has been logged by our system."

I'm trying to get a list of query definitions whose "QueryText" is "like" a certain value. Here's the XML: <s:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/...
Mike Marks's user avatar
0 votes
0 answers
395 views

Exception "Exception occurred in direct soap call" while trying to save changes in an Einstein Bot

I get the following exception with Bots: "ui.services.connection.api.ToolingConnectionException: com.sforce.ws.ConnectionException: Exception occurred in direct soap call". It happens in the ...
Aylen's user avatar
  • 11
0 votes
0 answers
310 views

.NET/C# - Received an invalid SOAP Fault message - Unbound prefix used in qualified name 'sf:INVALID_LOGIN'

.net48 console App soap login error Received an invalid SOAP Fault message: Unbound prefix used in qualified name 'sf:INVALID_LOGIN' Generated the web service from partner wsdl dotnet-svcutil 2.0.3 ...
George Abdelmassieh's user avatar
0 votes
1 answer
171 views

Create custom object using Partner wsdl which has a parent ID (SOAP API)

When creating a new record using the partner wsdl SOAP API how do I add the parent id to the generic sObject. We have a parent record of Account__c and child records of Store_Visit__c My attempted ...
Software Developer's user avatar
0 votes
2 answers
414 views

An invalid security token was provided - How to get support

I have a number of clients who use our integration with Salesforce Marketing Cloud. When things go astray it is quite difficult to resolve the issue as I have no access to the clients account. We use ...
Simon's user avatar
  • 1
0 votes
1 answer
288 views

expose a soap api with 40 parameters

I need to expose an API Soap with 40 parameters. Do you have an idea how to do that because SF give me an error when i generate Apex Class from WSDL "Invalid number of parameters exceeds: 32"...
Nooby's user avatar
  • 3
0 votes
1 answer
1k views

Issue with SSL Certification (getting error: PKIX path building failed)

We have an application that tries to connect via SOAP to a third-party application. Last Tuesday, their SSL Certificate expired and they just renewed it again. However, our code still could not access ...
hereLiesThisTroper's user avatar
0 votes
2 answers
189 views

SOAP API request returns 405

I want to get SubscriberStatusEvent using: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/retrieving_the_subscriberstatusevent.html the following code returns OK but there is ...
DonnyDarko's user avatar
2 votes
1 answer
118 views

SOAP XSL Integration error during upsert: "cannot specify Id"

Below is an example of the SOAP request that is being sent to Salesforce from our app. <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://...
Gonzalo's user avatar
  • 23
-1 votes
1 answer
646 views

Creating XML with CDATA to send to a third party

addTextNode method of Dom.Xmlnode class replace < with &lt;. How I can avoid it?
itsaboutcode's user avatar
0 votes
1 answer
948 views

Marketing Cloud App SOAP API "Error: API Permission Failed." on every call

Overview: I am using SSO to login to my marketing cloud app, and trying to then hit the API to load a list of DataExtensions. However it seems no matter the call I make, I get the same error: <?xml ...
mcaidans's user avatar
0 votes
0 answers
618 views

WS security to SOAP request header from java client

I am trying to connect to Salesforce from java client using SOAP api. All the examples in the documentation point to a using ConnectorConfig class to connect from java. However I need to set wsse:...
Quest_sfdc's user avatar
-1 votes
1 answer
1k views

How can i get the Session Settings and Session Timeout from Salesforce using Rest call?

Is there a Rest API call I can make to get the Session Timeout Value under Session Settings in Salesforce? If I retrieve back the UserInfo in the JSON there are URL's: "urls": { "...
Kelly's user avatar
  • 19
0 votes
1 answer
2k views

Count the number of contacts in each Business Unit

I have 2 BUs in the Marketing Cloud and each has its own contacts. My issue is that my client wants to retrieve the number of contacts in each BUs, because each BU has its own budget and can only ...
Henri F. Thompson's user avatar
0 votes
1 answer
153 views

What are the best practices for wsdl2apex and SOAP callouts from Salesforce

I wonder, what are the best practices I should apply when I need to integrate Salesforce with an external SOAP webservice? First of all - Apex class names generated with wsdl2apex have names which ...
Grzegorz Połuch's user avatar
1 vote
1 answer
726 views

Retrieve ProfilePasswordPolicy via API

The ProfilePasswordPolicy API returns the incorrect number of profiles. The count of Profiles in SF UI is 95 and this API returns the 83 profiles only. Is there anything that I am missing? https://...
yogeshasalkar's user avatar
-1 votes
1 answer
147 views

Create custom faults in SOAP webservice

I am building a new SOAP webservice in apex and I want to know how to throw custom soap faults. I created custom exceptions in apex and throwed it but the stack trace is also thrown along with the ...
Sisir's user avatar
  • 111
1 vote
1 answer
364 views

How to write SQL inside XML SOAP request - salesforce marketing cloud API

I am new to SOAP. I am trying to get the Send Object information and I am able to pull all the data I need except <Properties>SendID</Properties> This is the request I make in postman <...
Eli Sigal's user avatar
0 votes
1 answer
243 views

Rename columns in Data Extensions programmatically

Is there a way to rename column names with WSProxy or another SSJS method in DEs? Columns have data in there so I cannot remove and add again. EDIT: I get this in error message when using WSProxy to ...
martechnotes.com's user avatar
0 votes
1 answer
2k views

System.StringException Invalid Id [closed]

I'm getting this error in APEX class which converts CSV file into records. I'm sorry for bad editing of this question but I turned problem liner into quotes. Example of the data that causes the error: ...
y0ngleb's user avatar
  • 15
0 votes
1 answer
445 views

Merging Accounts on SOAP API While Preserving Data

I am working on some code right now to merge Accounts in Salesforce, but when I need to merge accounts I need to have certain fields preserved in case the victim account has something that needs to be ...
Perdue's user avatar
  • 121
1 vote
2 answers
4k views

HTTP callout In Vlocity integration procedure

I have a Vlocity integration Procedure where I call a SOAP web Service. When the reponse of the HTTP has the code 500, it's not possible to use that response on the following steps of the Integration ...
User197's user avatar
  • 21
0 votes
1 answer
2k views

Illegal assignment from String to List

I'm getting a Illegal assignment from String to List error in my code and I'm not sure how to solve it, can somebody help please Below is the code where I get the error: @isTest global class ...
Kiran.pandiyan's user avatar
0 votes
1 answer
42 views

Why doesn't my Subscriber status update using SOAP Update?

I am trying to update my Subscriber status in the All Subscribers list using SOAP. I am using the following payload, you can see within my code I am using two different variations to try and update ...
Deployment Failure's user avatar

1
2 3 4 5
12