CRM On Demand Web Services Release 18 from JDeveloper 10g (10.1.3.5)

Hello,
I have tried to do a query over an account with QueryPage method in JDeveloper 10.1.3.5 but i have the following error:
javax.xml.rpc.soap.SOAPFaultException: Server
* at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:566)*
* at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:401)*
* at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:114)*
* at crm.outlook.proxy.runtime.Account_Stub.accountQueryPage(Account_Stub.java:76)*
* at crm.outlook.proxy.AccountClient.accountQueryPage(AccountClient.java:108)*
* at crm.outlook.proxy.AccountClient.main(AccountClient.java:73)*
And the URL format to connect is:
https://secure-ausomx[ENV].crmondemand.com/Services/Integration;jsessionid=4d60be775d680584e919a0b2fd6bb4260a4be9df6c10ab607eef3e1f167be64b.e3iRbxmMax50bxaNchyRa3yMe0
The principal part of my source code is the following:
input.setViewMode("Broadest");
input.setLOVLanguageMode("LIC");
listQuery.setPagesize(BigInteger.valueOf(100));
listQuery.setStartrownum(BigInteger.valueOf(0));
listQuery.setRecordcountneeded(true);
id.set_value("AHKA-1ME4Z2");
name.set_value("");
externalID.set_value("");
integrationID.set_value("");
//I have changed the value of the query. With different possibilities, i.e.:
//id.set_value("= 'AHKA-1ME4Z2' ");
//and I have tried with the following too:
//id.set_value(""); //to query all accounts
accountQuery.setId(id);
accountQuery.setAccountName(name);
accountQuery.setExternalSystemId(externalID);
accountQuery.setIntegrationId(integrationID);
listQuery.setAccount(accountQuery);
input.setListOfAccount(listQuery);
myPort.accountQueryPage(input);
I have tried with insert operation too, but the issue is the same.
NOTES:
- I haven't proxy.
- I have activated "Integration Web Services" privileges.
- I have activated "Web Services R16 Compatibility" in company profile. And I have tried unchecked it and the problem doesn't resolve.
The login is correct over CRM OD (in uses WS CRM OD page I can see them), but the WS doesn't do the operation (query an account). It seems can't send the message.
I have validate my environment [ENV] and it is correct.
"Oracle Web Services On Demand Guide (Release 18)" differences with WS Release 16 to do a QueryPage Operation:
- Obligatories fields --> ListOfEntity (in my case, ListOfAccount), ViewMode (I have specified, Broadest).
- QueryPage Syntax Release 18: [XML Tag] {Operator} {Value} (Page 86), with Release 16: QueryPage Syntax: {Operator} {Value}
- Release 18: it's necessary specify the searchspec option over AccountQuery Type.
So, I have the following:
accountQuery.searchspec ("[AccountName] = 'Gran Empresa, S.A.'");
// I have tried too: accountQuery.searchspec("= [AccountName] = 'Gran Empresa, S.A.'");
// accountQuery.searchspec("= '[AccountName]' = 'Gran Empresa, S.A.'"); listQuery.setAccount(accountQuery); input.setListOfAccount(listQuery);
output = myPort.accountQueryPage(input);
But it isn't solve the issue...
Any idea what I'm doing wrong?
thanks in advance and regards.

Hello Frank,
Thank you for your suggestion. I tried that and I got the same error. Looked more careful at it:
Exception java.io.IOException: /my/home/data/opt/jdeveloper/jdev/bin/ojc: cannot execute
I tried to execute it manually:
$ l /my/home/data/opt/jdeveloper/jdev/bin/ojc
-rw-rw-r-- 1 marius marius 1.9k Dec 2 19:20 /my/home/data/opt/jdeveloper/jdev/bin/ojc
$ /my/home/data/opt/jdeveloper/jdev/bin/ojc
bash: /my/home/data/opt/jdeveloper/jdev/bin/ojc: Permission denied
Did
$ chmod a+x /my/home/data/opt/jdeveloper/jdev/bin/ojc
which solved the execution. Now Hello word works.
I got jdeveloper as a .zip archive, which doesn't keep unix permissions. The Linux distribution should be in .tgz archive, it would have avoided this problem.
Thanks!

