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

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

0
votes
1answer
7 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 ...
0
votes
0answers
18 views

No such column 'HtmlValue' on entity 'EmailTemplate' when trying to deploy to sandbox

When trying to deploy some apex with [SELCT HtmlValue FROM EmailTemplate] I get the following error SELECT HtmlValue, Id FROM EmailTemplate ^ ERROR at Row:1:Column:8 No such column 'HtmlValue' ...
1
vote
1answer
47 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 ...
1
vote
1answer
24 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?
0
votes
0answers
31 views

SOAP Webservice link to wsdl file in Salesforce?

I am trying to integrate the Microsoft Navision with Salesforce. to do so my salesforce team has asked for wsdl file to upload it on salesforce developer console. where as my NAV team has given a SOAP ...
1
vote
0answers
21 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" ...
1
vote
1answer
15 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 ...
1
vote
2answers
48 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 ...
0
votes
0answers
193 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 ...
0
votes
1answer
39 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 ...
0
votes
1answer
65 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": "...
3
votes
2answers
291 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 ...
0
votes
2answers
38 views

How to restrict child data insertion in an integration, if Parent insertion fails?

I have the below Inbound Integration class, from which a WSDL is generated and shared with the middleware, to insert data in ServiceMax (also known as SMax - an appexchange product), from SAP:- /* ...
0
votes
1answer
164 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 ...
2
votes
1answer
61 views

Generate wsdl with python or linux

I need to generate a enterprise wsdl for a project I am currently working on. However, the salesforce account I have access to is an api login only meaning that while I can retrieve data from it ...
0
votes
1answer
42 views

Apex execution context and DateTime class

I have a code which does this, Datetime dt = Datetime.NOW(); String starttime = dt.hour(); Now from the apex documentation, now() returns the current datetime based on GMT and hour() returns the ...
0
votes
2answers
355 views

WSDL Error while checking for Apex Specialist superbadge challenge

I am working on Apex Specialist super badge. While doing second challenge it is giving below error :  There was an unhandled exception. Please reference ID: CTZYSSRH. Error: Faraday::ClientError. ...
0
votes
0answers
13 views

how to create axis cliente from etframeworksf.wsdl

We are trying to generate the stub client for the salesforce api at this url: https://etappx.exacttarget.com/etframeworksf.wsdl But when we put in the command line the follow command: java -cp "$...
1
vote
1answer
65 views

Upgrade SOAP API from12.0 to 42.0 (Uses SforceServiceStub methods)

I am trying to upgrade a Legacy project's SOAP API from 12.0 to 40.0. The project is using methods from SforceServiceStub.java to perform operations on SalesForce(enterprise wsdl). So to upgrade the ...
1
vote
0answers
162 views

Creating Data Extension via Ampscript giving error

I'm trying to create a data extension from a landing page using some Ampscript. So far I have got this: %%[ var @jobno, @de, @deFields, @StatCode, @ts_attr, @StatMessage, @ErrorCode set @jobno = ...
0
votes
1answer
111 views

Execute Apex method from WSDL using VB or C# in .net

I have creates a new apex class and imported its WSDL file along with the enterprise WSDL file as a reference into my .net project. The class will create a Rootstock SO header and SO lines in ...
1
vote
1answer
97 views

Allow Nulls for input parameters in Apex Custom Web Service [closed]

We are enabling few custom web services through Apex to insert data into custom objects. Here we have different data types like Double, Date, Boolean, String. For the inputs of any type except String,...
0
votes
1answer
229 views

How to parse WSDL response in Apex?

I'm trying to retrieve data from Birst using WSDL. I generated the WSDL on Salesforce and got the generated Apex classes and the method executeQueryInSpace: public WS_Birst_wwwBirstCom....
0
votes
1answer
124 views

Retrieve data from Birst using WSDL

I'm trying to retrieve data from Birst using WSDL. I generated the WSDL on Salesforce and got the Apex classses. Now I want to use a method called executeQueryInSpace that gets the token response ...
1
vote
1answer
155 views

How to remove soap 1.2 from WSDL

I want to use a WSDL in order to retrieve data from our BI's system. However, the WSDL contains two services: soap1.1 and soap1.2 Our system does not work with WSDL that contains more than one service ...
1
vote
1answer
36 views

Create WCF interface from Workflow Outbound Message WSDL

Tried following these instruction to create a Salesforce outbound message in .NET with WCF But I get an error when I open a command prompt and use this syntax: svcutil /sc out:IService1.cs ...
2
votes
1answer
50 views

Catch a SOAP message send by SAP in a Apex Class

I need guidance with our current SAP - Salesforce situation. We already have implemented a few outbound HTTP request classes. However, in those classes, it was Salesforce which determined when to run ...
1
vote
1answer
130 views

sObject type 'Pricebook2__c' is not supported

I'm working with integration with Salesforce, and when we're going to send data to Salesforce, this error occurs: INVALID_TYPE: sObject type 'Pricebook2__c' is not supported. If you are ...
0
votes
2answers
27 views

Get Debug Logs with specified log levels for Execute Anonyous via APEX ToolingAPI (getting Error)

I imported the Tooling API WSDL back into Apex as toolingSoapSforceCom and added a Remote Site setting from my Salesforce pod/domain. toolingSoapSforceCom.SforceService toolingService = new ...
0
votes
1answer
296 views

Salesforce Partner WSDL Java Client

I'm creating a Java WS Client (Salesforce Partner WSDL) and following the Salesforce "Setting Up Your Java Developer Environment" document. It recommends installing the Web Services Connector (WSDL-...
0
votes
1answer
29 views

SF API WSDL - how can I define/see it?

Is there a way to see what the SF API wsdl looks like? We want to see what data element are required on the request to SF.
0
votes
1answer
58 views

Enterprise WSDL and polymorphism [closed]

We're using the Enterprise WSDL to write a service that will be run from our server and sync data to Salesforce. We're using C# to do this. I have several functions that perform SOAP operations on ...
1
vote
1answer
105 views

Webservice error in Apex

I have generated classes from WSDL file. I'm trying to execute a method from the generated class, there I'm getting the below error. System.CalloutException: Web service callout failed: Unexpected ...
0
votes
2answers
51 views

Integration security

I am integrating Salesforce with a program called IFS. I have the WSDL from IFS and have imported it into Salesforce. My problem is that the WSDL does not have anything about logging into IFS. I do ...
4
votes
1answer
1k views

Use cases for Enterprise WSDL vs Partner WSDL

I am trying to understand more deeply that why can't we do all the integration using Partner WSDL , why does salesforce even have a Enterprise WSDL when partner wsdl can provide the same functionality....
0
votes
0answers
80 views

Error: Failed to parse wsdl: Unknown element: operation [duplicate]

<wsdl:operation name="postData"> <soap:operation/> <wsdl:input> <soap:header message="tns:Message" part="Security" use="literal"/> <...
1
vote
1answer
22 views

Importing WSDL in a WSDL

I have two WSDL files . The first one imports the second one using import tag. How to replace the second one within the first one ? Do we need to replace along with the tag ?
0
votes
1answer
89 views

Get XML from Generated wsdl2apex code

There is an Apex Class in my project which says it was generated by wsdl2apex. How can I see the xml which generated it? I want to see the request in xml file as am getting the below error Web ...
1
vote
1answer
80 views

Metadata API knowledgesettings bug (v40.0 with v37.0) - Solved

I am using Metadata API version 37 while one of our sandboxes were upgraded to v40 (Spring '17). We ran into an issue while running the statement: ReadResult readResult = mdConnection.readMetadata("...
1
vote
2answers
461 views

How to remove name space xmlns from the AddressValidatioRequest Tag in the XML request generated by WSDL class [closed]

Please Help. Want to remove Namespace from xml tag- XML- <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3....
1
vote
2answers
81 views

Integration between two SFDC Orgs through middleware

We have a requirement : Org 1 contains Account data Org 2 needs to have a VF page where data of Account will be displayed on real time . User can also make some changes and save back which needs to ...
1
vote
1answer
563 views

SOAP Login Error: com.sforce.ws.ConnectionException: unable to find end tag at

I have a Java rest api i built using version 37 of partner wsdl and version 37 of metadata wsdl. Today i generated new jars using version 39. However, my api throws an error if i use https://Login....
5
votes
1answer
296 views

Why is Xpath returning null for Salesforce SOAP query response?

I am using Xpath to attempt to parse and get data back from a SOAP Salesforce query response, I found the sample API request and response WSDL from this Salesforce Documentation. My SOAP Salesforce ...
4
votes
1answer
359 views

How to setup Tooling Api in Java Application?

I am developing a Java application that should be able to connect to any Salesforce org and use the Tooling Api. Salesforce provides a WSDL but as I understand it is org specific, correct ? Could ...
0
votes
1answer
265 views

Errors generating Enterprise.jar using wsdlc

Running through the tutorial on the developer site gets me errors. C:\Users\z\Downloads>java -classpath C:\Users\z\Downloads\force-wsc- 39.0.1.jar com.sforce.ws.tools.wsdlc C:\Users\z\Downloads\...
0
votes
1answer
191 views

How to test an outbound messages with C sharp listener?

I have a C# application I set up as a listener for outbound messages, but I'm getting a 403 error response in Salesforce. Do I need to setup a valid endpoint to the asmx file? If so, how do I do I go ...
1
vote
1answer
69 views

elegant way to test WSDL based continuation callouts

I've read this document about testing Asynchronous Callout from an Imported WSDL. But is there a way to do the same test without instantiate an HttpResponse? because copy-pasting a string with an ...
0
votes
1answer
163 views

How to enable API use in salesforce environment

I'm trying to access the partner API on a salesforce environment, but I can not find the API Enabled option. I did find it on an other environment. How can I enable/add this option? Example where ...
1
vote
0answers
74 views

How to change the filename in a FileTransfer object via any API?

I would like to change the filename in a FileTransfer object via the SOAP API (or any other API)? I know I can Perform the FileTransfer but not edit it because FileTransferDefinition is not part of ...
1
vote
1answer
66 views

SOAP DebuggingInfo header not being returned. Breaks strict WSDL interpretation?

SOAP responses to the upsert verb now include the LimitInfoHeader header but not the DebuggingInfo header. This causes SOAP clients who interpret the WSDL strictly to fail with the exception that the ...