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
1 answer
24 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"...
user avatar
  • 3
0 votes
0 answers
40 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 ...
user avatar
0 votes
1 answer
23 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 ...
user avatar
2 votes
1 answer
32 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://...
user avatar
  • 23
-1 votes
1 answer
44 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?
user avatar
0 votes
1 answer
35 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 ...
user avatar
0 votes
0 answers
38 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:...
user avatar
-1 votes
1 answer
54 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": { "...
user avatar
  • 9
0 votes
0 answers
30 views

Is it possible to handle SOAP 1.2 response (MTOM standard) with apex?

I need to callout SOAP 1.2 from Salesforce. I successfully send request with Http POST method Content-Type: application/soap+xml and correct xml. According to webservice documentation response is ...
user avatar
  • 635
0 votes
1 answer
42 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 ...
user avatar
  • 635
0 votes
0 answers
12 views

Is it possible to call a SOAP Service from Marketing Cloud? [duplicate]

Can we call a SOAP service from MCS? We have an app and we need send some information from our MCS to this app. Is it possible? I'm looking for information and I can't find anything. Thanks!
user avatar
1 vote
1 answer
79 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://...
user avatar
-1 votes
1 answer
15 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 ...
user avatar
  • 91
0 votes
0 answers
14 views

How to combine Send Object with ListSend, ClickEvent and Subscribers Objects - sales force marketing cloud SOAP

I am trying to combine data between Send, ListSend, ClickEvent and Subscribers Objects Subscribers and ClickEvent I use SubscriberKey, ClickEvent and ListSend I use SendID So I am trying to figure out ...
user avatar
1 vote
1 answer
61 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 <...
user avatar
0 votes
0 answers
29 views

Salesforce Marketing Cloud - SOAP API Retrieve DataExtensionObject from ESB Call error

We are encountering the following problem in our project: The ESB sends a Retrieve Call on a DataExtensionObject in Salesforce Marketing Cloud SOAP API resource. The call used to work ok till ...
user avatar
  • 1
0 votes
1 answer
73 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 ...
user avatar
  • 111
0 votes
1 answer
167 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: ...
user avatar
  • 11
0 votes
0 answers
71 views

getting (Error 70003) "Unable to retrieve Data Extension using CustomerKey" when calling soap api

I'm trying to do an insert into a Data Extension but I'm always getting (Error 70003) "Unable to retrieve Data Extension using CustomerKey" event though the CustomerKey is correct this is my ...
user avatar
  • 101
0 votes
1 answer
30 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 ...
user avatar
  • 101
1 vote
1 answer
415 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 ...
user avatar
  • 11
0 votes
1 answer
216 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 ...
user avatar
0 votes
1 answer
27 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 ...
user avatar
1 vote
2 answers
65 views

Exception occurred during [UpdateQueryDefinition]

I can't figure out why this isn't working. I'm trying to update a QueryDefinition (SQL Query) using this Soap Envelope. <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:...
user avatar
  • 814
0 votes
1 answer
37 views

Soap request and parse responce

I have URL which returns XML with session id when I run it from the browser. http://11.111.111.11/scripts/webcrf.promasys/webui/dtp.p?name=login&userid=XXX&password=XXX&language=en In ...
user avatar
2 votes
1 answer
72 views

How to get SentEvent ID?

According to the official documentation, the SentEvent has an ID: https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/sentevent.htm But when I send a request like: <?xml version=&...
user avatar
1 vote
2 answers
65 views

Retrieve "CreatedDate" field from ImportDefinition SOAP request

I'm having an issue of getting the date property from the ImportDefinition using SOAP. this is the way im trying to get it: var retReq = new RetrieveRequest(); retReq.ObjectType = "...
user avatar
0 votes
0 answers
18 views

Get Headers on Apex SOAP Webservice [duplicate]

So I'm developing a soap webservice and I need to check the request Headers, I've spent the last 30 minutes searching how to do this but couldn't find an answer, is it possible to check the request ...
user avatar
0 votes
1 answer
54 views

Create FilterDefinition through API Fuel SDK PHP version

I'm trying to create a FilterDefinition via the API. I saw that a few years back, Michael Allen Clark had said that this feature was not built into the FuelSDK. I think he was specifically talking ...
user avatar
  • 814
0 votes
0 answers
58 views

Session Id generation by third party to call apex

I’ve developed a webservice which basically allows third party to update field Processed_status__c on opportunity object. I’ve generated opportunityUpdate.wsdl file which I would share with them. ...
user avatar
  • 17
0 votes
1 answer
265 views

Error while creating Account using SOAP UI 5.6.0

While creating a Request in SOAP UI I am getting an error. The prefix "xsi" for attribute "xsi:type" associated with an element type "urn:sObjects" is not bound. Not ...
user avatar
0 votes
1 answer
144 views

Error in Webservice.invoke : Unable to parse callout response. Apex type not found for element result

world! I'm trying to call via SOAP to a function called putRecogida. When I execute it via SoapUI, it works perfectly, but when I loaded both classes into salesforce with apex2wsdl tool, both APEX ...
user avatar
2 votes
1 answer
172 views

What is the meaning of array elements of *type_info variables in SOAP / WSDL auto-generated Apex classes?

Background: As an example, let's put the calculatorServices class from the Apex SOAP Callouts Trailhead Unit on the table. Considering any of the inner classes, for instance doAdd: public class doAdd ...
user avatar
1 vote
0 answers
47 views

Sub account not work API Soap PHP

I have a problem to point a subaccount in the PHP SOAP API, where can I make this note? My Code: include LOCAL_SYSTEM . 'application/src/Plugins/Exacttarget/exacttarget_soap_client.php'; include ...
user avatar
2 votes
2 answers
1k views

Salesforce Platform API Versions 7.0 through 30.0 Retirement

I received an email from Salesforce for the withdrawal of two features (Salesforce Platform API Versions 7.0 through 30.0 Retirement ): https://help.salesforce.com/articleView?siteLang=en_US&id=...
user avatar
  • 49
0 votes
1 answer
28 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="...
user avatar
0 votes
1 answer
74 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 ...
user avatar
2 votes
1 answer
85 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:...
user avatar
0 votes
1 answer
291 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\...
user avatar
0 votes
0 answers
67 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. ...
user avatar
0 votes
1 answer
195 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 ...
user avatar
0 votes
0 answers
27 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("...
user avatar
1 vote
1 answer
278 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 ...
user avatar
1 vote
1 answer
183 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 ...
user avatar
0 votes
0 answers
70 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 ...
user avatar
2 votes
1 answer
85 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 { ...
user avatar
2 votes
2 answers
309 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: '...
user avatar
4 votes
1 answer
291 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 ...
user avatar
  • 3,219
0 votes
2 answers
270 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(), ...
user avatar
0 votes
1 answer
39 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 ...
user avatar

1
2 3 4 5
12