ADF Mobile App integration with webservices, connection refused error

I created an ADF application for department search with business components and exposed this as a webservice. I can access the WSDL locally from a browser. Then created an ADF mobile application and deployed it to android emulator. I am able to deploy the application to emulator and I can see the app on Android emulator. When I try to search for any department, I am getting "cannot connect to localhost on port 7101 : connection refused". My server is started already and the port number is also correct. Did any one came across this issue before? Even the WSDL URL is not accessible from the browser of android emulator.
Edited by: adf_forum on Nov 16, 2012 2:16 PM

Hi,
One more thing to keep in mind is that Android emulator is itself a network host, and localhost will likely loop back into itself, i.e. emulator. Please try to set up the WLS to listen on an actual IP address for your development machine, create your WS DC using this real IP address, and then try to deploy/run the app.
If you need to retrofit your app with an new IP address, please keep in mind there are several places you would need to manually fix up, including the connections.xml file.
In general, if the device emulator's browser cannot hit a web service, then the ADF Mobile app will also not be able to hit a web service.
The most reliable way is to treat the emulator like an actual device, then work out your application's connection accordingly.
Thanks,
Joe Huang

Similar Messages

  • Web service Invocation from ADF mobile app errors

    Mobile App Gurus,
    The webservice when invoked from ADF web app is working fine but, when invoked from Mobile APP errors in emulator with as below...
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication serivce is oracle.idm.mobile.SSOAuthenticationService
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication context status is IN_PROGRESS
    D/oracle.idm.mobile.OMAuthenticationServiceManager_retrieveAuthenticationContext
    ( 1096): Authentication context for the key appsnet5login.sysadmin retrieved from the credential store is : null
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication serivce is oracle.idm.mobile.BasicAuthenticationService
    D/oracle.idm.mobile.OMAuthenticationServiceManager_onPostExecute( 1096): Authentication context status is IN_PROGRESS
    D/oracle.idm.mobile.OMAuthenticationServiceManager_doInBackground( 1096): Invalid Authentication URL.
    Please can you let me know if I am missing some step in ADF Mobile App framework.
    Thanks,
    Shreedhar
    Edited by: sh**** on Apr 22, 2013 5:11 AM
    Edited by: sh**** on Apr 22, 2013 6:50 AM

    I don't know if you fixed it already by this time or not. But here is my findings anyway, to be able to inject the security header correctly in any SOA Gateway service, you need to have your Mobile Application Secured, meaning that there is a prompt for username/password when you open it.
    Then you will have to make a Proxy service for the webservice you are using from apps. And you must create it with a SOAP Handler also and write below sample code in the handler to inject the security header in the SOAP call. At last, you are going to deploy this proxy service to your Application Server.
    These steps were taken on a Glassfish server not Weblogic. I think there is an easy way for this if you are using Weblogic..
    Sample handler is below:
    package com.mobile.xxsoap;
    import java.util.HashSet;
    import java.util.Set;
    import javax.xml.namespace.QName;
    import javax.xml.soap.Name;
    import javax.xml.soap.SOAPElement;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPFactory;
    import javax.xml.soap.SOAPHeader;
    import javax.xml.ws.handler.MessageContext;
    import javax.xml.ws.handler.soap.SOAPHandler;
    import javax.xml.ws.handler.soap.SOAPMessageContext;
    public class CustomSOAPHandler implements SOAPHandler<SOAPMessageContext> {
        private static final String AUTH_PREFIX = "wsse";
        private static final String AUTH_NS =
            "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
        public boolean handleMessage(SOAPMessageContext context) {
            try {
                SOAPEnvelope envelope = context.getMessage().getSOAPPart().getEnvelope();
                SOAPFactory soapFactory = SOAPFactory.newInstance();
                SOAPElement wsSecHeaderElm = soapFactory.createElement("Security", AUTH_PREFIX, AUTH_NS);   
                SOAPElement userNameTokenElm = soapFactory.createElement("UsernameToken", AUTH_PREFIX, AUTH_NS);
                SOAPElement userNameElm = soapFactory.createElement("Username", AUTH_PREFIX, AUTH_NS);
                userNameElm.addTextNode("redsam");
                SOAPElement passwdElm = soapFactory.createElement("Password", AUTH_PREFIX, AUTH_NS);
                Name passwdTypeAttr = soapFactory.createName("Type");
                passwdElm.addAttribute(passwdTypeAttr,
                                       "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText");
                passwdElm.addTextNode("123456");
                userNameTokenElm.addChildElement(userNameElm);
                userNameTokenElm.addChildElement(passwdElm);
                wsSecHeaderElm.addChildElement(userNameTokenElm);
            } catch (Throwable e) {
                e.printStackTrace();
            return true;
        public Set<QName> getHeaders() {
            return new HashSet<QName>();
        public boolean handleFault(SOAPMessageContext messageContext) {
            return true;
        public void close(MessageContext context) {
    I hope it is clear now...
    Regards,
    Mohamed

  • ADF-Mobile app will not rotate in iOS simulator or device

    We have been coding an ADF-Mobile app in JDeveloper and testing on both a Motorola tablet and an iPad.
    Both our application, as well as the demo "Deployment Successful" (found here: http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_1.html) application rotate fine from portrait to landscape and back on the Motorola device, however, the same code will not rotate on an iPad.
    I understand that the device orientation functionality is controlled in the deployment profile. I have been successful with forcing my app to launch in landscape mode OR portrait mode (By deselecting both portrait settings or both landscape settings, respectively in my deployment profile) however, when I leave all 4 enabled, my app seems to be locked in right-side-up portrait mode (It will not even rotate between portrait modes)
    Has anyone experienced this issue with iOS devices and the rotation functionality, and if so, is there a workaround?
    Any help is appreciated
    Gord Taylor

    Hi,
    There is a known issue when you use Xcode 4.5 and iOS SDK 6 to compile your app - the app would not rotate correctly. If you use Xcode 4.4.1 and the associated SDK, then rotation will work fine on both iOS 5 and 6 devices.
    Xcode 4.5 certification should be coming soon - for now please try to use 4.4.
    If you are already using 4.4, please let me know and perhaps there are configuration issues.
    Thanks,
    Joe Huang

  • Best practices for apps integration with third party systems ?

    Hi all
    I would like to know if there is any document from oracle or from your own regarding best practices for apps integration with third party systems.
    For example, in particular, let's say we need customization in a given module(ex:payables) need to provide data to a third party system, consider following:
    outbound interface:
    1)should third party system should be given with direct access to oracle database to access a particular payments data information table/view to look for data ?
    2) should oracle create a file to third party system, so that it can read and do what it need to do?
    inbound:
    1) should third party should directly login and insert data into tables which holds response data?
    2) again, should third party create file and oralce apps will pick up for further processing?
    again, there could be lot of company specific scenarios like it has to be real time or not... etc...
    How does companies make sure third party systems are not directly dipping into other systems (oracle apps/others), so that it will follow certain integration best practices.
    how does enterprise architectute will play a role in this? can we apply SOA standards? should use request/reply using Tibco etc?
    Many oracle apps implementations customizations are more or less directly interacting with third party systems by including code to login into respective third party systems and vice versa.
    Let me your know if you have done differently and that would help oracle apps community.
    thanks
    rrb.

    you want to send idoc to third party system (NONSAP).
    what kind of system is it? can it handle http requests
    or
    can it handle webservice?
    which version of R/3 you are using?
    what is the mechanism the receiving system has, to receive data?
    Regards
    Raja

  • MySql with JBoss connection refused

    hello,
    I am using MYSql with JBOSS, but while running starting JBOSS it
    gives
    Connection refused error:
    MySqlDB] at java.net.PlainSocketImpl.socketCon
    MySqlDB] at java.net.PlainSocketImpl.doConnect
    MySqlDB] at java.net.PlainSocketImpl.connectTo
    MySqlDB] at java.net.PlainSocketImpl.connect(U
    MySqlDB] at java.net.Socket.<init>(Unknown Sou
    MySqlDB] at java.net.Socket.<init>(Unknown Sou
    MySqlDB] at org.gjt.mm.mysql.MysqlIO.<init>(My
    MySqlDB] at org.gjt.mm.mysql.jdbc2.IO.<init>(I
    MySqlDB] at org.gjt.mm.mysql.jdbc2.Connection.
    159)
    MySqlDB] at org.gjt.mm.mysql.Connection.connec
    MySqlDB] at org.gjt.mm.mysql.jdbc2.Connection.
    va:89)
    MySqlDB] at org.gjt.mm.mysql.Driver.connect(Dr
    MySqlDB] at java.sql.DriverManager.getConnecti
    MySqlDB] at java.sql.DriverManager.getConnecti
    MySqlDB] at org.opentools.minerva.jdbc.xa.wrap
    nnection(XADataSourceImpl.java:118)
    MySqlDB] at org.opentools.minerva.jdbc.xa.wrap
    nnection(XADataSourceImpl.java:151)
    MySqlDB] at org.opentools.minerva.jdbc.xa.XACo
    (XAConnectionFactory.java:246)
    MySqlDB] at org.opentools.minerva.pool.ObjectP
    ol.java:819)
    MySqlDB] at org.opentools.minerva.pool.ObjectP
    a:569)
    MySqlDB] at org.opentools.minerva.pool.ObjectP
    a:521)
    MySqlDB] at org.opentools.minerva.jdbc.xa.XAPo
    APoolDataSource.java:165)
    MySqlDB] at org.jboss.jdbc.XADataSourceLoader.
    der.java:330)
    MySqlDB] at org.jboss.util.ServiceMBeanSupport
    ava:93)
    MySqlDB] at java.lang.reflect.Method.invoke(Na
    MySqlDB] at com.sun.management.jmx.MBeanServer
    java:1628)
    MySqlDB] at com.sun.management.jmx.MBeanServer
    java:1523)
    MySqlDB] at org.jboss.util.ServiceControl.star
    MySqlDB] at java.lang.reflect.Method.invoke(Na
    MySqlDB] at com.sun.management.jmx.MBeanServer
    java:1628)
    MySqlDB] at com.sun.management.jmx.MBeanServer
    java:1523)
    MySqlDB] at org.jboss.Main.<init>(Main.java:21
    MySqlDB] at org.jboss.Main$1.run(Main.java:121
    MySqlDB] at java.security.AccessController.doP
    MySqlDB] at org.jboss.Main.main(Main.java:117)
    I used the following tag in in JBOSS.jacml
    <!-- MYSQL -->
    <mbean code="org.jboss.jdbc.XADataSourceLoader" name="DefaultDomain:service=XADataSource,name=MySqlDB">
    <attribute name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute>
    <attribute name="PoolName">MySqlDB</attribute>
    <attribute name="URL">jdbc:mysql://192.168.0.6/AccountingDb:3333</attribute>
    <attribute name="Properties">DatabaseName=AccountingDb</attribute>
    <attribute name="JDBCUser"></attribute>
    <attribute name="Password"></attribute>
    <attribute name="MinSize">0</attribute>
    <attribute name="MaxSize">10</attribute>
    <attribute name="GCEnabled">false</attribute>
    <attribute name="GCMinIdleTime">1200000</attribute>
    <attribute name="GCInterval">120000</attribute>
    <attribute name="InvalidateOnError">false</attribute>
    <attribute name="TimestampUsed">false</attribute>
    <attribute name="Blocking">true</attribute>
    <attribute name="LoggingEnabled">false</attribute>
    <attribute name="IdleTimeoutEnabled">false</attribute>
    <attribute name="IdleTimeout">1800000</attribute>
    <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
    </mbean>
    <!-- END MYSQL -->
    and JDBC tag is
    <!-- JDBC -->
    <mbean code="org.jboss.jdbc.JdbcProvider" name="DefaultDomain:service=JdbcProvider">
    <attribute name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,com.pervasive.jdbc.v2.Driver,org.gjt.mm.mysql.Driver</attribute>
    </mbean>
    plz help me out
    thanks
    bhuwan

    I am just use that ...But it works...!!
    MySQL is Runing good ...
    the problem is that you must reset the defaultDS,
    to be Mysql.
    So,Jboss must have only one DefaultDS,
    In My Setup...
    1.standardjaws.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <jaws>
    <datasource>java:/mySQL</datasource>
    2.jboss.jcml (must changed as followed)
    <!-- JDBC -->
    <mbean code="org.jboss.jdbc.JdbcProvider" name="DefaultDomain:service=JdbcProvider">
    <attribute name="Drivers">org.gjt.mm.mysql.Driver</attribute>
    </mbean>
    <mbean code="org.jboss.jdbc.XADataSourceLoader" name="DefaultDomain:service=XADataSource,name=mySQL">
    <attribute name="PoolName">mySQL</attribute>
    <attribute name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute>
    <attribute name="Properties"></attribute>
    <attribute name="URL">jdbc:mysql://localhost/j2ee</attribute>
    <attribute name="GCMinIdleTime">1200000</attribute>
    <attribute name="JDBCUser" />
    <attribute name="MaxSize">10</attribute>
    <attribute name="Password" />
    <attribute name="GCEnabled">false</attribute>
    <attribute name="InvalidateOnError">false</attribute>
    <attribute name="TimestampUsed">false</attribute>
    <attribute name="Blocking">true</attribute>
    <attribute name="GCInterval">120000</attribute>
    <attribute name="IdleTimeout">1800000</attribute>
    <attribute name="IdleTimeoutEnabled">false</attribute>
    <attribute name="LoggingEnabled">false</attribute>
    <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
    <attribute name="MinSize">0</attribute>
    </mbean>

  • Jdeveloper 11g TP4: Connection refused error for Embedded Oc4j

    Hi,
    I am getting following error whenever trying to deploy any application in embedded oc4j or whenever try to connect with embedded server on Resource palette.
    Error while getting remote MBeanServer for url: ormi://127.0.0.1:23891/default:
    Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
         javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException
    I am using Jdeveloper 11g TP 4 on windows XP.
    I have checked other links too related to above error and have checked following:
    Proper host name entry in host file
    No spaces in Jdveleoper installed directory name
    Proxy setting in Jdeveloper: excluded localhost and ip address
    Will be very thankful if anyone can help me to resolve this issue.
    Thanks in advance                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Don't spend to much time on this. JDev 11g is production and there will be no OC4J 11g!
    --olaf                                                                                                                                                                                               

  • JNDI Connection refused error

    HI
    I am new to Java so please excuse my stupid questions and general lack of ignorance. I am trying to connect to an Oracle database using JNDI to retrieve a Datasource using a 'data-source.xml' file but I get a 'Connection refused' error I am at a total loss at what this can be, I just have a simple Java Class which gets an InitialContext then does a lookup from here but this is were it fails.
    Could anybody give me any idea as to where to look. Could it be a problem with the JNDI server itself?. I'm using JDeveloper 10.1.3 and am just trying to run it in the embedded server.
    Sorry for the general rambling nature of this post and please ask me to provide any extra information required.
    Any help would be much appreciated as I'm going nowhere with this at the moment and very frustrated as have searched everywhere with no results.
    Thanks
    Andy

    Hi
    Thanks for the reply. I have checked my data-sources.xml and this all seems fine. I can even connect to the DB using DriverManager rather than the JNDI method. One thing that confuses me is which data-sources.xml it is using as there appear to be many. In JDeveloper you can specify the data sources in 'embeeded oc4j preferences' plus create your own under meta-inf. Which is being used when run in embedded, maybe thats obvious the first one?
    thanks once again

  • Connection Refused Error In Connection Client

    Hello Geeks
    I am runnig a RMI application in which runs on internet , i have setup RMI server on a host server and it is running there.
    Now, when i try to call client using ip address of the Host , i am getting Connection Refused error.
    Example :
    Registry registry=LocateRegistry.getRegistry("70.33.246.110");
    System.out.println("Above connectMe");
    String  serverName = "rmi://70.33.246.110:2786/connectUser";
    connectMe stub=(connectMe)Naming.lookup(serverName);
    System.out.println("Below connectMe");
    boolean log=stub.login(username,password,1);
    System.out.println("Below login");Here "connectuser" is name i have given in server to which client lookups.I am getting -> Above connectMe and Below connectMe
    but then i am getting connection refused error.
    Please Help Me Out.....ASAp
    Edited by: Hardik.Mishra on Oct 3, 2009 5:46 PM

    Registry registry=LocateRegistry.getRegistry("70.33.246.110");There's no point to doing that ...
    System.out.println("Above connectMe");
    String serverName = "rmi://70.33.246.110:2786/connectUser";
    connectMe stub=(connectMe)Naming.lookup(serverName);... if you're doing that. The getRegistry() doesn't do a network operation, it just constructs a stub to that Registry locally. Only by using it would you find out whether it meant anything: and you're not using it.
    I am getting -> Above connectMe and Below connectMe
    but then i am getting connection refused error.See item A.1 on the RMI Frequently Asked Questions list in the Javadoc.

  • Connection refused error showing in ironport s170 - WSA

    Connection refused error showing in ironport s170 -  WSA
    I am getting “Connection refused” error while I connect ironport s170 through console cable. also i am not able to connect it through HTTP and SSH. Complete output is given below.
    Last login: Thu Sep 11 07:16:59 on cuad0
    Copyright (c) 2001-2011, Cisco Systems, Inc.
    AsyncOS 7.5.2 for Web build 303
    Welcome to the Cisco IronPort S170 Web Security Appliance
    Traceback (most recent call last):
      File "/usr/build/iproot/ap/ipoe/ipoe/bootstrap.py", line 55, in <module>
      File "/data/lib/python2.6_7_i386_nothr/runpy.py", line 128, in _run_module_as_
    main
        "__main__", fname, loader, pkg_name)
      File "/data/lib/python2.6_7_i386_nothr/runpy.py", line 34, in _run_code
        exec code in run_globals
      File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/cli.py", line 426, in <modul
    e>
      File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/external_auth/__init__.py",
    line 212, in initialize
      File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/external_auth/__init__.py",
    line 118, in _setup_old_authentication
      File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/command_client.py", line 674
    , in quick_read_var
      File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/command_client.py", line 133
    , in connect
    Commandment.CommunicationError: <host name>: Network communication error
    : Connection refused
    AsyncOS <host name> (cuad0)
    login:

    Hi,
    You can upgrade to 7.7+ but if you require a root cause analysis I suggest you to open a TAC case.
    Regards,
    Luis Silva

  • RDS Server : Connection refused error

    Hi All,
        I am using flash builder 4.
       When i try to connect rds from DataServices - > Connect to LCDS it throws a connection refused error.
       I have uncommented the rds in web.xml and set the useappSecurity to false.
       Can any body please help me get rid of this issue.
       I am still using a trial version. Does this have any impact.
       Any help is highly appreciated !!!!!!!!!!!!!!!!!!!!!!!
    Thanks

    I have the same problem.

  • Hi, I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mail are not receiving. Mail queue showing Connection refused error. Please help me

    I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mails are not receiving. Mail queue showing Connection refused error. Please help me
    Thanks
    GIRI

    Try this -> http://support.apple.com/kb/TA38632?viewlocale=en_US

  • Connection refused error while connecting to port.

    Hello,
    I have a service (Connect Direct) listening at port 1364 in server X.
    $ netstat -an | grep 1364
    11.22.33.44.1364 *.* 0 0 0 0 LISTEN
    (Assume 11.22.33.44 = Server X's IP.)
    Now, when another server (say Y) tries to use this service in server X, it is getting "Connection Refused" error. I tried telneting.
    From Y:
    telnet 11.22.33.44 23 is working
    telnet 11.22.33.44 1364 is giving the same Connection Refused error.
    telnet 11.22.33.44 1364
    Trying 11.22.33.44...
    telnet: Unable to connect to remote host: Connection refused
    /usr/sbin/ping 11.22.33.44
    11.22.33.44 is alive
    To complicate things, 11.22.33.44 is not the original IP of server X.
    ifconfig -a gives:
    hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
    inet 11.22.33.55 netmask ffffff00 broadcast 11.22.33.255
    hme0:1: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 11.22.33.44 netmask ffffff00 broadcast 11.22.33.255
    (in additional to a couple of other IPs).
    What could be the problem?
    Help!!!!

    IPF firewalling could cause this, if you have it enabled.
    I havent used it, so I'm not entirely sure how to check.
    Of another firewall if its between the 2 machines. Are they on the same subnet?

  • Avaya(Non-java app) integration with ADF

    Hi,
    We have a desktop application Avaya (non-Java) & want to integrate it with ADF. Currently we do it by passing parameters in HTTP URL. If the user clicks on a button in non-java app, it should:
    (1) open search page of an ADF application and execute search.
    (2) if the ADF application is already open, the button on Avaya app should execute search with partial page refresh. However, the whole page is being refreshed.
    Can you please guide, how to do this with partial page refresh? , as the No 1 is almost achieved.
    Thanks,
    NC

    Hi Shay,
    Below Options were tried for integration. Please have a look at them and suggest if there is any other possible way to Integrate Avaya with ADF.
    1) Calling ADF application with URL parameters.
    Reasons to drop:
    Every time a URL is called the entire page will get rendered again taking some 2-3 seconds which is very critical to the application.
    ADF is capable of handling URL parameters without re-loading the whole page(http://oracamp.com/passing-parameters-adf-application-through-url). But we can't use this inbuilt way as we have many customized developments implemented in the page. This way directly works at AMImpl (at Model level) level. We want the events to be fired at View level. That is backing bean level.
    2) Avaya is capable of dealing with ActiveX (OCX). They sent me 2 DLLs which handles communication between web page and Avaya application. A simulator was also sent (bundle attached herewith). The steps to be carried out for testing are-
    Installation procedures:
    i. Register the DTLCRMINT.ocx file. Start->Run-> Type the command
    ii. regsvr32 <ocx file location>
    iii. Register the DTLINTCMP.ocx file. Start->Run-> Type the command
    iv. regsvr32 <ocx file location>
    v. Double click on the Clinet.exe it would open up a windows application with a Textbox and Command button. Put In the data which needs to be sent.
    vi. Open the CRM Page.html. On opening the OCX would be loaded by default.
    vii. Now clicking the Send Data button on the client application, whatever information is there in the Client Text Box would be sent to the web page.
    viii. From CRM side, the application needs to use the OCX provided, and must wait for the event. On receiving the event the data that is retrieved as a part of the event can be parsed to update the text box and click on the search button.
    Reasons to drop:
    It works fine with basic HTML page. But once integrated with ADF page as an inline frame it doesn't work. We tried to embed the OCX object inside <verbatim> tags, but was not successful. The event fired by ActiveX object is triggered at client side by VBScript function. Avaya's ActiveXs seem to be only working with VBScript according to my understanding. So there was no way for ADF to capture VBScript events.
    ADF is capable of javascript up to some extent. To do a critical application like this, my feeling is javascript is never a good option.
    3) To use a text file. Avaya writes, ADF application reads.
    Reasons to drop:
    ADF can read the text files with normal java IO methods. But only the server directories are visible. So, Avaya has to write the information in the server file. With using a parameter like user name, ADF application can read the file in regular time intervals (with using poll feature) and get relevant information and automatically run the search.
    Initially the idea was to do this at client side. But since this is a web application, file reading at client side is next to impossible. Again when one side is reading and the other side is writing, file access violations may occur.
    4) Another option is if Avaya can offer the value in a web service, the ADF application can get it.
    Reasons to drop:
    There may occur a latency as well as Avaya says they can't offer web services.
    5) The ideal solution is, the ADF application's front end control's IDs can be provided. If the Avaya system is capable of accessing or getting hold of DOM and pushing the value to the controls and clicking the button; things would become pretty straight forward. JMeter works like this in testing J2EE applications.
    Any Recommendations how can it be done .
    Thanks.

  • Connection refused error running JSP on Jdev 10.1.3.0.3.3412 with MySL 5.0

    Hello,
    I'm using Jdeveloper 10.1.3.0.3.3412 on a Mac with a MySQL database. In Jdeveloper i can make a connection to the database and create adf business components
    I've made a JSP page with ADF on a single table. No errors when compiling. When I try to run the JSP Page using Embedded OC4J (on Mac OSX Tiger) I get the error:
    5/12/09 00:45:50 java.net.ConnectException: Connection refused
    05/12/09 00:45:50      at java.net.PlainSocketImpl.socketConnect(Native Method)
    05/12/09 00:45:50      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    05/12/09 00:45:50      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    05/12/09 00:45:50      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    05/12/09 00:45:50      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
    05/12/09 00:45:50      at java.net.Socket.connect(Socket.java:507)
    05/12/09 00:45:50      at java.net.Socket.connect(Socket.java:457)
    05/12/09 00:45:50      at java.net.Socket.<init>(Socket.java:365)
    05/12/09 00:45:50      at java.net.Socket.<init>(Socket.java:207)
    05/12/09 00:45:50      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
    05/12/09 00:45:50      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
    05/12/09 00:45:50      at com.evermind.server.ApplicationServer.serverExtensionPostInit(ApplicationServer.java:1041)
    05/12/09 00:45:50      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:927)
    05/12/09 00:45:50      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:98)
    05/12/09 00:45:50      at java.lang.Thread.run(Thread.java:613)
    What am I doing wrong? The embedded OC4J library is added to the project. I've tried to use the javac compiler. It looks like the OC4J instance cannot make a connection to the db.
    Thanks,
    Martin

    Hello
    I've added the connection to the web.xml, but still get the same error.
    When I go to embedded OC4J preferences and change the JNDI-names of the datasources (global and current-workspace) to the same name (this was default), i get this error message:
    9-dec-2005 9:30:09 com.evermind.server.ApplicationStateRunning initNativeDataSource
    SEVERE: Error creating native data source. The location 'jdbc/MySQLConnectionCoreDS' is already in use.
    05/12/09 09:30:09 Application: current-workspace-app is in state FAILED
    05/12/09 09:30:09 Error instantiating application 'current-workspace-app' at file:/Users/martinsuijs/jdevhome/mywork/myWorldApp/myWorldApp-oc4j-app.xml: Error creating native data source. The location 'jdbc/MySQLConnectionCoreDS' is already in use.
    05/12/09 09:30:14 java.net.ConnectException: Connection refused
    grtz
    Martin

  • Apple App Store requirement for ADF Mobile Apps

    I got updates from Apple that detect deployed ADF Mobile ipa that sent to Apple iTunes Connect As
    Missing recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format.
    Missing recommended icon file - The bundle does not contain an app icon for iPad of exactly '76x76' pixels, in .png format.
    Missing recommended icon file - The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png format.
    Non-PIE Binary - The executable 'qe.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical Q&A QA1788 - Building a Position Independent Executable
    How to solved it, as it might facing with rejection from Apple and really urgent issue.

    Hi,
    has this been rejected by Apple or is it just a warning flagged? What is the version of ADF Mobile. Did you download and install the recent ADF mobile version. Try Help --> About --> Extensions and look for the "ADF Mobile Framework" version. Ensure its
    ADF Mobile Framework    oracle.adf.mobile    11.1.2.4.39.64.51
    If the version is below, then use Help--> Check for update to install the latest version.
    Frank

Maybe you are looking for