Integrating CRM On Demand /JDEE

Hello Experts,
We have a requirement of integrating CRM On Demand and JDEE with SOA Suite as an middle ware.
For initial development phase we have attempt to log in to CRM OD and able to create a Session ID and log out using JAVA code available @ http://www.webbasedcrmsoftware.com.au/crm-on-demand-tutorials/65-java-access-to-crm-on-demand
When we run the same log in java code from the SOA BPEL @ http://www.oracle.com/technetwork/topics/ofm-siebel-blog-postings-092216.html
String sessionString = "FAIL";
String wsLocation = "https://yourinstance.crmondemand.com/Services/Integration";
String headerName;
try
// create an HTTPS connection to the OnDemand webservices
URL wsURL = new URL(wsLocation + "?command=login");
HttpURLConnection wsConnection = (HttpURLConnection)wsURL.openConnection();
// disable caching
wsConnection.setUseCaches(false);
// set some http headers to indicate the username and password we are using to logon
wsConnection.setRequestProperty("UserName", "myusername");
wsConnection.setRequestProperty("Password", "myencryptedpassword");
wsConnection.setRequestMethod("GET");
// see if we got a successful response
if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK)
// get the session id from the cookie setting
for (int i=0; ; i++)
headerName = wsConnection.getHeaderFieldKey(i);
if (headerName != null && headerName.equals("Set-Cookie"))
// found the Set-Cookie header (code assumes only one cookie is being set)
sessionString = wsConnection.getHeaderField(i);
break;
String formattedID = sessionString.substring(sessionString.indexOf("=")+1,sessionString.indexOf(";"));
setVariableData("SessionID",formattedID);
//System.out.println("Session ID: " + sessionString);
catch (Exception e)
System.out.println("Logon Exception generated :: " + e);
we are not able to get session ID :(
Are we missing some thing :( like importing CRM-OD certificate to Weblogic Server?
Please some one guide me

So does it work on one server and not the other?
Also -
String wsLocation = "https://yourinstance.crmondemand.com/Services/Integration";
wsConnection.setRequestProperty("UserName", "myusername");
wsConnection.setRequestProperty("Password", "myencryptedpassword");
You are changing these in your code - correct?

Similar Messages

  • Integrating CRM On Demand with EBS (12.1.3) using BPEL

    Hi,
    I am working on POC for the integration between EBS and CRM On Demand. We are EBS R12.1.3 and have SOA Suite 10g.
    We are planning to use BPEL to do this communication between EBS and CRM OD. Is this something that is possible using BPEL. In additional to BPEL, do we need Java coding or any other language coding?
    I donwloaded the Account WSDL from the CRM OD website. Created a new BPEL Process using that WSDL. I read that we need to pass the login credentials using a soap header. Can you please let me know how we can do this in a BPEL Process.
    Any pointers would help me alot.
    Thanks in advance.
    Thanks,
    Sreenivas.

    Hi,
    I found a document about using this feature with EBS 11i. I could not find any document that says it is not supported.
    http://simplelogic.in/casestudy/Oracle_EBS_11i_Resumable_Space_Allocation_For_Manufacturing_Sector.pdf
    Regards,
    Bashar

  • Oracle CRM On Demand Outlook Integration - Add-in shows inactive

    I have followed the steps given in the Oracle CRM On Demand->MySetup.
    After installing the OEI, the dll file is registered.
    In MS outlook->Tools->Trust Center->Add-ins. The Siebel Outlook Integration Add-ins is shown in the "Inactive Application Add-ins".
    How can this be enabled/Active so that Oracle CRM On Demand application is integrated with Microsoft Outlook?
    kindly advice.

    Finally found a solution for this problem:
    In MS Outlook 2007, navigate to Tools->Trust Center->Macro Security-> Select option "Warnings for all macros".
    Restart MS Outlook and the Oracle CRM email Integration buttons will appear..
    Hope this helps..

  • How actually Oracle CRM On Demand and Outlook integration works?

    Hi Everyone,
    Here my question means not how to configure this integration but what is behind this technology. Can someone put some light on technical aspect of it? I wanted to know on what technology this integration is based on and other details if u can provide.
    Please help.
    Regards,
    Abhay

    Hello Abhay,
    Actually I am not looking for this. I need to know on what this integration is based on? Like if it is based on Webservices, API, HTTPS Request like that...! Can you tell me about it?Unfortunately I cannot share details of the design. If you can tell me what you are trying to do, I'll do my best to provide you with whatever information I have available.
    Please also it will be great if anyone can tell me if such integration works fine through Citrix connection?Oracle does not currently certify or support desktop or application virtualization solutions, such as Citrix products, for use with Oracle CRM On Demand. Please refer to "CRM On Demand - Support - Citrix [ID 958822.1]" in http://support.oracle.com for more information.
    Thanks,
    Sean

  • Need help integrating the crm on demand in android

    HI i am trying to consume the Oracle CRM on demand web services in android
    I am doing this with ksoap android but confused with the urls to to declared
    right now i am using
    private final String NAMESPACE = "document/urn:crmondemand/ws/ecbs/account/10/2004" ;
      private final String URL = "https://secure-slsomxvka.crmondemand.com/Services/Account/Query" ;;
      private final String SOAP_ACTION = "document/urn:crmondemand/ws/ecbs/account/10/2004:AccountQueryPage";
      private final String METHOD_NAME = "AccountQueryPage";
    and for login
    public static final String ONDEMAND_WS_URL = "https://secure-slsomxvka.crmondemand.com/Services/Integration?command=login";
    i can log in and get get session but not sure about how to call the account info data or contact data
    SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
      request.addProperty("Userid", "XXX");
      request.addProperty("Password","XXXX");
      request.addProperty("ViewMode", "organization");
      request.addProperty("BookName", "");
      request.addProperty("jsessionid", JSESSIONID);
      SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(
      SoapEnvelope.VER11);
       envelope.setOutputSoapObject(request);
      HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
      try {
              androidHttpTransport.call(SOAP_ACTION, envelope);
              SoapPrimitive  response = (SoapPrimitive) envelope.getResponse();
    } catch (Exception e) {
    Log.e(TAG, "Error"+e)

    Hi Prabhu,
    Thanks for your reply.
    But, I am using the Logo as a Standard text and then using that Logo in the window and I was not able to see the Logo on the Print preview page.
    So kindly give inputs on this.
    Regards,
    Vishnu.

  • About Oracle CRM On Demand Integration package

    Hi All,
    We are using Staging Environment version of Oracle CRM On demand.
    I find description about Oracle CRM On Demand Integration package which can creates a seamless front- and back-office user experience with prebuilt integrations between Oracle CRM On Demand and Oracle E-Business Suite, Siebel CRM, and JD Edwards EnterpriseOne.
    Do we have to pay for this package, if do, how much?
    I can't find any price information on oracle website.
    Thanks!

    Hi, Yes it is paid and has its own technical pre-requisites to deploy and use the same. I believe you may have to speak to your Oracle sales representative to get the pricing related info
    -- Venky CRMIT

  • Need idea : Integration of CRM On Demand web services with Oracle SOA 10g

    Hi Al,
    Can anyone have any idea on integration of CRM on Demand Web service with Oracle SOA 10g specially BPEL 10g.
    If you have any idea please share with us. Or if you know any good link on the same... please let me know.....
    Thanks in advance
    Debarshi

    AFAIK there is no such mapping available, however you may want to take a look at this Support Community thread that discusses the migration and even gives some samples.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Forecast Pro integration for CRM On Demand

    Any information on CRM integration for "Forecast Pro" software? Displaying Forecast Pro reports in the CRM UI ? This is outside using the imbedded forecasting functionality in CRM on Demand.

    Hi,
    This approach includes use of Web Services Exposed by Oracle.
    (Navigate to Admin >>Web Services Administration >>Download Documentation button on your CRM Admin Account for a PDF Document on Web Services.
    Firstly, write code to query CRM for Opportunity and Lead created in last 1 hour
    Once the Code is written make sure you schedule it for execution say interval would be every 1 hour.
    Dump all the Queried data to People soft System accordingly.
    - Messer
    Edited by: Deepak H Andeli on Nov 27, 2009 12:28 PM

  • CRM on Demand integration

    Where can I find information about integration between CRMOD and JDE ??

    Hi Rohit,
    You can refer to Web Service Documentation provided along with the Product.
    To find it Log on to CRM OD navigate to Admin >> Web Service Administration >> Download Documentation button
    Document describes about generating Session ID and SOAP Example SOAP Requests
    Regards,
    Deepak H Andeli
    Edited by: Deepak H Andeli on Jul 30, 2010 10:02 AM

  • Outbound Integration in Siebel CRM On Demand

    As we know that only Inbound integration is possible in Siebel CRM on Demand.Has anybody ever done outbound integration in Siebel CRM on demand using Integration event or using ASP?
    Please repond soon.

    Hi Max,
    Thanks for your reply.
    I have built a workflow.
    Name : SH
    Record Type : Contact
    Trigger Event : When New record saved.
    Then created action .
    Name : Outbound Integration
    type : Integration Event
    I select 'Track Changes' for two fields named : First Name and Last Name as it will save changes in a file whenever any new record saved.
    Then I went to Webservice Administration and downloaded zip file for Integration event wsdl.Also I downloaded wsdl file for contact.
    There are few points where I am stuck.
    1) In pdf,they talked about one xml file which will save all changes whenever any new contact record saved because it is created as Integration Event.
    Which file is this?(Integration Event.wsdl???)
    2) Should I use any of the above downloaded wsdl files to create webservice in siebel as I am doing integration b/w Siebel ondemand and Siebel CRM??
    Can you give me a glimpse of the program to ping the queue ?Where do I need to write code in CRM on Demand?Which changes do I need to do in SIebel CRM?
    Thanks for your help.

  • Integration from CRM on Demand

    Hi All,
    Is it possible to send integration request from siebel crm on demand.If so, How do we do it.
    I want to integrate CRM on demand with peoplesoft system.Is there any way for the same.
    Any help is appreciated.
    Thanks in advance.
    Vamsi.

    Hi,
    This approach includes use of Web Services Exposed by Oracle.
    (Navigate to Admin >>Web Services Administration >>Download Documentation button on your CRM Admin Account for a PDF Document on Web Services.
    Firstly, write code to query CRM for Opportunity and Lead created in last 1 hour
    Once the Code is written make sure you schedule it for execution say interval would be every 1 hour.
    Dump all the Queried data to People soft System accordingly.
    - Messer
    Edited by: Deepak H Andeli on Nov 27, 2009 12:28 PM

  • Oracle CRM on Demand Integration to Siebel CRM Enterprise

    Hi,
    Can anyone tell me wheather Oracle has come up with Oracle CRM on Demand R19 integration with Siebel CRM on Premise 8.1 ? If so what is the latest pack to be installed on Siebel Enterprise for the integration & the link for the same to download . More information on same will be helpful.
    Any inputs on this will be appreciated.TIA
    Rgds,
    Satish

    Any thoughts experts?

  • Does Oracle CRM on Demand support GetMapping method for Web Services Integration???

    I am designing an integration package that will push contacts from my domain to Oracle CRM on demand contacts and vice versa based on mapping saved by users...
    Please send some examples if this is still supported by Oracle CRM...
    Or some alternative for getting the display name and the customfieldId from CRM (Admin)

    AFAIK there is no such mapping available, however you may want to take a look at this Support Community thread that discusses the migration and even gives some samples.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Consumer Contact's Web Service CRM On Demand: Problem to do an operation!

    Hi,
    I'm trying to consume a Web service offered by CRM On Demand, namely it is the Contact object.
    The steps I followed were:
    1) Download the file .wsdl associated with contact from CRM On Demand
    2) Generate Proxy web service from JDeveloper 10g (version: 10.1.3)
    3) Configure the client to consume the resource and to do, for example, the contact’s insertion.
    I can make a login and a logout on the Web Service correctly, but when I try to do an insertion I can’t do it.
    The log generated by JDeveloper when running the client is as follows:
    WARNING: Unable to connect to URL: https://secure-ausomxgfa.crmondemand.com/Services/Integration due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: www-proxy.au.oracle.com
    error: java.rmi.RemoteException: ; nested exception is:
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: www-proxy.au.oracle.com
    java.rmi.RemoteException: ; nested exception is:
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: www-proxy.au.oracle.com
    at crmondemand.runtime.Contact_Stub.contactInsert(Contact_Stub.java:283)
    at crmondemand.ContactClient.contactInsert(ContactClient.java:96)
    at crmondemand.ContactClient.main(ContactClient.java:71)
    Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: www-proxy.au.oracle.com
    at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:93)
    at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:89)
    at oracle.j2ee.ws.client.ClientTransportException.<init>(ClientTransportException.java:33)
    at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
    at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:121)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
    at crmondemand.runtime.Contact_Stub.contactInsert(Contact_Stub.java:265)
    ... 2 more
    The HTTP Proxy Server settings (Tools-> Preferences-> Web Browser and Proxy) in JDevloper is:
    - Host name: www-proxy.au.oracle.com
    - Port: 80
    - Exceptions: xpvmware | *. oracle.com | *. peoplesoft.com | *. jdedwards.com | *. mlab.jdedwards.com | *. oracle.com | *. peoplesoft.com | *. jdedwards.com | * . mlab.jdedwards.com
    - No authentication.
    I'm not sure if it's a problem with HTTP proxy server settings or URL/ENDPOINT problem, because maybe I am trying to access an incorrect URL.
    If I try to access from the browser to this URL I can't access the wsdl, so I do not know if this address is correct, but is specified in the file. Wsdl:
    <soap:address location="https://secure-ausomxgfa.crmondemand.com/Services/Integration" />
    For this reason, I supposed that it is correct...
    I have tried to access via URL with the follows:
    - https://secure-ausomxgfa.crmondemand.com/Services/Integration
    - https://secure-ausomxgfa.crmondemand.com/Services/Integration/Contact
    - https://secure-ausomxgfa.crmondemand.com/Services/Integration/Contact?wsdl
    In all I have the next response from the Internet browser:
    <?xml version="1.0" encoding="UTF-8" ?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Client</faultcode>
    <faultstring>Client</faultstring>
    <detail>
    <ErrorCode>SBL-ODU-01001</ErrorCode>
    <ErrorMessage>An invalid command was specified: doGet with no data</ErrorMessage>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    Since the client generated, I have tried with the follows:
    1) System.setProperty("javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY", endpoint);
    2) myPort.setEndpoint(endpoint);
    where endpoint = "https://secure-ausomxdsa.crmondemand.com/Services/Integration" + ";jsessionid=" + idSesion;
    or "https://secure-ausomxdsa.crmondemand.com/Services/Integration" (with both options I can do the operation...)
    and idSesion = logon("https://secure-ausomxdsa.crmondemand.com/Services/Integration",USERNAME,PASSWORD);
    Do you know what is the correct URL (endpoint)?
    Is that a correct HTTP proxy server configuration to invoke a Web service CRM On Demand? But so, what is the correct setting? And if it is a good configuration, what am I doing wrong?
    The source code from my client is:
    String idSesionFull=null, idSesion=null, endpoint=null;
    try {
    crmod.DefaultClient myPort = new crmod.DefaultClient();
    System.out.println("Invoking: " + myPort.getEndpoint());
    ListOfContact list = new ListOfContact();
    ListOfContact outlist = new ListOfContact();
    Contact[] contacts=new Contact[2];
    Contact contact=new Contact();
    //ContactWS_ContactInsert_Input in=new ContactWS_ContactInsert_Input();
    //ContactWS_ContactInsert_Output out=new ContactWS_ContactInsert_Output();
    // Login WS (HTTPS)
    //URL = "https://secure-ausomxdsa.crmondemand.com/Services/Integration"
    idSesionFull=conexionWS_CRM.logon(URL,USERNAME,PASSWORD);
    idSesion = conexionWS_CRM.getSessionId(idSesionFull);
    //Another option I have tested: endpoint = "https://secure-ausomxdsa.crmondemand.com/Services/Integration" + ";jsessionid=" + idSesion;
    endpoint = "https://secure-ausomxdsa.crmondemand.com/Services/Integration";
    myPort.setUsername(USERNAME);
    myPort.setPassword(PASSWORD);
    myPort.setEndpoint(endpoint);
    System.setProperty("javax.xml.rpc.service.endpoint.address", endpoint);
    System.setProperty("javax.xml.rpc.security.auth.username", USER);
    System.setProperty("javax.xml.rpc.security.auth.password", PASSWORD);
    System.setProperty("javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY", endpoint);
    // Add contacts
    for (int i = 0; i < contacts.length; i++) {
    contact.setContactId("WSCRM"+i);
    contact.setContactFirstName("JDeveloper"+i);
    contact.setContactLastName("prove"+i);
    contact.setCellularPhone("77777777"+i);
    contact.setExternalSystemId("1234"+i);
    contacts=contact;
    list.setContact(contacts);
    //in.setListOfContact(list);
    //in.setEcho("OFF");
    outlist=myPort.contactInsert(list,"OFF"); //<--- Is it correct????
    Contact[] results = new Contact[2];
    Contact result = new Contact();
    for (int i = 0; i < contacts.length; i++) {
    results=outlist.getContact();
    System.out.println("ID:"+results[i].getContactId()+" Name:"+results[i].getContactFirstName());
    // Logout WS (HTTPS)
    logoff(URL, idSesion);
    } catch (Exception ex) {
    System.out.println("error: "+ex);
    ex.printStackTrace();
    logoff(URL, idSesion);
    Any idea to solve this problem?
    Thank you very much in advance for any help.
    Edited by: user12158402 on 03-nov-2009 12:39
    Edited by: user12158402 on 03-nov-2009 12:45
    Edited by: user12158402 on 03-nov-2009 12:47

    Hi Royston,
    thank you for your help, but unfortunately I have the same error message.
    Here is the XML I use, I added the authentication that you provided me.
    <?xml version="1.0" encoding="utf-8"?>
    <soapenv:Header>
         <wsse:Security>
              <wsse:UsernameToken>
                   <wsse:Username>EUROMASTERFR/AELMASKOUNE</wsse:Username>
                   <wsse:Password>aqwAZE19</wsse:Password>
              </wsse:UsernameToken>
         </wsse:Security>
    </soapenv:Header>
    <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" xmlns:tns="urn:crmondemand/ws/account/10/2004" xmlns:xsdLocal1="urn:/crmondemand/xml/account">
    <soap:Body>
    <tns:AccountWS_AccountQueryPage_Input>
    <tns:PageSize>10</tns:PageSize>
    <xsdLocal1:ListOfAccount>
    <xsdLocal1:Account>
    <xsdLocal1:CurrencyCode/>
    <xsdLocal1:AccountName>IBM</xsdLocal1:AccountName>
    </xsdLocal1:Account>
    </xsdLocal1:ListOfAccount>
    <tns:StartRowNum>0</tns:StartRowNum>
    </tns:AccountWS_AccountQueryPage_Input>
    </soap:Body>
    </soap:Envelope>
    but for (xmlns: WSSE = "http://schemas.xmlsoap.org/ws/2002/xx/secext" do not forget to enclose the tag with a '>') I do not know to include it.
    Best Regards.
    Anas

  • Serveral questions to CRM On demand release 16

    Hi All,
    I am using trial version of Oracle CRM On Demand release 16, and I have serveral questions to ask:
    1. In the help document "Administering Oracle CRM On Demand/Business Process Management/Creating workflow Rule Actions" mentioned that we can create an Update value action but I can't find this function in workflow rule action.
    So do we have to pay for this function just as "Assign a Book action"?
    2. I can't add new values to Service Request's Status picklist, it's a read-only one.
    Is there any way to achieve this?
    Thanks for any suggestion!

    Hi
    1.The Action 'Update Value' is availble under Triger Event-'Before Modified Record Saved'.
    I am not sure why you have to pay for "Assign a Book action". Thats out of the box functionality.
    2. Yes, SR status is a read only picklist. One workaround I can think of is to create a Custom field for Status. Then run a WF to sync the values of the Custom Status field with the Original Status field (particuluarly the Open and close values. That will maintain the integrity of all the SR matrices).

Maybe you are looking for