Questions tagged [partner-wsdl]

Partner Web Services WSDL

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Incompatible type class com.sforce.soap.partner.QueryResult specified as xsi:type.It must be a subclass of 'class com.sforce.soap.partner.QueryResult

I'm using SOAP client to do CRUD operations on Salesforce. I'm getting the following issue in query operation . For example get pushTopic list. I have generated stub classes from Partner WSDL version ...
10
votes
2answers
171 views

Which Summer '19 (v46) sObject types are returning field describe results of soapType “tns:json”?

This might seem like an oddly specific question, but hear me out. I have an application that I distribute freely to whoever wants to use it that talks to Salesforce via the Partner API. Right now the ...
3
votes
0answers
36 views

Getting 'get_any' method on the SObject class when building a JAR from Partner WSDL?

We haven't had to build a new version of the partner wsdl jar for SOAP API work since version 12 and things have changed a bit. I'm trying to work with v43.0, but I'm doing something wrong. I've tried ...
0
votes
1answer
348 views

Customer Community User login using Partner WSDL

Requirement :- Login Customer community user into Salesforce using Partner WSDL. I tried solution provided here and it works for customer community users for me using SOAP UI. But when I used ...
2
votes
1answer
325 views

INVALID_SESSION_ID when calling Salesforce services from Java

We have a Java application running on glassfish that makes callouts to WebServices hosted on our SF sandbox using the Partner WSDL and the SF Web Service Connector (wsc). Yesterday it was working ...
1
vote
1answer
42 views

Partner WSDL and SObject.getField(“FieldName”);

The documentation on using the partner WSDL says there's an SObject.getField("FieldName"); method. I don't see it. I saw an example with the two lines that are commented out below. Those lines ...
1
vote
0answers
94 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" ...
2
votes
2answers
423 views

Partner API describeSObject on Contact fails with “Instance validation error: 'urn:address' is not a valid value for soapType.”

We're trying to pull down picklist values from the Contact object to show on an ASP.Net page using the Partner API. However, we receive the following error when the describeSObject call is made. "...
1
vote
1answer
104 views

Do we have `setQueryOptions` for tooling API?

The Symbol table is only queried through tooling API. Do we have an option to set setQueryOptions when doing that, or similar way of setting batch size to do that. Because when running query() and ...
0
votes
1answer
340 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 ...
1
vote
1answer
312 views

Tooling API : how to query on Salesforce Standard classes?

How can I query and get Standard Apex classes and their Symbol table via tooling API or Partner API? For eg: getting a custom Apex Class : String apexClassBodytooling = "SELECT Id, Name, SymbolTable ...
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....
4
votes
4answers
284 views

Is there any reason behind Enterprise wsdl being recommended for Customers over partner wsdl

Is there any reason behind Enterprise WSDL being recommended for Customers over partner WSDL? Is it that Enterprise WSDL is more secure than Partner WSDL? Please throw some light on the security ...
0
votes
1answer
196 views

Not able to generate Partner.jar

I want to integrate java with salesforce for that I'm trying to generate partner.jar, I'm following this link Introduction to the Force.com Web Services Connector I'm using Partner WSDL API. I'm ...
1
vote
1answer
193 views

How to manage PartnerConnection instance?

I use the Java force-partner-api & force-wsc in the most current version to connect to Salesforce. I use the PartnerConnection instance I get from Connector.newConnection(config); ? Can I use it ...
0
votes
1answer
88 views

How to get current time of logged in Salesforce user using Salesforce API?

I have a C# .NET Windows application. I am using the Partner API to interact with Salesforce. I want to get the current date and time based on logged in user's timezone in my .NET Windows application. ...
0
votes
1answer
120 views

Does partner wsdl change between sandbox

I have provided a partner wsdl to an external system. This wsdl was extracted from DEV sandbox , now I am moving the code to another sandbox , do I need to generate the wsdl from that sanbox again or ...
1
vote
0answers
61 views

Inconsistency between Partner WSDL and actionOverride generated through flexipage for any object

