• ddatbig2
  • NEWBIE
  • 0 Points
  • Member since 2004

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 7
    Replies

getUserInfo returns userEmail in all lower case. I am using soap api version 4.0.

I think salesforce.com should either return exactly the same email address as entered during the sign up time or do not allow upper case letters during the signup process.

--Dipankar

 

Please suggest me a solution to clone an item linked to an opportunity when the opportunity is cloned in salesforce.

Basically I need to trigger a servirce in our server when an opportunity is cloned.

Thanks,

ddas

 

I am using the following SOAP XML to update opportunity line item. The update fails with no error mesage.

<?xml version = '1.0' encoding = 'UTF-8'?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><SessionHeader xmlns="urn:partner.soap.sforce.com"><sessionId>ORCr7XQHcJwK6bHCH0k80my5jLWqdRr1V6n5_xFkZEz5cwCdYQUqpIc.fw.Vk1LE3UK60WyEfl7sCjgJ05u9nPbtzKggVlhL</sessionId></SessionHeader></soap:Header><soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><create xmlns="urn:partner.soap.sforce.com"/><update xmlns="urn:partner.soap.sforce.com"><sObjects><type xmlns="urn:sobject.partner.soap.sforce.com">OpportunityLineItem</type><Id xmlns="urn:sobject.partner.soap.sforce.com">00k30000001JRBkAAO</Id><OpportunityId xmlns="urn:sobject.partner.soap.sforce.com">00630000001UQElAAO</OpportunityId><Quantity xmlns="">1</Quantity><TotalPrice xmlns="">22.22</TotalPrice><ProductId xmlns="">00j30000000gsJwAAI</ProductId></sObjects><sObjects><type xmlns="urn:sobject.partner.soap.sforce.com">OpportunityLineItem</type><Id xmlns="urn:sobject.partner.soap.sforce.com">00k30000001JRBlAAO</Id><OpportunityId xmlns="urn:sobject.partner.soap.sforce.com">00630000001UQElAAO</OpportunityId><Quantity xmlns="">1</Quantity><TotalPrice xmlns="">22.22</TotalPrice><ProductId xmlns="">00j30000000gsJwAAI</ProductId></sObjects></update></soap:Body></soap:Envelope>

Here is the response XML.

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body>  <createResponse xmlns="urn:partner.soap.sforce.com"/> </soapenv:Body></soapenv:Envelope>

I need to find out when the session expires. I expect a better response to my API calls when I reach time out for the session id that I include in the SOAP XML.

Currently I am getting IOException with 500 error code. this is the same error I get when my SOAP xml is malformed.  Please advise how can I get a distinct response for session time out.

java.io.IOException: Server returned HTTP response code: 500 for URL: https://na1-api.salesforce.com/services/Soap/u/4.0

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:800)

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(DashoA12275)

 

When I query for Id field as given below I get the Id field twice repeated in the resulting soap.

<queryString>select Id, Name from Account where Id='00......'</queryString>

Where as the the following query returns no Id field.

<queryString>select Name from Account where Id='00......'</queryString>

Thanks,

dd

I am getting error on describe. Please tell me if my SOAP XML is incorrect.

Here is the error.

---------------------------------------------------------------------

-1java.lang.NullPointerException at common.api.Dispatcher.inner_execute(Dispatcher.java:141) at common.api.Dispatcher.execute(Dispatcher.java:113) at common.api.SOAPServer.execute(SOAPServer.java:132) at servlet.SoapApi.doPost(SoapApi.java:144) at javax.servlet.http.HttpServlet.service(HttpServlet.java:165) at javax.servlet.http.HttpServlet.service(HttpServlet.java:103) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:113) at system.filter.PreGzipFilter.doFilter(PreGzipFilter.java:75) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:84) at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:190) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:177) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:221) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:323) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:430) at com.caucho.util.ThreadPool.run(ThreadPool.java:377) at java.lang.Thread.run(Thread.java:534)

 

 

Here is my SOAP xml.

---------------------------------------------------------------------------

 

iwjEWPk77ikntDUbWbpsUXPPzBlDIyZ7uZmmi._mkslCuYRehRmyyuJU6aX4GzkHKBCdy4jakrcjPCuGuV85KfbtzKggVlhLAccount

 

 

We are trying to integrate our software with salesforce.

1) We want to popup a window  that displays salesforce account search dialog. The popup dialog should not ask for login. We want to pass the session id to the popup window.

2) After an account is found there should be "Apply" button on the account detail page. That apply button should submit a form to the opener window.

Is it possible to do these customization in salesforce?

Please consider the fact that our development is purely on Html and Javascript on the client side. So we cannot use sfcontrol ActiveX or Applet.

Thanks,

dd

 

Message Edited by ddatbig2 on 08-12-2004 04:39 PM

Can salesforce integrate with a third party software that supports web services.

In other words when a opportunity is edited, is it possible to send a message to a third party site on save action?

Thanks,

dd

I am using the following SOAP XML to update opportunity line item. The update fails with no error mesage.

