Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
16 views

Using to SOAP API in SpringBoot application to get the DE data

I'm new to SF Marketing Cloud and need to use Soap API in SpringBoot application to get DataExtensions data to do some manipulations. I'm not sure where to get MC DataExtensions API/end Point as well ...
0
votes
0answers
17 views

Create email send definition using SOAP API

I am totally new to SalesForce. Need help, please. I want to create EmailSendDefinition programatically. According to this article it is possible using SOAP API. https://developer.salesforce.com/...
1
vote
1answer
27 views

Making soap api call from ssjs to create salesforce account record

I am trying to make a SOAP call to create new accounts and update campaign members in our sandbox salesforce crm from Marketing cloud landing page under webstudio When I publish it, I am getting ...
0
votes
0answers
19 views

Track Email status using SOAP API

I am new to SalesForce and would appreciate any help. I am trying to send email using SalesForce API. I've managed to send email using Send EMAIL SOAP API request How can I get the delivery status ...
0
votes
1answer
50 views

Reading in XML from webserivce request using HttpRequest

I have seen multiple posts online talking about how to read in XML data from a web request using HttpRequest, but I cannot seem to make it work or find any documentation on it. The closest I have ...
0
votes
1answer
26 views

SOAP Web Service Method for two top level nodes

I have a client who needs a web service method for a 3rd party to send a SOAP call to. But this soap call has two top level nodes in the body. <body> <blockOne> <data> ...
0
votes
1answer
34 views

Salesforce SOAP Integration

Req :- Custom Settings :- Vacancy Media Fields:- Name Type Area Path Map -- ...
4
votes
1answer
633 views

REST API vs SOAP API?

One of the differences between REST and SOAP is that REST is lighter than SOAP. What does it mean when they say REST APIs are lighter than SOAP APIs? How is JSON lighter than XML?
0
votes
1answer
32 views

Types of wsdl in salesforce

I am new to salesforce soap api, I found there are multiple types of wsdl in salesforce. What is the difference between enterprise and partner wsdl and how to choose which wsdl type we should select ...
2
votes
0answers
36 views

Apex SOAP WebService - how to suppress/alter accepted header