Using Partner WSDL(API Version: 34.0) we have generated Salesforce Client using Axis. In case user has created a Lightning Page of type "Record Page" for a given object in that case actionOverrides ...
1
vote
2answers
467 views

Working With the Different Salesforce Api's

I am building a Java application to interact with the different api's Salesforce provides such as Tooling Api, Metadata Api, Partner Api. I have several questions: Is it possible to make the ...
1
vote
1answer
133 views

Updating child record from Parent using Web Service

I have shared my org's salesforce partner wsdl to an external system. I send a request to them using SOAP callout and in the request I send the ID of a parent Sobject. Now the external system makes ...
1
vote
3answers
2k views

Test Class for WSDL2Apex class generated by Salesforce Partner WSDL

I'm using Partner WSDL in my org and generated an APEX class (WSDL2Apex) to connect my org with another salesforce environment. Have anyone done such earlier and if written the test class for its ...
1
vote
1answer
674 views

Using Partner WSDL to update record in Salesforce

This question is more of a high level. An external system is trying to connect with my Salesforce app. The external system- ABC, is using the partner wsdl to update the record on Salesforce. ABC has ...
0
votes
1answer
341 views

Security concerns about connecting to external systems

I have some concerns on the way our current integration exists between salesforce and a system called WebMethods. Currently we do not use oauth or SSO for security. We pass the username and password ...
1
vote
1answer
253 views

Who publishes artefacts with groupId “com.force.api” to mvnrepository.com?

Does anybody know who publishes force.com related jars under groupId com.force.api on mvnrepository.com? Are these safe to use? Bonus question - why there is no force-tooling-api artefact ? I ...
0
votes
2answers
451 views

Using upsert with the partner WSDL SOAP API

I have created a DLL project in C# which is used to add a lead to a Salesforce account via the Partner WSDL/SOAP API. This DLL is called from an external .NET web application, and the idea is to send ...
2
votes
1answer
77 views

SOQL retrieve limited?

I'm doing an integration using Partner WSDL. When I try to retrieve more than 15 Leads, it's return NullPointerException and I have 43 Leads. When I try to retieve all my Contacts, it's just return ...
2
votes
1answer
306 views

Build partner.jar

I'm following the instruction on Trailhead. When I tried with the enterprise.wsdl I was able to generate the enterprise.jar using force-wsc-37.0.jar, js-1.7R2.jar and ST-4.0.8.jar. Now I'm ...
2
votes
1answer
46 views

LMA (License Management App) problem in sfLma.updateCustomerLicense

We are getting this error when trying to increase licensed seats through the "Modify License" button: sfLma.updateCustomerLicense: execution of BeforeUpdate caused by: System.UnexpectedException: ...
0
votes
1answer
472 views

Setting value for Case “Record Type” is failing with SOAP API v 36

When using the SOAP API, we're getting an error when trying to set the RecordType value on the Case object: The external foreign key reference does not reference a valid entity: RecordType; Error ...
1
vote
3answers
2k views

Insert/Update multiple records in salesforce using webservice

What are the possible way by which external system can insert/update multiple records in salesforce without writing any apex webservice. If webservice is required how it can be implemented. Please ...
1
vote
2answers
498 views

how to get reference table name of custom lookup field salesforce using soap api Salesforce

I am using salesforce soap api partner WSDL. For example i have a custom field of lead abc__c which is a lookup field and pointing at suppose Account. Now in my code i get this custom field name and ...
0
votes
3answers
1k views

Salesforce PHP API : INVALID_LOGIN