&lt;?xml version = '1.0' encoding = 'UTF-8'?&gt;
&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;&lt;soap:Header&gt;&lt;SessionHeader xmlns="urn:partner.soap.sforce.com"&gt;&lt;sessionId&gt;ORCr7XQHcJwK6bHCH0k80my5jLWqdRr1V6n5_xFkZEz5cwCdYQUqpIc.fw.Vk1LE3UK60WyEfl7sCjgJ05u9nPbtzKggVlhL&lt;/sessionId&gt;&lt;/SessionHeader&gt;&lt;/soap:Header&gt;&lt;soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"&gt;&lt;create xmlns="urn:partner.soap.sforce.com"/&gt;&lt;update xmlns="urn:partner.soap.sforce.com"&gt;&lt;sObjects&gt;&lt;type xmlns="urn:sobject.partner.soap.sforce.com"&gt;OpportunityLineItem&lt;/type&gt;&lt;Id xmlns="urn:sobject.partner.soap.sforce.com"&gt;00k30000001JRBkAAO&lt;/Id&gt;&lt;OpportunityId xmlns="urn:sobject.partner.soap.sforce.com"&gt;00630000001UQElAAO&lt;/OpportunityId&gt;&lt;Quantity xmlns=""&gt;1&lt;/Quantity&gt;&lt;TotalPrice xmlns=""&gt;22.22&lt;/TotalPrice&gt;&lt;ProductId xmlns=""&gt;00j30000000gsJwAAI&lt;/ProductId&gt;&lt;/sObjects&gt;&lt;sObjects&gt;&lt;type xmlns="urn:sobject.partner.soap.sforce.com"&gt;OpportunityLineItem&lt;/type&gt;&lt;Id xmlns="urn:sobject.partner.soap.sforce.com"&gt;00k30000001JRBlAAO&lt;/Id&gt;&lt;OpportunityId xmlns="urn:sobject.partner.soap.sforce.com"&gt;00630000001UQElAAO&lt;/OpportunityId&gt;&lt;Quantity xmlns=""&gt;1&lt;/Quantity&gt;&lt;TotalPrice xmlns=""&gt;22.22&lt;/TotalPrice&gt;&lt;ProductId xmlns=""&gt;00j30000000gsJwAAI&lt;/ProductId&gt;&lt;/sObjects&gt;&lt;/update&gt;&lt;/soap:Body&gt;&lt;/soap:Envelope&gt;

Here is the response XML.

&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt; &lt;soapenv:Body&gt;  &lt;createResponse xmlns="urn:partner.soap.sforce.com"/&gt; &lt;/soapenv:Body&gt;&lt;/soapenv:Envelope&gt;

Folks

I am developing a SOAP client (Java)for sforce.com services, Do i need to execute the Login logic each time(if the session is not expired) with the Sforce Web Services to access the other objects like Accounts,Leads,Contacts,

Please let me know about this,

Regards

gowda

  • August 25, 2004
  • Like
  • 0

When I query for Id field as given below I get the Id field twice repeated in the resulting soap.

<queryString>select Id, Name from Account where Id='00......'</queryString>

Where as the the following query returns no Id field.

<queryString>select Name from Account where Id='00......'</queryString>

Thanks,

dd

I am getting error on describe. Please tell me if my SOAP XML is incorrect.

Here is the error.

---------------------------------------------------------------------

-1java.lang.NullPointerException at common.api.Dispatcher.inner_execute(Dispatcher.java:141) at common.api.Dispatcher.execute(Dispatcher.java:113) at common.api.SOAPServer.execute(SOAPServer.java:132) at servlet.SoapApi.doPost(SoapApi.java:144) at javax.servlet.http.HttpServlet.service(HttpServlet.java:165) at javax.servlet.http.HttpServlet.service(HttpServlet.java:103) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:113) at system.filter.PreGzipFilter.doFilter(PreGzipFilter.java:75) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:84) at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:190) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:177) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:221) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:323) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:430) at com.caucho.util.ThreadPool.run(ThreadPool.java:377) at java.lang.Thread.run(Thread.java:534)

 

 

Here is my SOAP xml.

---------------------------------------------------------------------------

 

iwjEWPk77ikntDUbWbpsUXPPzBlDIyZ7uZmmi._mkslCuYRehRmyyuJU6aX4GzkHKBCdy4jakrcjPCuGuV85KfbtzKggVlhLAccount

 

 

We are trying to integrate our software with salesforce.

1) We want to popup a window  that displays salesforce account search dialog. The popup dialog should not ask for login. We want to pass the session id to the popup window.

2) After an account is found there should be "Apply" button on the account detail page. That apply button should submit a form to the opener window.

Is it possible to do these customization in salesforce?

Please consider the fact that our development is purely on Html and Javascript on the client side. So we cannot use sfcontrol ActiveX or Applet.

Thanks,

dd

 

Message Edited by ddatbig2 on 08-12-2004 04:39 PM

Can salesforce integrate with a third party software that supports web services.

In other words when a opportunity is edited, is it possible to send a message to a third party site on save action?

Thanks,

dd