Help Needed - GPS to Oracle AS Wireless

We have a client who is looking to implement a vehicle tracking solution inside a current application. This is a new concept to our development team and we require some assistance. I'm hoping that someone can provide me some answers to the following questions.
1. How does a GPS device communicate with Oracle AS wireless.
2. Do the GPS coordinates require a specific format.
We have absolutely no knowledge in this area. Any information regarding what GPS devices are best suited or past experiences that could be useful would be much appreciated.
Thank you
Kevin Mann

Hi,
there two ways, to update the AS Wireless's location cache, with a mobile clients GPS position:
1) You can write an application for the mobile device, that reads the GPS coordinates and sends them to a service (for example a jsp-appl) on the server.
The jsp-appl then calls the AS Wireless LBS-API, that updates the location cache.
(I have copied a code example at the end, that does this)
2) You can write an application for the mobile device, that reads the GPS coordinates and calls the MP Web Service at Wireless server.
You can find more info about AS Wireless LBS
http://www.oracle.com/technology/products/iaswe/lbs/index.html
There is also a chapter in the
Oracle® Application Server Wireless Developer’s Guide
describing this, please see:
15.3.2.1 Providing Location Using a GPS Device
A mobile device can send its current location, usually provided through a global
positioning system (GPS), to the OracleAS Wireless server. The current location can then be queried using the mobile positioning and privacy APIs.
You must create a client application program that runs on the mobile device and posts the device's current location to the OracleAS Wireless server. The data can be posted either to a JSP running on the OracleAS Wireless server or through a Web service.
Sample from my J2EE-application(ex. set_position.jsp), at Wireless Server, that saves GPS coordinates in Wireless's Location cache:
// URL to the MP Web Service at Wireless server
final String theSOAPurl = "http://[Your_AS_Wireless_Server]/location/webservices";
try {
MPSoapClient mpsc = new MPSoapClient(theSOAPurl, "urn:MobilePositionServer");
System.out.print("Setting the location of a mobile user ... ");
String xmlReq = "<?xml version= '1.0' encoding='ISO-8859-1' standalone='yes'?>\n" +
"<MP_GPS>\n" +
"<USERNAME>" + theUserName + "</USERNAME>\n" +
"<PASSWORD>" + thePwd + "</PASSWORD>\n" +
"<MSID>" + theMSISDN + "</MSID>\n" +
"<POS>\n" +
"<LAT>" + theLat + "</LAT>\n" +
"<LONG>" + theLon + "</LONG>\n" +
"</POS>\n"+
"</MP_GPS>";
System.out.println(xmlReq);
String theResult = mpsc.setPosition(xmlReq);
System.out.println(theResult);
catch (Exception e)
e.printStackTrace();
Regards,
Mikael Hjortenhed

Similar Messages

  • Help needed in using oracle rules SDK

    Hi,
    For testing my rulesets using oracle rules SDK I doing the following:
    1. Creation of dictionary, ruleSet.
    2. Declared two kinds of globalVariable variables in my datamodel :
    Final and non-Final.(Type of these varaibles are String and Double only)
    3. Final globalVaraibles are used in creating rule's patterns.
    4. Non-Final globalVariables are used in creating rule's action.
    5. Functions are created for asserting globalVariables values and
    returning non-final varaibles, since those are required as action
    results.
    6. In java code I am testing my ruleset (dict.testRuleSet()). Before
    testing i am populating my final global variables (since these are used
    in rule's patterns),
    and updating datamodel.
    The above procedure is working fine and I rules are successfully working.
    Now, first of all i want to know if the above mentioned approach is correct or it needs to be reframed??
    secondly, when i update datamodel with values (in java code itself) it
    takes 4-5 seconds in updating it. This is the main issue that why it is
    taking this much time??
    any comment would be of great help.
    Thanks in advance.

    I will send up an alert for you, Colin. Even though I use iTunes for Mac, troubleshooting it isn't my forté.

  • Help needed setting up WebUI for Wireless Gateway

    I have a problem setting up a webUI for my demo project.
    I am just doing a simple WSN application measuring temperature on a WSN-3121 thermocouple node, and logging it on a wireless RT gateway NI 9792.
    Then I wanted to create a web UI for it, and display whats in the gateway's UI - see project.
    SO I'm coming up stuck with the web UI.  I've tried reading as much as I can but I still dont know what I'm doing wrong.
    As far as I can see, I need to create a web service in the build specs for my gateway, and place the gateway_main.vi as the vi to use.  Then build it, and deploy it.  Once that has happened and I run the vi on the gateway, I created a webUI as shown in the pic, where it imports the web service from the gateway using 192.168.0.16:8080 - that works fine.
    When I run the webUI, it just sits there and times out.
    I am using LAbview 2010.  Please help.
    Solved!
    Go to Solution.
    Attachments:
    Straight Temperature Monitor.zip ‏2152 KB
    webUIsetup.jpg ‏75 KB

    Hello markza,
    Your approach to using Web UI Builder and understanding its use case is exactly right, the issue lies in the web service you have deployed. The VI you are building as a web service, i.e. gateway_main.vi, has while loops in it and hence cannot be used as a web service. The reason for the timeout is that your UI Builder app is calling the LV2010 web service and is getting stuck there waiting for the while loops to complete. Also, the cluster datatype is not supported in Web UI Builder so you would have to break up the Wireless Node Sampling Time input into two separate numeric inputs.
    I would recommend creating a subVI out of your code inside the inner while loop in gateway_main.vi. This subVI should have two numeric inputs to replace the cluster (as mentioned above) and not have either of the Start or Stop boolean inputs. Outputs would stay the same i.e. two doubles and a boolean.
    Let me know if that helps you and if you have any further questions.
    Thanks!
    Diya Jakkidi
    LabVIEW Web UI Builder R&D

  • Help needed in configuring Oracle 9i AS Server

    Frineds,
    I am new to Oracle9i AS. Please help me configuring Oracle9i AS
    regards
    Mathew

    Hi Mathew,
    Can you elaborate your question ? What kind of help do you need ?
    Regards,
    Sandeep

  • Help needed in installing Oracle Elastic Charging Engine

    Dears,
    I would like to install Oracle Elastic Charging Engine (ECE) but I could not find any relevant documentation.
    Please help out on this.
    Regards,
    Chidhambaram

    Duplicate Post:
    Re: Installing Oracle appliaction on Red Hat Linux 9

  • Help Needed in installing oracle applications on Linux

    Hey i am trying to install oracle applications 11i on Red Hat Linux 9. Is it possible to install.
    if so can you please help me out with the patches required for the installation.
    thanks in advance

    Duplicate Post:
    Re: Installing Oracle appliaction on Red Hat Linux 9

  • Help needed in installing oracle applications 11i in Linux

    Hi every one . i m trying to install oracle applications 11i suite in Linux machine.. but i am getting error in the following way
    Error in File System
    Error - Unable to create directory with proper privileges:
    Database ORACLE_HOME
    Mount Point = /d02/oracle/proddb/9.0.2
    and it continues for all the directories which application is trying to create..
    And also Error in File Space Check
    Error - Not enough free disk space on system :
    Database ORACLE_HOME = /d02/oracle/proddb/9.2.0
    required = 2905.0
    available = 0.0
    I have some 140 GB free space in my disk... Please help me out... thankx in advance

    Nothing changed .. its shows the same error...
    i will explain my scenario... i have a dump of Oracle suite in Hard Drive.
    assigned value to LD_ASSUME_KERNEL
    Creater Users. group
    created directories oracle & apps
    and given permissions... to the directories...
    Its showing the same error again and again... plz help out

  • Help needed to access Oracle from Applet.

    Please help. I have spent days reading info on the web and I simply cannot access to Oracle from an applet to work. Oracle is on a different IP than the Web Server. For my testing I am running the html directly from my local file system.
    Here are the steps I have taken:
    1. Create a key: "%JAVA_HOME%/bin/keytool" -genkey -alias MyAlias -keypass MyKPass -keystore C:\Keys.bin -storepass MySPass
    2. Sign my jar: "%JAVA_HOME%/bin/jarsigner" -keystore C:\Keys.bin -storepass MySPass -keypass MyKPass -signedjar myjar-signed.jar myjar.jar MyAlias
    3. Sign Oracle's Jar: "%JAVA_HOME%/bin/jarsigner" -keystore C:\Keys.bin -storepass MySPass -keypass MyKPass -signedjar ojdbc14-signed.jar ojdbc14.jar MyAlias
    4. Applet Tag (at this time I have the two jars in the same folder as the HTML and JS files):
        <applet id="MyApp"
      codebase=""
      archive="myjar-signed.jar,ojdbc14-signed.jar"
      code="com/company/applets/Test.class"
      mayscript
      width="50" height="50">
        </applet>5. Javascript:
      document.observe("dom:loaded", function() {
      alert("Applet: " + $('MyApp').getVersion());
      $('MyApp').getConnection(url, user, pswd);
      alert("Applet: " + $('MyApp').getVersion() + "Got Connection.");
      $('MyApp').testConnection();
      alert("Applet: " + $('MyApp').getVersion() + "Connection Tested.");
    });Execution:
    1. The applet loads, The browser asks if I want to trust it, I say yes.
    2. The '$('MyApp').getVersion()' works.
    3. The '$('MyApp').getConnection(url, user, pswd);' fails. Java Code:
      public void getConnection(String url, String user, String pswd)
          throws Exception {
        try {
          System.out.println("Driver...");
          DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
          System.out.println("Connection...");
          _conn = DriverManager.getConnection(url, user, pswd);
          ...The driver registers, but the getConnection fails with a security error.
    After much reading, I used policytool to update the policy file. It added:
    keystore "file:/C:/Keys.bin", "jks";
    grant signedBy "MyAlias" {
      permission java.security.AllPermission;
    };This did not make any difference. Both IE and FF get the same error.
    The JRE being used is 1.6.0_14.
    Any help solving this would be MUCH appreciated.
    Thanks.

    I have simplified the problem, and now it has nothing to do with Oracle. It is a certificate/signing problem.
    Here are the steps I took to set the test up:
    Certificate:
    "%JAVA_HOME%/bin/keytool" -genkey -storepass MyStorePswd -keyalg RSA -alias MyRsa -dname "CN=Company.com, OU=IT, O=Company Inc, L=Atlanta, ST=Georgia, C=US, DC=mailexpress, DC=com" -validity 999
    "%JAVA_HOME%/bin/keytool" -selfcert -storepass MyStorePswd -alias MyRsa -validity 999
    "%JAVA_HOME%/bin/keytool" -exportcert -storepass MyStorePswd -alias MyRsa -rfc -file MyRsa.cer
    "%JAVA_HOME%/bin/keytool" -importcert -keystore "C:\Program Files\Java\jre6\lib\security\cacerts." -storepass changeit -alias MyRsa -file MyRsa.cer
    Jar Signing:
    "%JAVA_HOME%/bin/jarsigner" -storepass MyStorePswd -keypass MyStorePswd -signedjar Text-Project-signed.jar Text-Project.jar MyRsa
    "%JAVA_HOME%/bin/jarsigner" -verify Text-Project-signed.jar
    Result: jar verified.
    HTML:
        <applet id="MyApp"
                codebase="file:/c:/projects/Text-Project/js/Memory"
                archive="Text-Project.jar"           <== unsigned test  OR
                archive="Text-Project-signed.jar"    <== signed   test
                code="com/company/applets/MemTest.class"
                mayscript
                width="50" height="50">
        </applet>
    JavaScript:
    document.observe("dom:loaded", function() {
      alert("Applet: " + $('MyApp').checkSecurity());
    Function in the Applet:
      public String checkSecurity() {
        System.out.println("Security Check...");
        try {
          AccessController.checkPermission(new FilePermission("MemTest.js", "read"));
          AccessController.checkPermission(new FilePermission("MemTest.js", "write"));
          AccessController.checkPermission(new java.net.SocketPermission("192.168.1.121", "resolve"));
        } catch (Exception e) {
          e.printStackTrace();
          return e.getMessage();
        return "Security Checked OK";
      }Results (Internet Explorer):
    1. Unsigned JAR, No policy:
    Result = java.security.AccessControlException: access denied (java.io.FilePermission MemTest.js read)
    (as expected)
    2. Unsigned JAR, Policy = permission java.security.AllPermission:
    Result = Security Checked OK
    (as expected)
    3. Signed JAR, No Policy: Popup states: signature verified; do you want to run the application.
    Result = java.security.AccessControlException: access denied (java.io.FilePermission MemTest.js read)
    (not expected)
    Something is wrong with the certificate or signing process. Any ideas ?
    Thanks.
    Edited by: javadude.101 on Jul 29, 2009 12:29 PM

  • Help Needed...Oracle Apps Inventory

    Hi,
    I am new to this forum. My email id is [email protected]
    I need some help in inventory module
    1)Mult-org
    2)Item Setup
    3)All inventory Setups.
    Can you guide be so that I could be knowledgable in this module.
    Thanks in advance,
    sandra

    Inventory is an item referential and it also allows stock replenishment.
    There is no ‘standard’ flow for using Inventory.
    You will find all setup instructions in document that Vinod Subramanian sent to you. I mean : Organization definition, Item definition, Subinventory definition, Stock definition …
    Basic steps for item creation :
    -     check the pre-requisites (organization must be defined …). You must have at least one master organization (it is your item referential). Item type must exist. You have to define at which level (Master or Organization ) item attributes are defined …
    -     Then you create your item in the Master organization.
    -     After that, you can assign item to one or several organization
    Then, Inventory management depends on the business of your company : do you manage stored items or not; if yes, how do you manage replenishment ? ….
    If you need more help, please ask precise questions and you will get all information you need.

  • Help needed to install oracle 9i database in fedora 10

    when i am going to run the runInstaller file by using ./runInstaller, the following error occur
    Initializing Java Virtual Machine from /tmp/OraInstall2009-06-21_12-20-24AM/jre/bin/java. Please wait...
    /tmp/OraInstall2009-06-21_12-20-24AM/jre/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
    plz help me ....
    Thanks.

    first of all you have to choose a 9i version for vista,you can have it from here:
    http://www.oracle.com/technology/software/products/oracle9i/index.html
    this will solve your problem,as vista was developed after 9i,you have to have a vista version of 9i
    [future designs|http://techonova.com]
    [technology news|http://technologytoday.in]

  • Help needed with Trigger - ORACLE APPS OM

    Hi,
    I am trying to place a hold on order if the status become 'BOOKED'. The actual problem is we are getting orders from outside oracle with status code 'BOOKED' when they comes to oracle first they are getting inserted with 'ENTERED' status and after that they are getting update with 'BOOKED' seamlesly by oracle workflow. Our requirement is to get the final status and apply hold once they become 'BOOKED'. i have writen after insert trigger but it is getting failed as initially they were loading with status code 'ENTERED'. i have written update trigger but that is also not not getting picked up.Please help me.....
    Best Regards
    Ram

    Created a update trigger on oe_order_headers_all
    create a concurrent program "SSSSSSS" with pl/sql program as executable
    i have used Order Hold API inside the procedure
    Called above concurent program using fnd_request.submit_request inside the trigger
    commit
    make sure while definig your update trigger it should be pragma autonomous transaction
    reply me if you have any doubts

  • Help needed with starting Oracle Enterprise Manager on win 2008 server SP2

    Hi,
    i am unable to start the oracle enterprise manager. I did the following steps:
    E:\oracle\product\10.2.0\db_1\BIN>sqlplus
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 12 16:59:20 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Enter user-name: /as sysdba
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Productio
    With the Partitioning, OLAP, Data Mining and Real Application Testing optio
    SQL> host
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    E:\oracle\product\10.2.0\db_1\BIN>emctl stop dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://primary:1158/em/console/aboutApplication
    The OracleDBConsoleorcl service is not started.
    More help is available by typing NET HELPMSG 3521.
    E:\oracle\product\10.2.0\db_1\BIN>emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://primary:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is not running.
    E:\oracle\product\10.2.0\db_1\BIN>emctl start dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://primary:1158/em/console/aboutApplication
    Agent Version : 10.1.0.6.0
    OMS Version : 10.1.0.6.0
    Protocol Version : 10.1.0.2.0
    Agent Home : E:\oracle\product\10.2.0\db_1\primary_orcl
    Agent binaries : E:\oracle\product\10.2.0\db_1
    Agent Process ID : 1740
    Agent URL : https://primary:1830/emd/main
    Started at : 2010-10-11 18:12:36
    Started by user : SYSTEM
    Last Reload : 2010-10-12 12:37:00
    Last successful upload : 2010-10-12 09:31:28
    Last attempted upload : 2010-10-12 16:55:14
    Total Megabytes of XML files uploaded so far : 2.87
    Number of XML files pending upload : 264
    Size of XML files pending upload(MB) : 1.34
    Available disk space on upload filesystem : 37.95%
    Agent is already started. Will restart the agent
    The syntax of this command is:
    NET STOP
    service

    Sorry mate,
    i have no idea why its showing different versions. I installed the software using the media i received thru Oracle for 64 bits.
    I started the Windows service for dbconsole. It worked for a minute and the page disappeared again. Does it have something to do with firewall. I had set the Firewall off.

  • Help needed with windows oracle services

    Hi,
    I am using Oracle 8.0.6. After installing the database. i wanted to change the INTERNAL password. so i shutdown the oracle services. When i try to start the services 1)OracleServiceORCL ,2)OracleStartORCL, the first service is starting but the second service hangs up.
    Could anyone plss tell me if i can delete this service and recreate other. Plss describe the steps in detail.

    ateeqrahman wrote:
    Hi,
    I am using Oracle 8.0.6. After installing the database. i wanted to change the INTERNAL password. so i shutdown the oracle services. When i try to start the services 1)OracleServiceORCL ,2)OracleStartORCL, the first service is starting but the second service hangs up.
    Could anyone plss tell me if i can delete this service and recreate other. Plss describe the steps in detail.Is this a new installation or has it been working for some time?
    What OS?
    If it is new, why Oracle 8.0? It was never designed to work with any current operating system and I would be surprised if anything about it works.

  • Help needed on installation of Oracle 9i on Sun Solaris 8

    Hey,
    Help needed on installation of Oracle 9i EE on Sun Solaris 8. The problem I met was: we followed the installation guide from the documentation. And we selected the choice "install software only". After it was done successfully, we run Database Configuration Assistant utility to create a database instance. But finally it always tried to create the instance at the root directory ( / ) which doesn't have enough space and then failed. The case was that we have set the enviroment parameters: $ORACLE_BASE = /export/mydata, $ORACLE_HOME = /export/apps/oracle9i. That means it should be installed at /export/mydata, but it didn't. Any help or advice are welcome. Thanks.
    Simon

    I have downloaded Oracle 11G R2 version from Windows and extracted it in Windows and copied it into DVD after extraction in two folders. Now I am mounting that DVD in Solaris 10 installed in my VMware . I made a new directory named as 'installation ' under /export/home/oracle and copied the folders from DVD to 'installation' folder. Now I am entering installation folder and try to do ./runInstaller as 'oracle ' user and getting the error mentioned before.
    Edited by: 916438 on Mar 31, 2012 5:55 PM

  • Help needed on installation of Oracle 9i EE on Sun Solaris 8

    Hey,
    Help needed on installation of Oracle 9i EE on Sun Solaris 8. The problem I met was: we followed the installation guide from the documentation. And we selected the choice "install software only". After it was done successfully, we run Database Configuration Assistant utility to create a database instance. But finally it always tried to create the instance at the root directory ( / ) which doesn't have enough space and then failed. The case was that we have set the enviroment parameters: $ORACLE_BASE = /export/mydata, $ORACLE_HOME = /export/apps/oracle9i. That means it should be installed at /export/mydata, but it didn't. Any help or advice are welcome. Thanks.
    Simon

    I have downloaded Oracle 11G R2 version from Windows and extracted it in Windows and copied it into DVD after extraction in two folders. Now I am mounting that DVD in Solaris 10 installed in my VMware . I made a new directory named as 'installation ' under /export/home/oracle and copied the folders from DVD to 'installation' folder. Now I am entering installation folder and try to do ./runInstaller as 'oracle ' user and getting the error mentioned before.
    Edited by: 916438 on Mar 31, 2012 5:55 PM

Maybe you are looking for

  • Clear browser cache

    I'm using LC Forms 6, and we have a form rendered in HTML. Once the form is submitted we want to be able to clear out the browser cache upon rendering the form in it's final format, which is a submitted successfully page. Is there a way to programati

  • Basic questions about JAAS capabilities

    I've never used JAAS for authentication or authorization in a Java app before. Can somebody that has (or at least has some experience and knowledge about JAAS) please answer the following couple of basic questions about it? (I know I could probably a

  • Optimisation of NN lookup for large roads table

    we have a large roads table (approx 2.5M records) for the UK. we have vehicles for which we need to locate the nearest road for approx 1-5k vehicle locations at a time. The roads table has an R-Tree index on it. The roads data is in British National

  • Application unable to connect to databse after some time

    The problem we are facing is that after some time the application seems to be unable to connect to the database. The only way we have been able to clear the issue is by re starting the application servers. Below is the information I see in my logs an

  • In appearence Acrobat X hung opening a document

    We have a problem on multiple computers in which to open pdf documents it remains hung in appearance. Actually the application does not crash, but it takes 20, 30 seconds or almost a minute to open the document. The computer is new, with XP updated.