Similar Messages

  • Error while calling siebel crm on demand web service

    Hi.
    Has anyone encounter this problem before while trying to invoke the Siebel crm on demand web services? Please help.
    Also, do I have to set up the SSL Trust Key and trust file to include the Siebel crm SSL cert?
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultString: com.ibm.wsspi.channel.framework.exception.ChannelException: com.ibm.wsspi.channel.framework.exception.ChannelException: Invalid trust file name of null
    faultActor: null
    faultDetail:

    Hi, yes I only use jax-ws to generate client artifacts for On Demand. I can imagine for first time user you have really big problems to generate the client code... The reason for this is in most cases the size of the wsdl files.
    What you can do is.
    1. Think about what you really need of the selected wsdl. eg. if it is account do you need all related objects like PlanAccount etc?
    2. If you know what you need start to delete the not needed definitions from the wsdl and try the generation of client afterwards.
    Best Regards
    SL

  • "Cipher not initialized" when trying to invoke CRM On Demand web service

    Hi,
    I'm try to invoke CRM On Demand web service for which there is a pre-req to get a session ID by making an https request. I've the below java embedded code which does that. It works fine if I run the below code in my desktop as a java program, but when I deploy it on SOA 11g I get "Caused by: java.lang.IllegalStateException: Cipher not initialized" error (find below the stack trace). Please let me know what's going wrong here?
    String sessionString = "FAIL";
    String wsLocation =
    "https://secure-********.crmondemand.com/Services/Integration";
    String headerName;
    try {
    // create an HTTPS connection to the OnDemand webservices
    java.net.URL wsURL =
    new java.net.URL(wsLocation + "?command=login");
    java.net.HttpURLConnection wsConnection =
    (java.net.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",
    wsConnection.setRequestProperty("Password", "***********");
    wsConnection.setRequestMethod("GET");
    // see if we got a successful response
    if (wsConnection.getResponseCode() ==
    java.net.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);
    if (sessionString != null ||
    sessionString.startsWith("JSESSIONID")) {
    break;
    String formattedID =
    sessionString.substring(sessionString.indexOf("=") + 1,
    sessionString.indexOf(";"));
    setVariableData("SessionID", formattedID);
    //System.out.println("Session ID: " + sessionString);
    } catch (Exception e) {
    e.printStackTrace();
    setVariableData("SessionID", e.getMessage());
    System.out.println("Logon Exception generated :: " + e);
    throw new RuntimeException(e);
    Caused by: java.lang.IllegalStateException: Cipher not initialized
    at javax.crypto.Cipher.c(DashoA13*..)
    at javax.crypto.Cipher.update(DashoA13*..)
    at com.certicom.tls.provider.Cipher.update(Unknown Source)
    at com.certicom.tls.record.MessageEncryptor.compressEncryptSend(Unknown Source)
    at com.certicom.tls.record.MessageEncryptor.compressEncryptSend(Unknown Source)
    at com.certicom.tls.record.MessageFragmentor.write(Unknown Source)
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown Source)
    at com.certicom.tls.record.MessageInterpreter.interpretContent(Unknown Source)
    at com.certicom.tls.record.MessageInterpreter.decryptMessage(Unknown Source)
    at com.certicom.tls.record.ReadHandler.processRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown Source)
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.io.OutputSSLIOStreamWrapper.write(Unknown Source)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    at java.io.FilterOutputStream.flush(FilterOutputStream.java:123)
    at weblogic.net.http.HttpURLConnection.writeRequests(HttpURLConnection.java:158)
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:363)
    at weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:37)
    at weblogic.net.http.HttpURLConnection.getResponseCode(HttpURLConnection.java:952)
    at orabpel.productquerybpelprocess.ExecLetBxExe0.execute(ExecLetBxExe0.java:93)
    Thanks!

    Same question...did you ever got this resolved...for me, even the simple java program, when run on JDev 11g is ALSO not working. I am getting this.
    Using JDev 10g on the same machine (or for that matter SOA 10g) works perfectly.
    Have posted this thread too - Getting SSLHandshakeException when trying to login to OCOD using Jdev 11g
    Thanks,
    Amit

  • 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/

  • HOW TO CALL A WEB SERVICE OR EJB FROM BPEL

    HI
    i want to call java web service or ejb from my bpel process. how can i do this.
    i am using oracle soa10.1.3.1.0 and jdeveloper 10.1.3.1.0 and oracle database xe 10g.
    thanks in advance K ROY

    You could deploy your EJB or Java under a web service into your OC4J, after that, you invoke a partnerlink from BPEL to the destination of wsdl will do. Also don't forget to add in your XSD schema as well.
    Thanks,
    Jyno

  • ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http

    I am getting error message ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http PL/SQL package,
    when browsed through some of the messages they point to setting Oracle Wallet Manager.
    I am trying to connect
    Any idea on how to resolve this issue ?
    your input is appreciated.
    Thanks
    Ravi

    Duplicate post ... please ignore.

  • JCD - making a web service client call from a jcd

    Hi,
    We would like to make web service client calls from our jcd's in Java CAPS 5.1.2 to an external web services running under a Tomcat 5.5 servlet.
    What is the recommended method of calling web services from a jcd?
    We attempted to import a WSDL and use the wsdl object but that failed.
    One alternative I thought of is generating the client classes from Axis 1.3 and importing an external .jar file with those classes plus the necessary jar to run Axis.
    Our external web services are typed as docment/literal, wrapped.
    Thanks

    The recommended way to make Web Services calls from a Java Collaboration is to use the support for this feature in JCaps 5.1.2. This means using the WSDL as an OTD and linking it to an external web service on the connectivity map.
    If you have trouble using the WSDl as an OTD you can open a support case with Sun support (http://goldstar.stc.com/support).
    Regards,
    Frederik

  • Can a Web Service be Consumed from within JSX

    Hi all,
    In CS5, can a web service be consumed from within JSX, and if so - how?
    TIA,
    mlavie

    Kris,
    Thanks! Exactly what I needed!
    mlavie

  • Web services call directly from SAP ?

    Hi ESA Experts,
    Is it possible to make a web service call directly from a SRM or SAP R3 system without using SAP XI ?. If so, have you some code samples ?
    Thanks a lot for your response.
    Best regards
    Etienne

    Hi, Etienne.
      There are two things to do.
      1. Prepare Service Provider
      For providing services, there are many tools to publish as web services
    from BAPI, RFC and Enterprise Services.
      Please look at here.
      help.sap.com - Web Service Toolset
      http://help.sap.com/saphelp_nw04s/helpdata/en/db/99c04ba22fe64f96a8651df68eab92/frameset.htm
      i recommend Web Service Creation Wizard as first step.
      2. Prepare Service Consumer
      Also has many tools. What i like is WS Navigator for basic test of web services.
      help.sap.com - Web Service Homepage
      http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/d7baaf1481a349ab723e3acd7334b3/frameset.htm
      Best Regards.

  • Issue with creating Web Service Client using Oracle JDeveloper

    Hi All,
    I am trying to create a Web Service Client using Oracle JDeveloper. I set the Project compiler property to JRE 1.4
    When I run the web service client, it throws me bunch of errors saying:
    'Error(32,2): annotations are not supported in -source 1.4'
    I am wondering why JDeveloper is using annotations even after I set the compiler property to 1.4
    I am following this link to create the webservice client:
    http://www.oracle.com/technetwork/developer-tools/forms/webservices-forms-11g-094111.html
    Any help in this regard would be greatly appreciated.
    Thanks,
    Scott.

    Dear Shay,
    Thanks for your prompt response.
    You are right. JDeveloper 11g uses JDK 6 style annotations for the clients it creates. But you can change the JRE Version used at compile time by following these steps:
    1. In the Applications Navigator, right-click the Project Nanem node and select Project Properties... from the context menu.
    2. Select the Compiler node and check the Source Files and Generated Class Files dropdown lists. You may change these versions depending on the version of the JRE you are using with Forms to ensure that the compiled
    classes from JDeveloper can be read by the JRE used by Form.
    So I selected JDK version 1.4 there.
    Sorry that I did not mention that we are using Oracle Forms 10g. That is the reason I selected JDK 1.4
    Thank you.
    Scott.

  • How to Create and Deploy Web Services Using Oracle 9i JDeveloper

    Hi,
    My Question is how to create and deploy Web Services using Oracle 9i JDeveloper.Anybody please give me a detailed Reply.Please Reply to [email protected]
    Hopr to Hear From you,
    Regards,
    G Sreekumar

    You could use datasources. You should do this in your BC4J Configuration. Then when deploying your applicaiton use the command -installDataSource (from admin.jar) to create the right datasource.
    You could probably use the name of your connection + "DS" so you can also use it locally in JDeveloper as JDev seesm to create this automaticly for your Connections.

  • Web Service with attachment in JDeveloper 10.1.2

    Can I create a Web Service with attachment in JDeveloper 10.1.2?
    How?

    Support for attachment is only coming with JDev 10.1.3 (and the JAXRPC runtime).
    -eric

  • Call Report Builder from Jdeveloper 10g with parameters

    hello , how are you
    i am in oracle forms for long , today i am work in jdeveloper 10g, i want some questions
    1- how call oracle report builder from oracle jdeveloper 10g with parameters
    2- if there aren't call from jdeveloper 10g, what is good report tools?
    thanks.

    I'm assuming that what you want to do is actually run a report from a JDeveloper application.
    To do this you can use the various ways that Reports offer to invoke reports with the report server - including URL & Web Service interfaces.
    More information on these in the Oracle Reports - Publishing reports manual.

  • Can't make a connection from JDeveloper 10g (9.0.5.0) to WebLogic 8.1

    I can't make a connection from JDeveloper 10g (9.0.5.0.0) to WebLogic 8.1
    When I click "Test connection" JDeveloper 10g writes the following:
    Cannot instantiate class: weblogic.jndi.WLInitialContextFactory
    Have somebody ever established a connection from JDeveloper 10g (9.0.5.0) to WebLogic 8.1? How to do this?

    It connects successfully now. Thank you for the information.
    But it does nothing when I try to deploy my J2EE application.
    I right-click on Resources -> application.deploy, choose "Deploy to" -> my connection. It starts to do something obscure.
    Then I go to the WebLogic console and it shows that there is no my application.

  • How to develop and Run .jsp page from Jdeveloper 10g

    Dear All,
    I need to develop one small JSP page using Jdeveloper10g. pls share information How to develop and Run .jsp page from Jdeveloper 10g.
    Thanks in Advance,
    Hanimi.

    Hi Gyan,
    Any Idea how to get DB connection for JSP Pages.
    Our Java guys developed one JSP page for Login page.
    After Log in instead of standard responsibilites page we calling custom jsp page, For getting DB connection they defined one properties file and hard coded DB details on that file and calling, but client is not accepting hard coding.
    Pls give any idea for getting DB connection directly in JSP pages.
    Hanimi.

Maybe you are looking for

  • [SOLVED] - Access point on ath9k

    Asus AT510NT-I DELUXE lspci -k 09:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01) Subsystem: AzureWave Device 1d89 Kernel driver in use: ath9k Good day, I trying create AP on my computer. Bu

  • Model Distribution Problem in BD64

    Hello everybody, I'm not sure if this is the correct forum for this question, the problem that I have is as follows, I'm configuring the Model Distribution for an AUDIT Idoc, the Idocs are transfered from one system to another via SAP XI, now the pro

  • How to turn off Mute Group?

    Let's say I have 5 tracks of "Audio 1" (multiple takes of lead vocal). When I click mute on any of those tracks, it mutes all five tracks. This only started happening since my upgrade to Logic 9. I'm sure there is a setting to turn it off.. just can'

  • BackUp iphone without encryption

    Hello, I have an iPhone 4S and I backed it up with a password (encrypted) in iTunes. Then, I restored my iPhone and since I didnt know the password of the Back Up, I used the icloud back up to restore it. Now I want to use iTunes do back it up but in

  • File sharing between two Macs wirelessly

    Hi I want to share files over my local network via a WI-FI internet connection that both my Macs are connected to. I read some blog posts about how to turn on file sharing on both machines in Network Prefs but still the finder sidebar does not show t