I am working with Salesforce PHP API(https://developer.salesforce.com/page/PHP_Toolkit_20.0_Samples) to retreive and update information. But do get the INVALID_LOGIN error when trying to execute if ...
-1
votes
1answer
132 views

How to bring salesforce report in .Net website?

I want to display salesforce report/dashboard in my website. or any way to get report data with partner api? Can any one help me? Thanks, Bhavesh
0
votes
2answers
56 views

Partner API Query() : query string with large number filter criteria

We are using force java partner api for playing with the Salesforce data Salesforce Partner api provides a neat way to filter sobjecttype by ids as a String[] String[] ids = {"id1","id2",.....,"...
2
votes
2answers
1k views

Implementing sObject.get(String fieldname) when using the Partner API

Recently I have been trying my hand at using the SOAP API (C#) to automate a data-migration between two SFDC instances. Because the destination instance is still being built, I am trying to use the ...
2
votes
2answers
215 views

Partner WSDL version overriding for SOAP and BULK

My application (utilizing SOAP and BULK APIs) uses Partner WSDL for different organizations. I have a concern that the version mismatch may pose an error in the application. For example, the Partner ...
3
votes
1answer
313 views

Winter '16 breaks soap API 33.0 DescribeLayout() with VisualforcePage

We have an application that calls the DescribeLayout( ) API method using API version 33.0. This method call began breaking in sandbox following the Winter '16 upgrade. We are getting the following ...
10
votes
1answer
877 views

Winter '16 breaks the Summer '15 Partner API with invalid soapType

With Winter '16 starting to appear on Sandboxes I've started encountering problems with the Partner SOAP API. The initial problem is around the new soapType enumeration values. In particular <...
-1
votes
1answer
199 views

C# partner wsdl binding.QueryOptionsValue.batchSize not being set

So I have a C# program that does an automated backup of all custom objects in are org in the login method which I have posted below I set the querybatch size private bool login() { ...
1
vote
1answer
451 views

How can I connect two Salesforce.com orgs by using the partner WSDL?

I would like OrgA to consume the Partner WSDL and connect to OrgB. OrgA should then be able to create a list of records (i.e. Cases) in OrgB. I read some of the related posts including this one but ...
1
vote
1answer
731 views

Making Apex Callouts to consume Custom Apex Web Service STEPS?

I have two Orgs, the service ORG and the client Org. I want to feed data from service ORG into client org. I read from these two places: 1.https://developer.salesforce.com/page/...
1
vote
1answer
784 views

salesforce to salesforce using partner wsdl in Apex - query call failing

I am trying to connect to other salesforce org. I have partner wsdl. I have used FuseIT SFDC explorer to create Apex class from this partner wsdl. I am successfully able to login to other SF org using ...
2
votes
1answer
295 views

How can I consume 2 web services with one class method?

I'm creating a .Net application to consume the Soap APIs I downloaded 2 partner wsdl files from 2 instances(production and sandbox). I then added the web references to a single application. When I ...
1
vote
0answers
124 views

How to set session using CXF

I am trying to use apache cxf to interface with Salesforce Partner web service. I can login but it seems that I am unable to query because the session id is not set. Can you help? Here's what I ...
0
votes
1answer
41 views

How to create customField in salesforce with partner wsdl?

How to create customField in salesforce with partner wsdl? Example please Thanks
1
vote
2answers
41 views

Can we use any Id other then Salesforce Id to query object for Integration while using Partner WSDL?

Can we use any Id other than Salesforce Id to query object for Integration while using Partner WSDL. e.g. Can we use an external field (e.g. Customer ID) to query Account inside Salesforce using SOAP ...
-2
votes
2answers
540 views

WSDL Testing using soapUI

I am testing a custom WSDL using SoapUI. when i try to run the wsdl it consumed the salesforce record but noting displayed on SoapUI.But when i checked in the salesforce it shows that the record has ...
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) ...
2
votes
0answers
79 views

Sort Products on QuoteLineItems

I am using Salesforce API 27 in .net tool to sync quote and opportunity from external system. However quote in external system and salesforce has not the same order. Salesforce is performing sorting ...
0
votes
1answer
184 views

SOQL QueryResult returns Account name with prefix 'Account' in InnerText

I'm using the Partner WSDL to query contacts via .Net. I have simple SOQL query that pulls back every Contact with their email and Account Name: SELECT Email, Account.Name FROM Contact However when ...