INTEGRATION

25 comments:

  1. http://wiki.developerforce.com/page/Introduction_to_the_Force.com_Web_Services_Connector

    ReplyDelete
  2. Cast Iron:
    http://krishhari.wordpress.com/2012/03/

    ReplyDelete

  3. Big Machines is one of the Vendor like Salesforce:
    --------------------------------------------------
    Which contains more features for Quote Generation.

    ReplyDelete
  4. SOFON:
    ------
    SOFON is one of the on primise Application for Quote Generation.

    ReplyDelete
  5. Enterprise WSDL:
    ----------------
    * It is Strongly types WSDL.
    * It is a big WSDL which contains entire schema of the organization (Detail objects like account, contact ...)
    * If the schema of the organization modified then we need to regenerate Enterprise WSDL.
    * It is suitable when we need to integrate only with one organization.

    Partner WSDL:
    -------------
    * It is Loosely coupled WSDL.
    * It is small WSDL which contains Generic information about schema of the organiztion (It doesn't include detail object information).
    * If the schema of the organization modified then no need to create Partner WSDL again.
    * It is suitable when we need to integrate with multiple organizations (Like sandbox, production).

    ReplyDelete
  6. SOAP API:
    ---------

    * We need to provide username and password for authentication while consuming WSDL which belongs to external application. (We should know their authentication details).
    * After generating apex classes from WSDL then in those apex classes we should provide username and encrypted password (string s=encodingutil.base64Encode(b); like this).

    * If we provide WSDL to access in external application then we need to provide our authentication (username and password) to external system.

    ReplyDelete
  7. Rest API is for another usage than Soap API
    -------------------------------------------

    For data replication / sync, you have to use the Soap Api, beacuse you have dedicated verbs for this : getDeleted, get Updated, capability to query on deleted records...

    Think about using the Rest Api for single record usage by a final user. For instance, if you are developing a mobile app, Rest Api would be appropriate.

    ReplyDelete
  8. hi how to get wsdl for google callender (I want ti get tasks created in google callender into salesforce callender)

    ReplyDelete
  9. *** Web services (Concrete WSDL) - roughly***
    //Generated by wsdl2apex
    //Paste and execute below code in developer console
    /*BookrWs.BookWs stub = new BookrWs.BookWs();
    stub.sessionHeader = new BookrWs.sessionHeader_Element();
    stub.sessionHeader.sessionID = userInfo.getSessionID();
    stub.insertBook('SOAP19','VASU',1000);*/

    public class Bookrws {
    public class LogInfo {
    public String category;
    public String level; public class CallOptions_element {
    public String client;
    private String[] client_type_info = new String[]{'client','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
    private String[] apex_schema_type_info = new String[]{'http://soap.sforce.com/schemas/class/BookWs','true','false'};
    private String[] field_order_type_info = new String[]{'client'};
    }
    public class BookWs {
    //we have to register this below url in remotesitesettings
    public String endpoint_x = 'https://ap1-api.salesforce.com/services/Soap/class/BookWs';
    }
    }

    }
    *** Web services (Abstract WSDL)***
    //Book class for creating WSDL files
    global class BookWs {
    webservice static void insertBook(String title,String author,Integer price) {
    List blist = new List();
    Book__c b = new Book__c();
    b.Name = title;
    b.Author__c = author;
    b.Price__c = price;
    blist.add(b);
    //we can direcly insert record into model
    //insert b;
    //First after inserting values into the record we have to add record to the list
    insert blist;
    }
    }
    //Developer Console Code
    /*BookWs.insertBook('SOAP','SRINU',500);*/

    ReplyDelete
  10. Converting String to DOM XML node:
    https://developer.salesforce.com/forums?id=906F000000091OQIAY

    ReplyDelete
  11. OpenId Connect with Salesforce:
    http://blog.force365.com/2014/04/02/salesforce-openid-connect/

    ReplyDelete
  12. To cover the code for http call out classes, we should create mock classes to refer in the test classes.

    ReplyDelete
  13. To parse JSON object or URL: (Refer w3schools for syntax)
    http://jsonlint.com/

    ReplyDelete
  14. Similar to Salesforce -
    http://www.mendix.com/

    ReplyDelete
  15. http://oauth.net/documentation/getting-started/

    ReplyDelete
  16. Integration Cloud: http://www.boomi.com/

    ReplyDelete
  17. SOAP API call out response will be always in XML format.
    REST API call out response will be in XML or JSON format. Default response will be in JSON format.

    ReplyDelete
  18. Single Sing on and OAuth: (Good Demo)
    https://www.youtube.com/watch?v=kIA1MZrNaAE&noredirect=1

    ReplyDelete
  19. Difference between SOAP and REST API, Please refer the following link -
    http://spf13.com/post/soap-vs-rest

    ReplyDelete
  20. Named Credentials: if we create named credentials, we no need to check for different endpoints based on the organization.

    ReplyDelete
  21. Advanced REST client ---> Chrome Plug in.

    ReplyDelete
  22. Salesforce disabling TLS 1.0 -
    https://help.salesforce.com/HTViewSolution?id=000221207&language=en_US

    ReplyDelete
  23. SOAP WSDL'S -
    http://www.jitendrazaa.com/blog/salesforce/consuming-external-webservice-in-apex/#viewSource

    ReplyDelete
  24. Critical Scenario:
    Difficulty: For call out to parse the response for the different services taking around 25, 30, 20 sec.
    Solution: Improved the performance by creating the POJO class for the each service, achieved around 80% performance (5,6,4,2 sec).

    ReplyDelete
  25. SSO with Salesforce as a Service Provider -
    http://www.jitendrazaa.com/blog/salesforce/step-by-step-guide-to-setup-federated-authentication-saml-based-sso-in-salesforce/

    ReplyDelete

Labels