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.
532
questions
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
1answer
31 views
Retrieving child folder name using DataFolder property in SOAP api marketing cloud gives me 404 error
Retrieving child folder name using DataFolder property in SOAP api marketing cloud gives me 404 error stating File or directory not found, The resource you are looking for might have been removed, had ...
2
votes
1answer
31 views
Apex stub from an xml with attributes
I have created apex stub classes from a wsdl and invoked a external SOAP webservice from it. The response is an xml with attribute in elements. I need to extract the value (which is 'PPPPPP' when wd:...
0
votes
1answer
33 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
27 views
Generate WSDL button for Apex class without webservice method
I have an Apex class which is actually a wrapper class, and has multiple properties which are marked with the keyword "webservice". This class is used for an inbound integration over SOAP. ...
0
votes
1answer
27 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
0answers
60 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....
1
vote
1answer
71 views
Not able to generate the WSDL file of the Custom Apex SOAP Webservice
I am getting an issue while generating the WSDL for my custom SOAP Service. Earlier when I did back in 2018 I was able to generate the WSDL. Now, the issue that I am getting is when I click on ...
1
vote
1answer
100 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
32 views
<faultstring>INVALID_TYPE: Must send a concrete entity type.</faultstring> When creating an account with SOAP [duplicate]
I am getting the below error when trying to create an "Account" object in salesforce org by SOAP request.
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/...
0
votes
0answers
46 views
Batch Apex - SOAP Callout Issue
We have implemented a batch Apex solution for mass update records. More specifically, we upload a CSV file (more or less 2500 records) in a custom object and we "read" this CSV to create ...
1
vote
1answer
41 views
Exposing custom soap service with WSS security in SOAP header
How can we create Salesforce custom web soap service with soap header which will have wss:Security elements inside it?
following is the sample custom apex web service
global class MyWebService {
...
2
votes
2answers
108 views
Create NamedCredentials for AWS Signature via Metadata API
I am trying to create the named credentials for AWS using Metadata API. I am getting the following error:
System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: '...
4
votes
1answer
156 views
Importing Wsdl2Apex with multiple wsdl:part in a wsdl:message
I am trying to import a WSDL in salesforce which contains Multi-part messages.
Multi-part messages are not supported by the wsdl2Apex tool. The suggested workaround is to modify the WSDL to generate ...
0
votes
2answers
62 views
How to get Matching Account Records using SOAP API
I've spent most of the day going through the SOAP API Developer Guide. I'm successfully making calls to my sandbox via SoapUI client. I've tried a number of SOAP calls, including findDuplicates(), ...
0
votes
0answers
15 views
Current status of the SOAP requests' queue
We are still using old SOAP integration for pushing our emails to clients. Lately we found out some delays or even timeouts. Is it possible to check how many requests are pending in the queue and what'...
0
votes
1answer
32 views
External Service Call - CalloutException
We have an implementation where we call an external matching web service. When the records that i send are many, i get the following error: System.CalloutExceptionLine 429The following exception has ...
0
votes
1answer
45 views
Salesforce Marketing Cloud Soap API failing
I wanted to get a list of all BUs and Users associated with those BU. For the BU I am using SOAP API as REST does not support it.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap....
0
votes
1answer
58 views
SFMC retrieve data from data extension
2 questions:
1. I need to retrieve data from DE with SOAP API.
I'm trying to use postman with get and the wsdl end point (do I need the SOAP instead?)
this is the call Im using:
<Envelope ...
0
votes
1answer
21 views
reading MetadataAPI attributes value
I'm calling MetadataAPI as the code below and it's returning getBody() with a very long string as shown below, please scroll horizontal to see it and for brevity purpose I cut short.
HttpRequest req =...
0
votes
0answers
60 views
How to use ETDataExtension / ETResponse / ETConfiguration by Salesforce Marketing Cloud Java SDK
I need to download more than 2500 Rows from tables of Salesforce Marketing Cloud with following code(for ETSubscriber):
ETConfiguration configuration = new ETConfiguration();
configuration....
2
votes
1answer
64 views
Retrieve DataExtension DataRetentionPeriod Month and Week swapped?
In my DataExtension I have the following settings:
If I do a retrieve on the DataExtension and look for the DataRetentionPeriod, it is set to "Week" instead of "Months".
When switching the settings ...
0
votes
0answers
34 views
SOAP API having issue on Salesforce upsert call
When doing Salesforce upsert call we are getting below response in Production and (lower environments) for almost all the requests sent.
After initial investigation, email, phone number and DOB ...
0
votes
1answer
34 views
APEX SOAP Callout - Need to add variable
For some reason I'm struggling with this and I'm pretty familiar with XML, but I cannot seem to get this to work.
In the below section are several strings that ultimately make a request to get ...
0
votes
1answer
84 views
Apex triggers to interact with sql server [closed]
We are in the beginning stages of getting set up in Salesforce, and there is something that I am having a little trouble getting my head wrapped around;
We currently have a local SQL server ...
0
votes
1answer
43 views
Salesforce Marketing Cloud download API Biggest Table
I'm trying download, for Soap calls, tables of Salesforce Marketing Cloud with 1 million or more rows but the process is very slowly.
For each download I can only get 2.500 records, ok.
I have used ...
2
votes
1answer
83 views
FuseIT WSDL2Apex Error: Missing namespace for operation
I'm stuck with generating apex classes from this WSDL. Is there a way to solve the missing namespace error? Is there an alternative way to generate apex classes from WSDL? Thank you.
<?xml version=...
0
votes
1answer
64 views
WSProxy (or SOAP) to change CreatedDate of Folders
I want to change the CreatedDate for Folders in SFMC.
Reasoning behind is that Audience Builder / Contact Builder is ordering the folder structure based of the CreatedDate unlike Email Studio which ...
0
votes
1answer
44 views
Test for Generated Class From WSDL
Should I write unit test for those apex classes generated from wsdl when deploying to production?
0
votes
1answer
60 views
What is the correct format to add ActivityDate to Task object using SOAP api?
I have tried using moment object with different format, but none seems to be working. Can someone please suggest what is the correct format in which ActivityDate should be supplied to SOAP api of task ...
1
vote
2answers
207 views
How to check if user has permissions to create specific object
Given User.Id, how do I check with SOAP if this user has permission to create Contact or Lead?
Update:
So far I've discovered only this solution:
SELECT ProfileId FROM User WHERE Id='...
0
votes
1answer
59 views
UpdateRequest SOAP request returns Bad Request
I am using the Marketing Cloud SOAP API to update some data within my Data Extension using the following payload.
Header:
POST /Service.asmx HTTP/1.1
Host: myserverid.soap.marketingcloudapis.com
...
0
votes
1answer
57 views
Unable to make Retrieve request using MC SOAP API
I am trying to retrieve all data from a Data Extension using the following postman request
Payload:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas....
0
votes
1answer
25 views
Apply filter on SentEventObject using Marketing cloud Soap call
I am trying to apply filer condition on the SentEvent Object.Initially I was getting error related to Bad request. But now the API call is not failing but then I am not getting the filtered data here. ...
3
votes
0answers
61 views
Pass fieldsToNull in SOAP for custom web service
I have written a custom web service which has a date coming in from different environment. Date can be null. lets call the tag as dateTag which gets map to some date field on my object in CRM. When I ...
0
votes
1answer
49 views
How to deserialize attributes of SOAP responses in classes generated with wsdl2apex?
I have a class generated with wsdl2apex, which contains some response types, let's say it looks like this:
public class ResponseGetData {
public SomeDataAttr Data;
private String[] ...
1
vote
1answer
100 views
Process AMPscript SOAP API response
I've built an XML SOAP API request which retrieves the names of all Automations within our BU. It looks like this:
SET @endpoint = "https://[endpoint key -censored].soap.marketingcloudapis.com/...
0
votes
0answers
67 views
Extracting data from Marketing Cloud via SOAP [duplicate]
I'm getting a 403 - Forbidden response when I try to submit my ExtractRequest via the SOAP API using a temporary access token obtained from the REST API using the xxxx.auth.marketingcloudapis.com/v2/...
1
vote
1answer
91 views
SOAP API response queryresult to insert account records in salesforce
I am trying to fetch the account records from the queryResult of Salesforce to Salesforce integration response. But unable to split from the data. Can someone please help me.
string query1 = 'Select ...
2
votes
1answer
92 views
Runtime error when Converting sObject to Account (typecasting)
I'm working on a SOAP integration (.NET C#) to Salesforce and I am facing a problem when I try to get results from Salesforce.
To do this I'm using the next example code of the Salesforce walkthrough:...
0
votes
2answers
103 views
Update a Subscriber using SOAP request, parameters and value not clear
I am using this Marketing Cloud API SOAP request. I have succeeded at a few other SOAP requests but on this one, I don't seem to understand where to put the parameters and their values.
The input to ...
1
vote
0answers
59 views
Adding parameters to SOAP API call from SF by changing WSDL
I am working on an application using zeep and wsdl to call a SOAP api. The wsdl has a function that is pulling ~15 fields from salesforce, which are later written to a csv file (through python). I ...
-1
votes
1answer
30 views
How to process the raw response generated by the WSDL2Apex Callout?
I am getting a huge chunk of raw response from the WSDL2Apex web service call out and I want it to be able to be processed into APEX Data structures, i.e. lists and maps.
Raw Response Snippet:
...
2
votes
1answer
232 views
Web service callout failed: Unable to find header type info forsecurityHeader
How to construct a security WSSE header in APEX code to make a SOAP call out? I keep getting this error when trying to execute my request: Web service callout failed: Unable to find header type info ...
2
votes
0answers
103 views
QueryAllAccounts returns either Parent or Child but not both when querying from Child
Using the SFMC Soap API with QueryAllAccounts on seems to be behaving interestingly at the moment and I'm not sure if just me going crazy or it was always like this.
When in the child BU and setting ...
2
votes
0answers
60 views
Refreshing a filtered Data Extension with SOAP via wsproxy
There is a rather limited documentation for wsproxy when it comes to the performitem function:
https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-programmatic-content.meta/mc-programmatic-...
0
votes
1answer
99 views
REST Method to update the a contacts status in the All Subscribers list
So far I have succeeded at updating a contact's email address using the REST API and this method.
The JSON body of my request looks like this:
{
"contactKey": "[MY_CONTACT_KEY]",
"...
2
votes
1answer
519 views
Show null element node in WSDL for SOAP
We are using the enterprise WSDL file for an integration, during the query call of the WSDL we retrieve some account records. The issue we are facing is if some of the field value is null or no value ...
2
votes
1answer
626 views
SOAP request sent after receiving the Access Token gives “403 - Forbidden: Access is denied”
I have started communicating with the Marketing Cloud API.
I have added a Server-to-Server integration component to our installed packages:
Using Postman, and the Authorization Base URL I receive ...