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
1answer
12 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
21 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
41 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
31 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
46 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
11 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. ...
2
votes
0answers
19 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
27 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
34 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
39 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/...
0
votes
0answers
13 views

Is it possible to login in Salesforce Mobile App via a site page (to submit credential) which is calling OKTA for authentication?

Is it possible to login in Salesforce Mobile App via a publicly available site page (to submit credential), which is calling OKTA for authentication in behind via soap call and redirect to Salesforce ...
1
vote
1answer
52 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
63 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
54 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
36 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
25 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
85 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 ...
1
vote
0answers
31 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
40 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
75 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
78 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
120 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 ...
0
votes
0answers
25 views

Added my first package with API Integration Component. How to test an API call (SOAP or REST)? [duplicate]

I am a developer but I admit I am confused by going through the Marketing Cloud API documentation. Inside our Marketing Cloud's installed packages, I created a new package and added an API ...
0
votes
1answer
37 views

unable to call SOAP API from apex class

I have the below wsdl file (the original one is larger than 1MB, so I only copy the parameters I need): https://pastebin.com/3J23zm7K However, as Salesforce doesnt support xsd:extension base, I ...
0
votes
1answer
139 views

Too many callouts 101

I am making a callout to a webservice to retrieve records and upsert them into Salesforce. When I execute my batch class with a small set of records, they're inserted in Salesforce properly. However ...
1
vote
2answers
187 views

Convert base 64 to pdf and display it as PDF. Not required to save the pdf in salesforce, Directly display

When user clicks on a quick action, a soap webservice callout is made and in response we get base 64. I need to convert this base64 into PDF and display it online. I dont want to save the pdf document ...
0
votes
0answers
36 views

HTTP request error in Anonymous block . -Method does not exist or incorrect signature:void new Http() from the type anon

While executing Http http=new Http (); in anonymous block I am getting this error : Method does not exist or incorrect signature:void new Http() from the type anon . I am trying to test an SOAP ...
0
votes
0answers
43 views

How to send triggered emails from SOAP API in Marketing Cloud

I try to send an email from Marketing Cloud with the SOAP API but it doesn't work. I try with SOAP UI, I always get a "OK" status but I never receive the email. This is my code: <?xml version="1....
0
votes
0answers
47 views

SOAP Callout Intermediate Certificate Issue

For our SOAP callouts, we need to be using a Certificate which is part of the following certificate chain: Root: CN=DigiCert Global Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US Intermediate: CN=...
1
vote
1answer
46 views

Retrieve Subscriber list using soap api in ampscript in cloud pages

