We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [wsdl]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
601 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. ...
1
vote
1answer
368 views

Is it required to create parent and child records in single Salesforce create call of PHP toolkit?

When we are storing parent and child records in single salesforce create call using PHP toolkit is it required the External_ID_Field__c same name in both objects? or we can use any field which is ...
0
votes
2answers
29 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 ...
0
votes
1answer
494 views
1
vote
1answer
644 views

Call method from apex class generated from wsdl file

I don't know how to call method from wsdl file apex class.This is wsdl file Anyone please help me for this.Now i want call "ConvertHistoricalValue" method for get response. How can i call it? ...
0
votes
1answer
126 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 ...
0
votes
1answer
25 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 ...
2
votes
1answer
58 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 ...
1
vote
1answer
31 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
36 views

Keep getting WSA Action = null error and null header for Http Request

I am trying to post XML data to an external service using an endpoint WSDL. I have set up a Named Credential in Salesforce with authentication. When I run the code below I get the following error: &...
2
votes
3answers
2k views

SforceService is not generated in Visual Studio

I was following these steps: https://developer.salesforce.com/page/Integrating_Force.com_with_Microsoft_.NET I downloaded the enterprise wsdl and added the service reference. When I try to access the ...
0
votes
2answers
24 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 ...
0
votes
0answers
18 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>...
1
vote
1answer
397 views

Using SalesForce Soap API in a Metro App

I have a Windows 8 Metro app pulling data from SalesForce through the REST API, which works for most queries. However, the routes to download attachments from records do not seem to work. As an ...
0
votes
1answer
27 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();...
2
votes
1answer
408 views

Reading xsd:extention in WSDL imported in Salesforce

We have been working on an integration, wherein we imported the WSDL provided by middleware to get Information out of SAP. We are facing an issue there on multiple values which are sent by middleware ...
3
votes
1answer
6k views

Salesforce Callout Exception

I created a Salesforce client using "Generate class from WSDL" feature. When i try to call the web service, throws the following error: "System.CalloutException: Web service callout failed: ...
0
votes
0answers
49 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 ...
2
votes
1answer
80 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 ...
1
vote
1answer
109 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> <...
0
votes
1answer
60 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 ...
1
vote
1answer
59 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 ...
-1
votes
2answers
121 views

How can I consume wsdl method output through VF page?

Below is my consumed WSDL. Testing in developer console using Execute Anonymous Window I got output. I need to get same output through visual force page. How do I return the output to display it in a ...
1
vote
2answers
135 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#. ...
1
vote
1answer
33 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 ...
1
vote
0answers
77 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 ...
0
votes
1answer
60 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 ...
1
vote
1answer
45 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 ...
2
votes
1answer
229 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 ...
0
votes
1answer
30 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 ...
1
vote
1answer
100 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?
1
vote
1answer
103 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
0answers
86 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
41 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 ...
7
votes
2answers
816 views

Generate a custom Enterprise WSDL

I am trying to generate a WSDL that expose only some of my objects and methods. The Enterprise WSDL expose every object and method that my org has. I know that it could be possible "cutting" the ...
1
vote
2answers
237 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
1answer
74 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
0answers
935 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
457 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
372 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
52 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
336 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
151 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
147 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 ...
1
vote
1answer
111 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 ...
0
votes
0answers
25 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 "$...
12
votes
4answers
22k views

Accessing a Salesforce sandbox through API

can someone with salesforce API integration help me understand the requirements to access a client's Sandbox? I need to access the sandbox and pull data into our MySQL server. I hired a programmer ...
1
vote
1answer
101 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 ...
9
votes
1answer
3k views

Creating a class by consuming a WSDL document Schema:attribute

I have a problem with salesforce functionality. I've created flat WSDL file but when I am trying to create class in salesforce I still get this error: Error: Failed to parse wsdl: Unsupported ...
0
votes
1answer
312 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 ...