-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
9Questions
-
8Replies
How to update look up fields using SOAP API\Enterprise wsdl
I need to update few look up fields of Asset object using Update operation provided by enterprise wsdl.
Please share any example sample SOAP API message\xml if you have on how to update look up fields.
I am getting below error when I try to update CreatedBy lookup field set up as look up field for User object.Please help.
<message>No fields provided in an external foreign key reference in entity: User</message>
- Rathna Deshmukh
- October 07, 2014
- Like
- 0
- Continue reading or reply
how to query Product object based on Opportunity Object
I am looking for single SOQL to query Product object based on a field in Opportunity object.Below is our need.Please Please help and provide the query to acheive this.
Fetch the ProductCode and Name fields from Product object where Opportunity Id of OpportunityObject='xyz'.I tried below query it is throwing error:
SELECT Name,(SELECT Product_Code__c,Name from Product2) FROM Opportunity where Opportunity_ID__c = '006R0000008IEQI'
error:Didn't understand relationship 'Product2' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.
If I just execute the query(SELECT Product_Code__c,Name from Product2) it works,but when i combine it with Opportunity object it throws error.
Thanks a lot in advance!!
- Rathna Deshmukh
- October 07, 2014
- Like
- 0
- Continue reading or reply
Query multiple objects using SOAP API
I need to query Account records and also opportunities associated with that account based on Account Id using SOAP API enterprise wsdl.
I there a way to fetch this data in a single call,rather than making 2 seperate Query calls.currenlty I am using 2 seperate query calls to achieve this.
Please help.
Thanks in Advance!!
- Rathna Deshmukh
- September 03, 2014
- Like
- 0
- Continue reading or reply
REST API:Session expired or Invalid error
Please help me in understanding,Is OU Auth 2.0 the only way to interact with salesforce using rest API'S or does is support the session Id(I,e the session Id we get as part of login menthod in SOAP API).
I am trying to call Query method of REST API by passing the session Id as Authorization header, I get from login method of SOAP API.I am getting below error:
<errorCode>INVALID_SESSION_ID</errorCode>
<message>Session expired or invalid</message>
below is the url I am calling by passing Authorization header with the value of session Id I am getting from login method form SOAP API.
https://cs2.salesforce.com/services/data/v31.0/query/?q=SELECT ID,name from Contact
Please help.Are there any SOAP UI test cases or samples to refer.I am trying to test from SOAP UI.
Thanks,
Rathna
- Rathna Deshmukh
- September 01, 2014
- Like
- 0
- Continue reading or reply
How to Query all the fields in Salesforce Object using Enterprise WSDL
How to Query all the fields in your Salesforce Object using Enterprise WSDL?
I need to retrieve all fields in Account object using Query operation\method in enterprise wsdl.I tired the query "select * from Account",this query with "select *" is not working.it throws error Saying "malformed query and unexpected *" in query.
Please let me know what should be the query to seelct all fields from salesforce account object for enterprise wsdl.
also pl help me in understanding what is the difference between Query and QueryAll method in enterprise wsdl?
Thanks in Advance!!
- Rathna Deshmukh
- August 25, 2014
- Like
- 0
- Continue reading or reply
GET not supported error when trying to do query using REST API
Please advise.I am trying to test query operation of REST API using SOAP UI.I am getting below error:
<h2>HTTP ERROR 405</h2>
<p>
Problem accessing /services/Soap/c/31.0/query/. Reason:
<pre>GET not supported</pre>
</p>
<hr/>
<i>
<small>Powered by Jetty://</small>
In the SOAP UI,I am manually adding header with name "Authorization" with value of sessionID.Below us the url I am trying for query
https://instance.salesforce.com/services/Soap/c/31.0/query/?q=SELECT ID,name from Account
Are there any samples,if yes please provide the link and advise.Thanks in advance!!
- Rathna Deshmukh
- August 22, 2014
- Like
- 0
- Continue reading or reply
Failed to parse wsdl: Unable to find element
I am getting below error while generatign apex classes from enterprise wsdl.Can anyone let me know the solution.
error:Error: Failed to parse wsdl: Unable to find element for {http://xmlns.ieee.org/Internal/BOD/Customer/V2}Address
The element "Address" for which it is throwing does exist within wsdl.
Please advice.
- Rathna Deshmukh
- August 11, 2014
- Like
- 0
- Continue reading or reply
Webservice callout from salesforce
I need to make a webservice calout from salesforce.the wsdl of service is importing another schema,I came to know that salesforce doesnt parse the wsdl which imports other schema's.If I remove the import section from wsdl and insert the schema directly within the wsdl,will it work?
Has anyone done this and succeeded?,Please let me know.The service WSDL is a SOA suite 11g webservice.If it works please let me know how to embed the schema withing the wsdl by removing the import statement,any example whould help.
- Rathna Deshmukh
- August 06, 2014
- Like
- 0
- Continue reading or reply
Calling Search and Create method of Enterprise wsdl using SOAP API
I am using enterprise wsdl and want to call Search and Create methods of SOAP API.Can anyone please provide me the correct payload and format to test Search and Create methods for enterprise wsdl using SOAP UI tool.
Below is the SOAP UI request I have for Search method.what should I pass for <searchstring> in the below request.I am able to get the session Id using the login method of API.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com">
<soapenv:Header>
<urn:SessionHeader>
<urn:sessionId></urn:sessionId>
</urn:SessionHeader>
</soapenv:Header>
<soapenv:Body>
<urn:search>
<urn:searchString></urn:searchString>
</urn:search>
</soapenv:Body>
</soapenv:Envelope>
Also please provide the request for Create method.
Thanks in advance
- Rathna Deshmukh
- July 23, 2014
- Like
- 0
- Continue reading or reply
How to update look up fields using SOAP API\Enterprise wsdl
I need to update few look up fields of Asset object using Update operation provided by enterprise wsdl.
Please share any example sample SOAP API message\xml if you have on how to update look up fields.
I am getting below error when I try to update CreatedBy lookup field set up as look up field for User object.Please help.
<message>No fields provided in an external foreign key reference in entity: User</message>
- Rathna Deshmukh
- October 07, 2014
- Like
- 0
- Continue reading or reply
Query multiple objects using SOAP API
I need to query Account records and also opportunities associated with that account based on Account Id using SOAP API enterprise wsdl.
I there a way to fetch this data in a single call,rather than making 2 seperate Query calls.currenlty I am using 2 seperate query calls to achieve this.
Please help.
Thanks in Advance!!
- Rathna Deshmukh
- September 03, 2014
- Like
- 0
- Continue reading or reply
REST API:Session expired or Invalid error
Please help me in understanding,Is OU Auth 2.0 the only way to interact with salesforce using rest API'S or does is support the session Id(I,e the session Id we get as part of login menthod in SOAP API).
I am trying to call Query method of REST API by passing the session Id as Authorization header, I get from login method of SOAP API.I am getting below error:
<errorCode>INVALID_SESSION_ID</errorCode>
<message>Session expired or invalid</message>
below is the url I am calling by passing Authorization header with the value of session Id I am getting from login method form SOAP API.
https://cs2.salesforce.com/services/data/v31.0/query/?q=SELECT ID,name from Contact
Please help.Are there any SOAP UI test cases or samples to refer.I am trying to test from SOAP UI.
Thanks,
Rathna
- Rathna Deshmukh
- September 01, 2014
- Like
- 0
- Continue reading or reply
How to Query all the fields in Salesforce Object using Enterprise WSDL
How to Query all the fields in your Salesforce Object using Enterprise WSDL?
I need to retrieve all fields in Account object using Query operation\method in enterprise wsdl.I tired the query "select * from Account",this query with "select *" is not working.it throws error Saying "malformed query and unexpected *" in query.
Please let me know what should be the query to seelct all fields from salesforce account object for enterprise wsdl.
also pl help me in understanding what is the difference between Query and QueryAll method in enterprise wsdl?
Thanks in Advance!!
- Rathna Deshmukh
- August 25, 2014
- Like
- 0
- Continue reading or reply
Calling Search and Create method of Enterprise wsdl using SOAP API
I am using enterprise wsdl and want to call Search and Create methods of SOAP API.Can anyone please provide me the correct payload and format to test Search and Create methods for enterprise wsdl using SOAP UI tool.
Below is the SOAP UI request I have for Search method.what should I pass for <searchstring> in the below request.I am able to get the session Id using the login method of API.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com">
<soapenv:Header>
<urn:SessionHeader>
<urn:sessionId></urn:sessionId>
</urn:SessionHeader>
</soapenv:Header>
<soapenv:Body>
<urn:search>
<urn:searchString></urn:searchString>
</urn:search>
</soapenv:Body>
</soapenv:Envelope>
Also please provide the request for Create method.
Thanks in advance
- Rathna Deshmukh
- July 23, 2014
- Like
- 0
- Continue reading or reply
Failed to parse wsdl
hello people,
i try to generate apex classes from WSDL and the error
Failed to parse wsdl: Found schema import from location.............External schema import not supported
i need some help with that.
- Lasts
- August 30, 2013
- Like
- 0
- Continue reading or reply
Salesforce Integration with Oracle SOA Suite
HI All,
Greetings
I am trying to Integrate Salesforce with SOA Suite.
Scenario is like this: Account created in Salesforce is sent to Oracle ERP using Oracle SOA Suite.
For this Scenario, I have enabled outbound messages using the Workflow Rule. Now I want to know how to setup SOA suite such that this message is received by SOA Suite.
What is the configuration to be done at SOA Suite.Please do let me know.
Thanks in advance.
Regards,
Manohar
- Manohar
- December 11, 2011
- Like
- 0
- Continue reading or reply
Cant parse wsdl
When I try to create an Apex class from the wsdl, it doesnt parse the wsdl. Salesforce.com throws the following error
Error: Failed to parse wsdl:Unable to find schema for element;
can anyone let me know how can I resolve the error?
Thanks,
Pooja
- Pooja05
- June 04, 2009
- Like
- 0
- Continue reading or reply