Questions tagged [partner-wsdl]

Partner Web Services WSDL

Filter by
Sorted by
Tagged with
-1 votes
1 answer
29 views

Not able to create partner jar

Please note I have checked previously posted questions related to this topic, but my issue is not resolved. All the related and required jar files are in one folder (C:\SOAP) and I run below command, ...
user avatar
0 votes
0 answers
35 views

We created new partner jar to support API version upgrade salesforce summer 22 release but getting error Parser exception when running jar

Hi All We have created new Partner Jar to support API version legacy upgrade. Our old code of java which connect with salesforce using SOAP are now breaking with following error. Unexpectd element. ...
user avatar
  • 1,275
0 votes
0 answers
68 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
0 votes
1 answer
109 views

partner.soap.sforce.com Http POST request

What is the endpoint to POST <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/...
user avatar
  • 687
0 votes
1 answer
46 views

SForce Partner Client Create Object with RecordType

I have a PHP web application using the SForce Partner Client to connect with Salesforce. I am creating a new Record Type for a custom object. How can I insert a record with that new Record Type in ...
user avatar
0 votes
1 answer
167 views

Trying to create case to Salesforce org from another salesforce org using SOAP API

I am trying to connect two Salesforce Org and create a case in Client SFDC org via SOAP API by using WSDL files at both end. I have used following code at server for WSDL file generation(and used ...
user avatar
  • 19
1 vote
0 answers
30 views

Serialize Workflow object to XML

I'm developing a test application that modifies the workflow by reading the retrieved Workflow files that are downloaded. The files are read, the workflow switch is modified and submitted to Metadata ...
user avatar
  • 1,079
1 vote
1 answer
65 views

Connected App Partner API requests failing with INSUFFICIENT_ACCESS fault code for specific profiles

I have a managed package that includes a connected app. After installation Subscribers add users to a permission set to access the connected app. When the users object the canvas app within the ...
user avatar
1 vote
1 answer
326 views

SOAP API response queryresult to insert account records in salesforce

I am trying to fetch the account records from the queryResult of Salesforce to Salesforce integration response. But unable to split from the data. Can someone please help me. string query1 = 'Select ...
user avatar
2 votes
0 answers
87 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 ...
user avatar
10 votes
2 answers
253 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 ...
user avatar
3 votes
1 answer
137 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
3 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
68 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 ...
user avatar
  • 91
1 vote
0 answers
336 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
2 votes
2 answers
855 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. "...
user avatar
1 vote
1 answer
264 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 ...
user avatar
0 votes
1 answer
466 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 ...
user avatar
  • 2,551
1 vote
1 answer
423 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 ...
user avatar
12 votes
1 answer
6k 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....
user avatar
  • 4,531
4 votes
4 answers
396 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 ...
user avatar
0 votes
1 answer
381 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 ...
user avatar
1 vote
1 answer
293 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 ...
user avatar
  • 113
0 votes
1 answer
217 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. ...
user avatar
  • 57
0 votes
1 answer
222 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 ...
user avatar
  • 4,531
1 vote
0 answers
73 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 ...
user avatar
1 vote
2 answers
587 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 ...
user avatar
  • 389
1 vote
1 answer
231 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 ...
user avatar
  • 4,531
1 vote
3 answers
3k 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 ...
user avatar
1 vote
1 answer
852 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 ...
user avatar
  • 4,531
0 votes
1 answer
451 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 ...
user avatar
  • 4,531
1 vote
1 answer
394 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 ...
user avatar
  • 1,360
0 votes
2 answers
885 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 ...
user avatar
  • 201
2 votes
1 answer
89 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 ...
user avatar
2 votes
1 answer
506 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 ...
user avatar
2 votes
1 answer
92 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: ...
user avatar
  • 130k
0 votes
1 answer
802 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 ...
user avatar
  • 103
1 vote
3 answers
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 ...
user avatar
2 votes
2 answers
767 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 ...
user avatar
0 votes
4 answers
2k 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 ...
user avatar
  • 357
-1 votes
1 answer
187 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
user avatar
0 votes
2 answers
78 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",.....,"...
user avatar
  • 171
2 votes
2 answers
2k 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 ...
user avatar
  • 304
2 votes
2 answers
268 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 ...
user avatar
  • 1,079
3 votes
1 answer
326 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 ...
user avatar
10 votes
1 answer
893 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 <...
user avatar
-1 votes
1 answer
251 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() { ...
user avatar
1 vote
1 answer
473 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 ...
user avatar
  • 133
1 vote
1 answer
1k 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/...
user avatar
  • 1,077