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
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 ...
10
votes
1answer
2k views

Apex Class WSDL

I have a requirement in which I want to expose a particular set of custom objects to another 3rd party app. But when I generate enterprise wsdl it includes all the objects. But I don't want to give ...
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 ...
9
votes
1answer
2k views

What is the ID at the end of the Enterprise SOAP service end point URL?

Is that the Organization Id at the end of SOAP service end point URL? I have checked the organization Id in my salesforce account and this Id did not match with it. Please suggest. https://login....
7
votes
1answer
1k views

Understanding a WSDL file

This question is for people who've done quite a lot of integration's. If you were given a WSDL file how do you read it. I mean what method to be called , what should be the input parameter/what is ...
7
votes
1answer
3k 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....
7
votes
4answers
3k views

Bulk API & Foreign Key Resolution on Lookup Fields

We are designing an Integration leveraging Bulk API & Enterprise WSDL (The client code is handled by the source system). The target Force.com Object has few Lookup Fields. Wanted to understand how ...
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 ...
7
votes
1answer
6k views

How to work around lack of salesforce wsdl import tag support?

Question What techniques can I use to modify a 3rd party WSDL that includes import tags so that I can use the Salesforce generate apex class from WSDL feature? Background I'm a beginner at using ...
6
votes
2answers
2k views

Salesforce Wsdl not valid any more

I tried today to generate a proxy with the entreprise.wsdl file (also tried with partner.wsdl) and noticed that the file was 'not valid'. When generating the proxy, everything seems to be okay, but ...
6
votes
1answer
2k views

WSDL generated from apex can't import to SoapUI

I have a very simple apex class: global class RetrieveOpportunity { webservice static Opportunity retrieveOpportunity(Id opportunityId) { return new Opportunity(); } } I clicked the Generate ...
6
votes
1answer
1k views

Avoid hardcoding endpoints in external applications which call custom apex webservice

We currently have a custom apex soap webservice which is called by an external dotnet application. The dotnet application uses the login method to login and then it tries to call the custom apex ...
6
votes
1answer
1k views

matching a WebService class to an inbound request whose format I cannot change

Say I have a SOAP message heading for my org, kind of like a flaming meteorite: I don't really know where it came from, I won't be able to touch it before it arrives, I can't change where it lands, ...
6
votes
2answers
1k views

Unable to Generate Apex Code from WSDL

I have two salesforce orgs and I am trying to do SOAP integration between these two via WSDL import. From the first Salesforce Org (let us say S1) I did the following a) Clicked on the "WSDL" of ...
6
votes
1answer
461 views

Force.com Toolkit for PHP - Still Officially Supported?

Looking at the current websites here: https://developer.salesforce.com/page/PHP_Toolkit https://github.com/developerforce/Force.com-Toolkit-for-PHP I wonder if the toolkit is still supported? Seems ...
6
votes
1answer
2k views

Parsing Partner WSDL in apex

I was able to successfully parse the Partner WSDL in apex and generated apex class.SO what i am trying is to create a sample account record in destination org(Note both orgs are salesforce orgs ) ...
6
votes
1answer
12k views

Is there a way to force SOAP to use TLS instead of SSL?

When we do callout via SOAP, it uses either TLS or SSL. Can we restrict salesforce to use TLS instead of SSL.
5
votes
2answers
4k views

How to make a SOAP call using APEX Class?

I have to connect to an external application for which I'm provided with "usernames, passwords, token id, host url". This host url is a WSDL one which ends with "..sample.php?wsdl" and upon running it ...
5
votes
2answers
5k views

How to create HttpRequest body as plain string from WSDL?

Is there an good way to (automatically) create proper request bodies from WSDL files just as a plain xml string? I need this for perfoming calls from APEX to different salesforce APIs, mostly for the ...
5
votes
1answer
184 views

Enterprise WSDL: varies depending on user?

Is there a single enterprise WSDL for my firm, or does the WSDL depend on the user generating it and the privileges granted her?
5
votes
2answers
1k views

Is it possible to combine all custom wsdl to one enteprise wsdl

We currently have couple of call ins where an external application has to call apex webservices to perform data operations. We anticipate multiple webservices to be exposed in apex and we want to ...
5
votes
1answer
123 views

Salesforce Integration - Query

We have to create a record in our partner Salesforce CRM instance with a certain set of parameters. They informed us that they have built a webservice class for this purpose and instead of sending ...
5
votes
2answers
998 views

Apex callout exception when making hitting an external Service

I am looking at a strange exception when I make an apex callout to a external system. I am forming a very simple apex code to hit the endpoint using wsdl2Apex class. I get the below excception: ...
5
votes
1answer
3k views

Enterprise wsdl vs partner wsdl

I understand that enterprise wsdl is a strongly typed wsdl and is tied to a specific configuration of Salesforce. So the Enterprise WSDL changes if modifications (e.g custom fields or custom objects) ...
5
votes
1answer
424 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 ...
5
votes
1answer
884 views

QName in WSDL XSD file throwing parsing error

While parsing a WSDL having a XSD in which <xs:attribute name="FactoryType" type="xs:QName" /> is there. This QName is not accepted by the salesfroce which throws parsing error. Please help.
5
votes
2answers
4k views

Creating custom WSDL so that external system can invoke our webservice class