I am working with a 3rd party on SOAP integration, and they send a detailed async fault response to any POST done by us. The data they send is rigid and they say they cannot (or won't) change it. I ...
0
votes
0answers
25 views

Different SessionId [duplicate]

Is there a difference between {!$Api.Session_ID} on visualforce vs UserInfo.getsessionID() in Apex. I tried to print these 2 values on Visualforce page and see that both values are different. One ...
2
votes
1answer
62 views

Outbound Message Workaround for using Oauth

I am trying to do simple integration using outbound message. However, I would love to be able to add authorization headers to the SOAP message as the requirement is that we use Oauth2 to authenticate ...
8
votes
2answers
134 views

Tooling API in Apex - polymorphism, generic query() callout?

I am working on Salesforce project heavily depending on use of Tooling API (we are executing tests on remote SF organizations and gathering results). What bothers me is I cannot use polymporphism ...
1
vote
1answer
37 views

How to call a web service with base85 encoded data?

I need to make a call to a 3rd party SOAP web service from Apex that accepts images encoded in base85 rather than the more standard base64. I don't see that this is supported in Salesforce, any ideas ...
0
votes
2answers
34 views

SalesForce Version Info

Hello There i am in real trouble trying to get salesforce version info as the soap fault is returning Unplanned Outage in faultstring and https://webservice.exacttarget.com/Service.asmx in fault ...
0
votes
1answer
20 views

Create Template based email via SOAP [closed]

Is there a way we can create a template based email using SOAP API?
2
votes
1answer
53 views

When using WSDL2Apex, CDATA tags in WebserviceCallout are encoded

I need to implement a SOAP Request as WebServiceCallout which includes CDATA tags in its request envelope. The marshaller class has been auto-generated and the request is working just fine except that ...
0
votes
1answer
46 views

Soap api create request

I'm trying to create an entry using SOAP API create request: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="...
1
vote
1answer
45 views

SFMC Soap api request and subscriber filtering

I have some issues while trying to filter my subscribers dataset. First of all, the response properties don't correspond to the request properties: ... <RetrieveRequest> <...
0
votes
2answers
130 views

Create Triggered Send Data Extension via SOAP API

I'm trying to create data extension from TriggeredSendDataExtension template. I use SOAP and develop it in java. Following example works for me: https://developer.salesforce.com/docs/atlas.en-us.mc-...
0
votes
0answers
66 views

Element {} item invalid at this location [duplicate]

I'm trying to connect to salesforce thanks to SOAPClient in php. This is my code : $url = 'https://eu12.salesforce.com/services/Soap/class/PortailClientWebService'; $options = [ ...
0
votes
1answer
29 views

SOAP API v42: Edit “Default Organization Level Values” of Custom Settings

How to edit Default Organization Level Values of Custom Settings in Soap API in Java? I mean, how to edit... Setup > Build > Develop > Custom Settings > [Any CS Object] > Manage > ...
0
votes
2answers
20 views

Define Object Fields (Custom) Usage and Compare Metadata Between Similar Fields

I am new to coding in Apex, but understand java and other object oriented languages. I am looking to use an API (such as the Tooling and SOAP API's) to compare fields in my Case object in my org. An ...
1
vote
2answers
70 views

Changing WSDL breaks client

I have auto-generated a C# client from a WSDL (https://eu7.salesforce.com/setup/build/generateEnterpriseWsdl.apexp). This works fine until someone changes the structure of one of the tables I'm ...
2
votes
1answer
537 views

Use SOAP API creating account issue

I am doing this trailhead (https://trailhead.salesforce.com/modules/api_basics/units/api_basics_soap) and done everything whatevet mention in this and i got success message that account is created but ...
0
votes
1answer
77 views

Recycle bin in marketing cloud / SOAP call active objects

I'm using a SOAP call to perform an SQL Query and I get this error: QueryDefinition was unable to queue this task. This query definition is not active My call : <RetrieveRequestMsg xmlns="http:...
1
vote
1answer
193 views

Retrieve a list of all JobID done in Marketing cloud

I want to know if you can retrieve the list of all jobID via a REST or API call, I found nothing in the official doc so does anyone have a trick to get this list? There should be a way, because if you ...
0
votes
0answers
458 views

Web service callout failed: WebService returned a SOAP Fault: Server was unable to read request

I have consumed a wsdl in Salesforce.Below is the class which needs to be send as a request public class MEContacts_Request { public Long Contact_Type_Association; public String ...
2
votes
1answer
53 views

Similar queries yet different outputs

I am executing 2 similar queries on salesforce soap api which has similar columns (infact the first query has all the columns that the second one has) yet the number of records are coming different, ...
0
votes
0answers
20 views

Deleting data extensions over multiple BUs using SOAP

I want to delete several DEs using this SOAP request. However, the DEs are spread over multiple business units. Is that possible to do using the SOAP request?
0
votes
1answer
120 views

Salesforce SOAP Login request doesn't return Access-Control-Allow-Origin in server side

We are trying to establish username-password authorization from javascript (visualforce or lightning) but this doesn't work. We are trying to login from Organization A to Organization B. POST ...
1
vote
1answer
215 views

Understanding Server-Side JavaScript via WSProxy with the SOAP API

I recently stumbled across the WSProxy which seems to be interesting particularly as they seem to be more convenient to use than traditional soap calls and reduce performance overhead. WsProxy ...
0
votes
0answers
78 views

Create ListView from Soap

I'm trying to create new listView on object case via Soap Post request although it doesn't create the list view for some reason. This is the request: HTTP h = new HTTP(); HTTPRequest req = new ...
0
votes
1answer
42 views

WSDL class error

Good morning, I have a wsdl that I generated with salesforce, but when I call some methods I get this error: EXCEPTION_THROWN [157]|System.CalloutException: Web service callout failed: Unable to ...
7
votes
1answer
285 views

Pass null to webservice number field?

What does properly formed XML look like when attempting to pass in a null value for a number field? Let's say I have a SOAP endpoint defined as follows: webservice static void save(MyObject__c ...
0
votes
0answers
28 views

SOAP API for Subscribers to opt-in to Lists

This is all in a custom profile center. I'm looking for a way to possibly look into allowing subscribers to opt-in to public lists that I am pulling from Marketing Cloud using SSJS. I imagine this ...
2
votes
3answers
1k views

Generate new password and notify user immediately

While creating new users from Salesforce UI, we have a checkbox right at the bottom called Generate new password and notify user immediately. This is set to true by default and sends Welcome To ...
3
votes
2answers
306 views

If we change the parameters used in webservice method in our org., will this cause error at end user consuming old WSDL?

Please enlighten me\correct me on following point: When we expose our class as SOAP Web service, End User consumes Enterprise/Partner WADL Class's generated WSDL and then post request to our ...
2
votes
1answer
107 views

Is there any way to get response header details in exposed SOAP webservice Apex class method?

Please enlighten me\correct me on following point: Is there any way to get response header details in exposed SOAP webservice Apex class method? Like for expamle: For visualforce page, we can ...
0
votes
1answer
52 views

Create Dynamic Content via API

I am trying to wrap my head round the Pardot API. Our usecase involves been able to create dynamic content via API. On inspecting the the documentation, it appears that we can only query it (http://...
0
votes
1answer
230 views

External server did not return any content

I am trying to call a webservice methods generated from WSDL. I am able to get the success reponse from SOAP UI. But I am getting the below error from Apex System.CalloutException: IO Exception: ...
0
votes
1answer
250 views

Custom Login method to access custom SOAP Web services

I know that one of the way to invoke the custom web service is to first get the sessionId using the login() using Enterprise/Partner wsdl and then append that SessoinId with every call to the web ...
3
votes
1answer
150 views

What is SOAP Endpoint while connecting SFMC using Mulesoft?

What is SOAP Endpoint while connecting SFMC using Mulesoft? Whether endpoint is generic or for email we need some other endpoint?
1
vote
2answers
141 views

Salesforce Marketing Cloud REST vs SOAP API

This quetion is related to marketing cloud APIs. I need to perform below tasks on marketing cloud via API. Create a Data Extension Create a Query activity Run query activity Retrieve data from Data ...
0
votes
4answers
79 views

Which users context will SOAP apex class execute in?

I have a SOAP apex class which exposes some webservice methods to be calls from my applications backend. This code has some DateTime methods that return the values based on context user's timezone ...
1
vote
2answers
21 views

Call soap service class from a custom button on a vf page

I wanted to call my web service class from a custom button on a vf page ,so i can make a API call when I am on the page itself ,and populate that values on the page, Shall i use Apex:actionfunction or ...
1
vote
1answer
84 views

Return Custom Response via Marketing cloud API

I wish to expose a custom service API (Soap/Rest) from marketing cloud so that when an external entity invokes the same, I can have some logic to process the data from the request and then return the ...
0
votes
1answer
49 views

W/I Test.SalesForce.com Sandbox, SOAP endpoint call using Java EnterpriseConnection.describeGlobal() NOT returning RemedyForce “BMCServiceDesk__x”

Within Test.SalesForce.com Sandbox, SOAP endpoint call using Java EnterpriseConnection.describeGlobal() NOT returning any RemedyForce / "BMCServiceDesk__xxxx" objects Background Information 1) I am ...
0
votes
0answers
33 views

How to retrieve shared_dataextension dataextension using soap api

how to retrieve shared_dataextension using soap api? I tried so many ways but I am not getting perfect result. I am using below Code for retrieve data extensions. Except for shared_Dataextension, I am ...
1
vote
1answer
177 views

How to create a FeedItem that has mentions in it with SOAP API?

I am trying to insert feeditems with mentions on a case using SOAP API. Example - "This case was updated by @John Doe" where John Doe is a user in Salesforce. How do I make this happen? I have ...