Questions tagged [partner-wsdl]

Partner Web Services WSDL

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

How to use AggregateResult in java code using Partner wsdl of salesforce

Query: Select count(id) from Account When i execute the above query using java code I am unable to fetch the records it gives null value whenrun through java code. From the following link https://...
Yashaswini's user avatar
-1 votes
1 answer
76 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, ...
Quest_sfdc's user avatar
0 votes
1 answer
270 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/...
pincet's user avatar
  • 839
0 votes
1 answer
79 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 ...
Developer Guy's user avatar
0 votes
1 answer
261 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 ...
KKumar's user avatar
  • 19
1 vote
0 answers
55 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 ...
dmachop's user avatar
  • 1,089
1 vote
1 answer
108 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 ...
Daniel Ballinger's user avatar
1 vote
1 answer
592 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
116 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 ...
Dipankar Dey's user avatar
10 votes
2 answers
272 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 ...
Daniel Ballinger's user avatar
3 votes
1 answer
169 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 ...
Chad Hill's user avatar
0 votes
1 answer
2k 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 ...
HowToDoItInSalesforce's user avatar
3 votes
1 answer
3k 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 ...
Moonlapse Vertigo's user avatar
1 vote
1 answer
76 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 ...
Ken's user avatar
  • 176
1 vote
0 answers
424 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" ...
Donald's user avatar
  • 385
2 votes
2 answers
1k 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. "...
William Smith's user avatar
1 vote
1 answer
353 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 ...
Nagendra K S's user avatar
0 votes
1 answer
551 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 ...
Samir's user avatar
  • 2,641
1 vote
1 answer
475 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 ...
Nagendra K S's user avatar
13 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....
SfdcBat's user avatar
  • 4,751
4 votes
4 answers
437 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 ...
user40950's user avatar
0 votes
1 answer
501 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 ...
Atul Rakate's user avatar
1 vote
1 answer
360 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 ...
keiki's user avatar
  • 113
0 votes
1 answer
308 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. ...
rakesh's user avatar
  • 57
0 votes
1 answer
262 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 ...
SfdcBat's user avatar
  • 4,751
1 vote
0 answers
74 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 ...
Hardik Jethava's user avatar
1 vote
2 answers
664 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 ...
sfdcdev's user avatar
  • 389
1 vote
1 answer
261 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 ...
SfdcBat's user avatar
  • 4,751
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 ...
Nishant Singh Panwar's user avatar
1 vote
1 answer
955 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 ...
SfdcBat's user avatar
  • 4,751
0 votes
1 answer
509 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 ...
SfdcBat's user avatar
  • 4,751
1 vote
1 answer
476 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 ...
gaiser's user avatar
  • 1,360
2 votes
1 answer
93 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 ...
Julio C. Boll's user avatar
2 votes
1 answer
574 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 ...
Julio C. Boll's user avatar
2 votes
1 answer
141 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: ...
Keith C's user avatar
  • 135k
0 votes
1 answer
950 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 ...
Jason's user avatar
  • 103
1 vote
3 answers
3k 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 ...
Harshal Dhage's user avatar
2 votes
2 answers
835 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 ...
Fazeen Ahmad's 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 ...
Gops's user avatar
  • 367
-1 votes
1 answer
202 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
Bhavesh Panchal's user avatar
0 votes
2 answers
96 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",.....,"...
Sithlord's user avatar
  • 191
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 ...
Tezyn's user avatar
  • 346
2 votes
2 answers
282 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 ...
dmachop's user avatar
  • 1,089
3 votes
1 answer
328 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 ...
Karuna Kumar Yatam's user avatar
10 votes
1 answer
901 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 <...
Daniel Ballinger's user avatar
-1 votes
1 answer
271 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() { ...
michaelBehan's user avatar
1 vote
1 answer
487 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 ...
jangiz's 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/...
sfdcnoob's user avatar
  • 1,097
1 vote
1 answer
963 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 ...
apn's user avatar
  • 1,722
2 votes
1 answer
567 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 ...
sfdcnoob's user avatar
  • 1,097