We are trying to integrate SFDC with External system, were external system will invoke our webservice class(consumers od of WSDL) and salesforce will accept the request(Providers of WSDL). Here ...
4
votes
2answers
7k views

Unsupported Schema element found http://www.w3.org/2001/XMLSchema:attribute

I have a WSDL that I'm trying to generate into Apex Classes for a Web Service, but I get the following error: Unsupported Schema element found http://www.w3.org/2001/XMLSchema:attribute I have a ...
4
votes
3answers
397 views

Which WSDL document is required to integrate External applications

Iam trying to call a external webservice from salesforce api or apex methods. For that we need WSDL document. From where i will get this WSDL file. 3rd party will provide this wsdl file or we can ...
4
votes
2answers
6k views

Limitations of SOAP API

I am designing a solution where an external system will have to connect to Salesforce to pull data spanning multiple Objects. It happens on a weekly basis and the volume will be around 25K records (...
4
votes
1answer
474 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 ...
4
votes
1answer
503 views

Generated SforceService.cs file from enterprise.wsdl is enormous. How to condense?

I've generated a C# file with classes wrapping the Salesforce Enterprise API by downloading the enterprise.wsdl file from my organization's Salesforce website to my PC, and running .Net's wsdl.exe ...
4
votes
1answer
836 views

Generate WSDL specific version

Is it possible to specify SOAP version for I want to get WSDL file generated ? As I saw on Setup->Develop->API there is possible to download metadata only for last one SF version under which I am ...
4
votes
1answer
4k views

External schema import not supported

I want to import the external WSDL to SalesForce This is the wsdl <?xml version="1.0" encoding="utf-8"?> <wsdl:definitions name="FaxService" targetNamespace="http://tempuri.org/" xmlns:wsdl="...
4
votes
2answers
1k views

How to execute Anonymous Apex via the API/Web Service?

I am trying to connect from my c# client side app and execute some apex code. Here is what I've done so far (which maybe wrong): Went to Setup/Develop/API. Clicked Generate Apex WSDL Consumed ...
3
votes
1answer
4k views

Can I only update 200 records at once with SOAP API? Enterprise WSDL Limitation

We used Enterprise WSDL to integrate external system to Salesforce. When I try to update the records of a particular field in opportunity, it throws an error that I cannot submit records more than 200....
3
votes
1answer
4k views

How to handle anyType of wsdl in generating apex classes

i have to get some data using SOAP api from one org to another .so i generated Enterprise wsdl file of one organization . it contains some fields with specified type as type=xsd:anyType. because apex ...
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 ...
3
votes
2answers
374 views

How to communicate with Salesforce without WSDL?

We have a platform which is programmed in Java. The problem is, every time the WSDL changes(happens more often), the platform crashes. Is there a way to communicate to Salesforce without the WSDL? Or ...
3
votes
1answer
1k views

@future method vs Async callout

Some days ago I imported a WSDL into Salesforce and (different of some years ago) it created an Async class (and of course the sync class). So I decided to search on Google how to use this Async class....
3
votes
1answer
251 views

What WSDL should be given to 3rd party vendor? [duplicate]

We plan to integrate our salesforce instance with a 3rd party vendor via SOAP/XML. Which version of WSDL should be given in this instance ?. I did some reading online and it looks like there are ...
3
votes
3answers
2k views

Invalid Session id in Wsdl2Apex

I created an Apex class (global) containing Webservice methods-> generated WSDL out of it->consumed it in a different org. While instantiating the webservice callout, I set the http header to contain ...
3
votes
1answer
3k views

Using Partner WSDL to update a Salesforce record

My requirement is to update a record in one Salesforce org (org A) from another Salesforce org's (org B) Apex code. I have taken the Partner WSDL of org A and imported it into org B. Using the Partner ...
3
votes
1answer
686 views

fullName is missing in Custom field in Metadata api v29.0

i downloaded a metadata wsdl.created apex class MetadataSerbvice.i wirte a simple code MetadataService.CustomField cf = new MetadataService.CustomField(); cf.fullName ="Asset.ProductLine__c"; but ...
3
votes
1answer
636 views

Trimming WSDL file manually guidelines

i need to update a custom picklist field of standard object.i need to add a value when an object is inserted.i download metadata wsdl file .but its very big .and i am not getting how to trim it ??any ...
3
votes
2answers
552 views

How do we send simple message type elements on soap header to external webservice

We have to consume a WSDL in salesforce where we need to send a soap header element which is of simple data type to an external webservice. The problem is that wsdl2apex parser rejects the simple data ...
3
votes
1answer
1k views

Converting a simple type xsd to a complex type to make wsd2apex work

I have a simple type xsd element which i want to convert to a complex type because i want the final wsdl to be document type literal format. Could you guys help? <xsd:element name="Service"> &...
3
votes
1answer
634 views

Multiple Outbound Messages - Combine WSDL / endpoint?

Is it possible to generate a single WSDL for multiple outbound messages? Receiving messages for leads and Opportunities is proving challenging for our receiving service with the overlapping names of ...
3
votes
2answers
967 views

Apex api to parse wsdl and generate apex code

I want to build a SaopUI like tool in salesforce.So I need to access the ''Parse WSDL'' api of salesforce. Or how can I parse the WSDL file or Apex class in order to extract the methods of web ...
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: ...