Questions tagged [wsdl]

See the following for more information about WSDL (Web Services Description Language)

Filter by
Sorted by
Tagged with
4 votes
0 answers
37 views

Fails to update ContentVersion with Java SOAP API

I am querying some records of type ContentVersion, changing Title then updating that records through ContentVersion contentVersionToUpdate = new ContentVersion(); contentVersionToUpdate.setTitle(...
user avatar
2 votes
0 answers
29 views

How do I perform Upsert using Enterprise WSDL v54?

Attempting to use the Upsert function contained in the Enterprise WSDL (Salesforce Sandbox) version 54. Unfortunately not very familiar with SF development or Upserts, the documentation on the ...
user avatar
  • 31
0 votes
1 answer
80 views

Unable to login to Salesforce using SOAP API

I am currently working on a project to interface out .Net Core 3.1 application to Salesforce. Unfortunately I am not very familiar with Salesforce and their SOAP API. I have been attempting to find ...
user avatar
  • 31
0 votes
1 answer
150 views

What's the most efficient way to generate XML using apex? [closed]

Im currently using XmlNode and Document classes in apex to generate XML from sObject records. It works great for low volumes (up to 1000 records). However after that, I get CPU timeout. I can't see a ...
user avatar
  • 616
0 votes
0 answers
54 views

How to retrieve the experience url to be used in a classic email template

I have a task to dynamically use the experience URL in a classic email template. I will have different stores with different experience URL that will be used on email templates which will contain a ...
user avatar
1 vote
0 answers
43 views

update sobject class

I'm trying to update sobject from one to another sf org. I import my custom wsdl sobjectEnterpriseSoapSforceCom and sobjectEnterpriseSoapSforceCom, i pass login but i cannot able to update an sobject. ...
user avatar
  • 11
1 vote
1 answer
100 views

Unable to download Metadata WSDL from Org

Related to this other question Discover Schema of Source + Metadata XML formats I am trying to download the Metadata API WSDL file from the Orgs URL https://ServInstance.salesforce.com/services/wsdl/...
user avatar
0 votes
0 answers
158 views

Metadata Api: "Web service callout failed: Unable to parse callout response. Apex type not found for element name"

I'm trying to build my own metadata wrapper class to call MD-API directly from apex since the apex-mdapi solution by Andrew Fawcett on Github is kinda outdated. I downloaded the current metadata WSDL (...
user avatar
  • 15
0 votes
1 answer
723 views

Screen Flow fails to create record for custom object

I created a new custom object and added it to a screen flow. That flow is using the Create Records step to try an create a new custom object. The flow fails with the following error: This error ...
user avatar
  • 103
0 votes
0 answers
60 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
224 views

Failed to Parse WSDL:External schema import not supported

While parsing the WSDL in throws an error as External schema import not supported Error: Failed to parse wsdl: Found schema import from location http://crcind.com/csp/samples/SOAP.ByNameDataSet.cls?...
user avatar
0 votes
1 answer
175 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
210 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
0 votes
0 answers
41 views

3rd Party WSDL is Failing WSDL2Apex

I am migrating an application to the Salesforce environment. We have to make a soap call in order for the application to work appropriately. However, I have run into an issue with the vendors WSDL. ...
user avatar
  • 1,268
0 votes
1 answer
314 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
81 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
0 answers
484 views

How can i get the latest version of the Soap Api endpoint in Salesforce?

I am currently using version 48 for the Soap endpoint , how can i see what the lates version is so that I can update The url is as follows: https://xxxx/services/Soap/u/48.0 Also if there is a newer ...
user avatar
  • 1
3 votes
1 answer
1k views

Script Too Large Error While Generating Apex Classes Using Metadata WSDL

While trying to Generate MetadataService classes using the standard Metadata API WSDL from Salesforce, classes I got below error. I think it is related to the length of the Apex class as the lines of ...
user avatar
  • 10.6k
0 votes
1 answer
100 views

Test for Generated Class From WSDL

Should I write unit test for those apex classes generated from wsdl when deploying to production?
user avatar
0 votes
0 answers
34 views

C# WSDL - Create several linked objects

I'm working with the enterprise WSDL on a Salesforce org that has lots of objects that use the IDs from other objects to link them using a lookup relationship. Currently, I'm trying to create an ...
user avatar
  • 1
1 vote
0 answers
118 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 ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
0 votes
2 answers
95 views

SOAP Async Continuous object

I generated two class from apex2wsdl function, but I'm a little confused with async class, method get to parameter System.Continuous object. It is big different between callout method with future ...
user avatar
0 votes
1 answer
44 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 ...
user avatar
  • 617
2 votes
1 answer
531 views

How to retrieve Apex 'webservice' WSDL using oauth access token?

My Connected App authenticates using the OAuth 2 Username/password flow, which gives an "access_token" that I can use for authenticating REST queries via the "Authorization" HTTP header as a bearer ...
user avatar
  • 143
1 vote
1 answer
278 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 ...
user avatar
  • 13
0 votes
2 answers
119 views

Custom field inside WSDL without having this field on the object

is it possible to have a custom field inside the WSDL like: <xsd:element name="CustomField_1__c" minOccurs="0" type="xsd:string" nillable="true"/> but do not have the field on the object ...
user avatar
  • 512
0 votes
1 answer
104 views

Error : exceptionCode='INVALID_TYPE' exceptionMessage='Must send a concrete entity type.'

private static void createCustomer() { System.out.println("Creating"); Customer__c[] createCust = new Customer__c[5]; try { Customer__c customer = new Customer__c();...
user avatar
  • 56
0 votes
0 answers
550 views

Populate XML with XSD Schema

I was provided an XML schema that (I think) I should be able to utilize to build out the XML string that I need to send to a web service. The two documented items in the Apex Developer Guide talk ...
user avatar
  • 3,179
2 votes
1 answer
347 views

Wsdl to apex class issue with soap1.2

I was using FindRegistrationService service to generate apex class from FuseIT SFDC Explorer Wsdl2Apex parser. It is giving me below errors. Is it due to SOAP 1.2 services? Is there any way to ...
user avatar
  • 730
1 vote
1 answer
614 views

How to pass an attribute to XML message in SOAP webservice callout

I have a WSDL that I have imported in Salesforce and parsed using the WSDL2APEX option . It generates a sample message like below. <LineItems> <LineItem> <...
user avatar
  • 997
0 votes
1 answer
341 views

External Database to Salesforce Integration Steps

I am working on an Integration project. The communication is between an external database and Salesforce. The Goal is - To Send a request from Salesforce to the external Database -Get the response ...
user avatar
0 votes
1 answer
584 views

Unable to find soap 1.1 address

When attempting to generate Apex from a 3rd party WSDL, I'm getting below error. I noticed this has soap12:binding, I tried to change this to soap11. I still get the error message, and fails to ...
user avatar
1 vote
1 answer
379 views

Retrieving enterprise WSDL via SOAP API endpoint?

Is there an endpoint to retrieve the enterprise WSDL file via salesforce (SOAP) API? All I found is the option to retrieve it via standard curl request but I would expect that there is an official ...
user avatar
1 vote
2 answers
677 views

How to use serverUrl from salesforce login request in subsequent calls

I am working on a application where I need to use salesforce data replication api to get deleted/updated record id but this facility is available through SOAP api and examples are provided in java/c#. ...
user avatar
  • 133
1 vote
1 answer
103 views

SOAP Integration query : How to capture Record Id in case of custom validation error during update operation

We have an external system integrated with our Salesforce and Case records get upserted from external system to Salesforce using SOAP API. When Case records are successfully upserted, the response ...
user avatar
  • 169
1 vote
0 answers
375 views

How do I insert my credentials into the Client when using the ExactTarget S6 WSDL

I have imported the S6 WSDL into Visual Studio 2013 to generate the client code however I cannot figure out how to give it the clientSecret, clientId and/or auth token so that it can actually perform ...
user avatar
  • 111
0 votes
1 answer
199 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 ...
user avatar
1 vote
1 answer
125 views

Can't convert WSDL into Apex Class

I'm trying to convert an Apex from a WSDL file, but I'm struggling with it. Since I'm not an experienced developer, the solution may be very simple and I hope anyone can help me. When I try to ...
user avatar
3 votes
1 answer
936 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 ...
user avatar
  • 33
0 votes
1 answer
57 views

How to authenticate with Salesforce from Metadata API by using a .NET application

I need to create an custom object using Salesforce Metadata API. For that I just created a .NET application by using Metadata wsdl. I can't find a login method in the Metadata API in order to get ...
user avatar
1 vote
1 answer
347 views

Apex Generation Failed - WSDL problem - SOAP

I'm trying to solve this problem with Salesforce. I'm trying to generate apex classes from WSDL (converted from WADL) Parsing works correcly without any errors and warning. But I can't generate the ...
user avatar
1 vote
1 answer
331 views

WSDL2Apex for Visual Studio Code & Salesforce DX

Is there a WSDL2Apex extension for Visual Studio Code, which would allow us to use a WSDL Url or file to generate Apex classes in our Visual Studio Code Salesforce DX project?
user avatar
  • 8,262
1 vote
0 answers
335 views

WSDL Merge (External Entity) [closed]

I am trying to Merge(Consolidate) multiple WSDL into a single WSDL file . Example : <?xml version="1.0" encoding="utf-8" ?> <wsdl:definitions name="ExternalServiceFacade" ...
user avatar
  • 375
1 vote
1 answer
74 views

Upserting to Object from VB and getting Invalid Field does not match externalid, but it does

I have a vb.net console app that is pulling info from a database, and upserting it to a Salesforce object. Here is the error I'm getting: INVALID_FIELD: Field name provided, Product2 does not ...
user avatar
1 vote
2 answers
451 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 ...
user avatar
  • 111
0 votes
0 answers
2k 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 ...
user avatar
  • 2,551
0 votes
1 answer
181 views

Missing objects in metadata wsdl

I am looking into metadata and partner wsdl generated through my instance for API 43 and it is missing few objects. E.g. INDIVIDUAL (Data Protection and Security) - got added in API 42 ...
user avatar
0 votes
1 answer
2k views

Remove [] brackets while sending response in Salesforce

I have a class which sends the response for a request received. I have pasted the response below. I want to remove the [] brackets in the starting and the ending of the response. [{ "Status": "...
user avatar
3 votes
2 answers
1k 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 ...
user avatar

1
2 3 4 5 6