Ampscript code which need to be converted to Soap API in Cloud page : %%[ SET @rr_1=CreateObject("RetrieveRequest") SetObjectProperty(@rr_1,"ObjectType","Subscriber") AddObjectArrayItem(@rr_1,"...
0
votes
0answers
29 views

If a data extract is perfomed via api will it be displayed in automation studio?

I want to trigger a data extract activity in marketing cloud using SOAP api but i don't want that activity to be visible under automation studio activities(suppose i'm an ISV, I dont want my client to ...
0
votes
1answer
72 views

Marketing Cloud - Custom Placeholder Values in Email

Is there a way to have custom placeholder values when programmatically sending an email template using a triggered send through the SOAP API? I see in this documentation for personalization strings ...
1
vote
1answer
17 views

How to dynamically wait until external SOAP Web Service Return a response

I've built an external SOAP Web Service that takes several minutes to complete, I need to do some logic depending on the Service Response. Should I set a large timeOut value? Is there a way to use ...
1
vote
1answer
76 views

Retrieve tracking data using SOAP API

I believe I heard recently that it is possible retrieve tracking data using SOAP api and that we can get more data than from data views. I am familiar with SOAP as such, but after going through ...
1
vote
0answers
86 views

Web service callout failed: WebService returned a SOAP Fault: System.Web.Services.Protocols.SoapException: Server was unable to process request

I am new to Integration Projects. I have an Apex class generated from the WSDL of a third party. I would like to utilize the methods of that Apex class and write a batch class that utilizes the ...
1
vote
1answer
110 views

System.CalloutException: Web service callout failed: Unable to find field status

I have downloaded the WSDL file from this link: download. This WSDL contains 2 bindings, 2 ports so to generate apex class in Salesforce, I have removed the additional binding & port then I'm able ...
0
votes
1answer
29 views

Where get the WSDL for standards methods

I would like to know where I can get the WSDL for standards methods for one object. I mean, I would like to know how I can get the WSDL for the standards methods for the order object (CRUD). If I ...
0
votes
0answers
24 views

sort Parent and child objects in order of execution

I am doing a upsert operation using soap api, but I need sort the sobject in which all parent should be upserted first and the their children. i.e if Lead object is depend on Acount object and contact ...
1
vote
1answer
53 views

SOAP API, wsdl, wsc and class versioning confusion

We are a small team creating an app that integrates with Salesforce (any org). We are trying to clear up some confusion about how the entire versioning system works, so that we can support it long ...
0
votes
0answers
18 views

SOAP Web service callout to 'https' endpoint with one-way SSL certificate by the service provider

What is the approach to make a SOAP web service callout from Salesforce to 'https' endpoint url, when the service provider gives a one-way SSL certificate?
0
votes
0answers
22 views

Options for sending arbitrary XML in SOAP request

I have a WSDL from a vendor which includes a method that expects one of the params ('Xmldoc') to be embedded XML. The WSDL for the method: <s:element name="ImportGuest"> <s:complexType>...
0
votes
1answer
95 views

Query Org's Certificates in Apex using Metadata API

I am unable to retrieve the Certificates of an org using the Financial Force Metadata API Apex Wrapper although I see the object in the Metadata API Documentation and can query it using the workbench. ...
0
votes
0answers
19 views

Outbound messages removes TextArea Long, for bulk data upload

I built a Outbound Message endpoint, which works like a middleware, and calls other endpoint, which is REST based. When I create/update a single record, it sends all the info specified in the ...
1
vote
0answers
94 views

BatchSize not working

I'm trying to retrieve couple of things from MC, and following the documentation we should be able to set the BatchSize and in the response we should get the number of results same as BatchSize which ...
0
votes
1answer
27 views

Extracting SOAP Header Values in inbound SOAP call

Working on a project in which our customer will be calling Apex classes exposed as SOAP services. Everything is working just fine. We have the Apex class setup as awebservice and the inbound SOAP body ...
2
votes
1answer
29 views

Why is date/number/boolean data type ignored for create using Enterprise WSDL

I have shared enterprise wsdl with the 3rd party team. This is being used to create record in CRM. I am able to create a record with all the fields using SOAP UI and the credentials being shared with ...
1
vote
1answer
50 views

salesforce to salesforce using partner wsdl in Apex - Update call failing

I seem to have the same problem for 'update' call like in this post. I have created Http version of the update method. I am having trouble in adding fields to the update call. Any Idea, How can I add ...
0
votes
0answers
330 views

“INVALID_TYPE_ON_FIELD_IN_RECORD” while updating date/dateTime field using SOAP client

I have a SOAP client which connects with Salesforce and do CRUD operations. Earlier I used to use Axis to generate stub and in that case it works perfectly but then I replaced axis with force-wsc due ...
1
vote
1answer
71 views

Marketing Cloud SOAP API - Derive Email Template from SendEvent

I'm currently using the Marketing Cloud SOAP API to get metrics about emails I send out. This works fine, I am able to get single instances of every event, but I am struggling with relating the send ...
0
votes
1answer
41 views

Updating the All Subscriber List when submitting through a Custom Subscription Center

I need help figuring out the process of updating the All Subscriber/publications list when a subscriber changes their subscription status through a custom subscription center that I'm hosting on a ...

1
2 3 4 5
11