How to make HTTP connection between a midlet and a php server?

As the title above, can anyone share how to make a HTTP connection between those 2? J2ME and PHP. Thanks a lot!

Can you be a little more specific on what you really want.
When i started doing j2me application, i was required to be able to comunicate to a oracle client database, and my first though was using PHP based pages to comunicate and do the query. Later they would just generate the answer and get it on the cellphone. You can communicate with a PHP server via either GET or POST. I'd choose POST as is more secure IMO.
Here are quite a good ammount of examples of how you can do it
http://www.java2s.com/Code/Java/J2ME/Networks.htm
They aren't PHP based examples, but you have can an idea of how it can be done

Similar Messages

  • How to make optical connectivity between Catalyst 4948 and 10K router ?

    Hi,
    I am Ratheesh P D, network Manager of one project in Motorola. We have one catalyst 4948. Its going to get one 10K router. Our requirement needs optical connection between these two. The document of 4948 says, its compatible with 1000BaseX SFP and 10K is with 1000BaseSX SFP. Could you please tell me how to make these two compatible?

    For information regarding the optical connectivity in 4948 cat switch follow the url ,
    http://www.cisco.com/en/US/products/ps6021/products_installation_guide_book09186a008023fa89.html
    For more information on h/w capability and connectivity of 10 k routers follow the url ,
    http://www.cisco.com/univercd/cc/td/doc/product/aggr/10000/hdwr/index.htm

  • How to create ODBC connection between Oracle 10g and MS SQL Server

    Hi,
    Can someone help us with the steps to create an ODBC connection between Oracle APPS using Oracle 10g database and MS SQL Server.
    Requirement is to extract the transactional data from MS SQL Server on a daily basis and dump it into Oracle tables for an interface to be run. Currently it is being done through Dataloader tool which we feel is causing the data issue with Arabic characters. We want to create the ODBC directly between Oracle and MS SQL Server and check if the data is being pulled correctly.
    The data is in sql server 2000 which has data in Arabic_CI_AS character set which is moved to Oracle 10.2.0.3 database with characterset AL32UTF8. The table data is moved to oracle using the dataloader 3.6 standard edition licensed version. We cannot change the character set of Sql Server 2000.
    Please help
    Thanks
    Shanil

    Hi,
    If you're trying to PULL data from SQLServer into an Oracle database, you wouldnt use Oracle ODBC driver for that, so you may want to post in the Heterogeneous Services forum instead:
    Heterogeneous Connectivity
    If you're trying to PUSH data from SQLServer into an Oracle database, you could use ODBC but most folks use OLEDB for that, and the following note on MOS should help:
    How to Create a Sql Server Linked Server With The Oracle Provider for OLE DB     (Doc ID 191368.1)
    As with any NLS related issue, the first thing to do is dump the codepoints of the data in the Oracle database to see if it is stored validly, rather than relying on what the data "looks like" from some tool or other. It's best to check a single row, with only a few characters in it if you can, and you can do that via
    SELECT DUMP(<columname>,1016) FROM <tablename> WHERE ...
    Hope it helps,
    Greg

  • How to make a connection between an application and a Coherence Grid?

    Hello,
    We're starting with Oracle Coherence.
    How do I connect an application (for example running in JDeveloper) to an existing grid?
    I used the following tutorial to get started with Coherence.
    http://www.oracle.com/technology/pub/articles/vohra-coherence.html?msgid=6521631
    Within JDev an Coherence instance is started, data is entered and queried.
    Next I'd like to connect this to a running Coherence instance, (started with [Coherence home]\bin\coherence.cmd)
    When I start the coherence.cmd and run the application from within JDev, I can see a connection is made
    Map (?):
    2008-05-13 13:15:24.667 Oracle Coherence GE 3.3.1/389 <D5> (thread=Cluster, member=4): Member(Id=5, Timestamp=2008-05-13 13:15:24.484, Address=10.35.1
    4.150:8090, MachineId=10134, Location=process:4612@WBNL71033) joined Cluster with senior member 1
    Map (?):
    2008-05-13 13:15:24.934 Oracle Coherence GE 3.3.1/389 <D5> (thread=Cluster, member=4): Member 5 joined Service DistributedCache with senior member 5
    Map (?):
    2008-05-13 13:15:25.630 Oracle Coherence GE 3.3.1/389 <D5> (thread=Cluster, member=4): Member 5 left service DistributedCache with senior member n/a
    2008-05-13 13:15:25.630 Oracle Coherence GE 3.3.1/389 <D5> (thread=Cluster, member=4): Member 5 left Cluster with senior member 1
    I am, however, not able to retrieve the data which is entered via JDev.
    (1) What do I need to do to distribute the data entered via the Jdev application to the Coherence grid
    (2) How can I get access to the data within the Coherence Grid(do I need to to change the Cache, Map or something else)?
    Thanks in advance
    Regards Leon

    Hi Leon,
    In order to see the entries created by the sample application within JDev, you will need to do several things:
    1. Ensure that at least one storage enabled Coherence node is running, by executing cache-server.cmd at least once (coherence.cmd starts storage-disabled console only).
    2. Run coherence.cmd and change to the appropriate cache from the console:
    Map (?): cache VirtualCache
    (the name should be the same as the one defined in cache-config.xml and Java code)
    3. Execute commands against the cache:
    Map (VirtualCache): list
    This should give you a list of all the entries within a VirtualCache.
    HTH,
    Aleks

  • How to test the connection between DSD backend and DSD connector

    Dear all,
    I am configuring the MDSD scenario .. and i want to insure that my customization is correct
    How to test the connection between DSD Backend and DSD connector ??

    Hi Viren,
    The problem is:
    We have a new BW system. The basis people asked me to check the connection between this BW system and the R/3. There is only one client for now(100). I have logged into 100 and tried executing RSA1 to check the connection, but it gave a message box saying "You can only work in Client 000". Then I have treid logging into 000(just to make sure) and tried executing RSA1. Even here I got a message saying "The SAP BW system must not be operated in client 000". Now, I am not sure of what is wrong in clien 100. I am not sure if I have to do some settings before I access RSA1 or any other BW transaction. Could you please help me in this.
    Also, I just checked the RFC destinations in BW. There is a destination created for our R/3 and I have noticed that they have given a remote UserID and password for remote login. I tried to check the Remote UserID in SU01 but there is no userID with that name. Could this be a problem?
    Thanks,
    RPK.

  • TS3274 not able to make Bluetooth connection between my Ipad and Iphone.

    I am unable make Bluetooth connection between my Ipad3 and Iphone 4S.

    You can't!
    Alternativley you can use DropBox to send items over WiFi (free) or sync both with iTunes and drag & drop items in the Apps tab of each device.
    <Edited By Host>

  • Can't make a connection between my tv and laptop

    I can make a connection between my laptop and tv as far as being able to view the picture I have as my wallpaper on the tv, but that is all.  If I change the wallpaper picture on my laptop it will change on the tv also, but again that is all I can do. That is far as I can get.  Just a picture, no icons, no nothing.  I have connected using a 15 pin cable on both ends.  I have windows xp.  There must be a setting in control panel, display or somewhere but I cannot find it.
    HELP

    Thanks, but that didn't work.  Nothing happened.  This time however I completely turned off the tv and computer.  When I booted up the tv screen showed my password sign in screen.  I entered my pass word,  The screen momentarily showed my complete desktop, both  wallpaper and icons but after about a second or two it blinked and then showed only my wallpaper as before.  Puzzling.  There has to be an answer somewhere.
    Thanks for your help.

  • How can i make a connection between an application and a database over net

    dear sir
    how can i make connection between an appliction and a database over internet while the client side appliction is behind proxy and firewall
    for example how the live update of norton antivirus makes connection to the data server to make comparetions and get new virus definitions
    does that depend on sockets technology ?
    what references can guide me to the solution please?

    The ability to do so depends entirely on the JDBC driver implementation having some proxy method. It needs to recognize the HTTP or SOCKS proxy and use them to connect, and the firewall and proxy need to allow those specific port connections.
    To the best of my knowledge, all of these update utilities, e.g. live update for Netscape, Norton, etc., do not connect directly to the database. As it is, no sane security person would allow a database to be exposed to the Net. Rather, they connect using HTTP or HTTPS, which normally traverses firewalls just fine, to connect to a Web or application server on the far end. That application server then parses the request and retrieves whatever it needs to from the database.
    In other words, you cannot have a 2-tier client/server application. You need a 3-tier application:
    your client -> Web/app server -> database
    where the connection from your client to the Web/app server is over http or https through the firewall and proxies.
    Hope this helps.
    Avi
    dear sir
    how can i make connection between an appliction and a
    database over internet while the client side
    appliction is behind proxy and firewall
    for example how the live update of norton antivirus
    makes connection to the data server to make
    comparetions and get new virus definitions
    does that depend on sockets technology ?
    what references can guide me to the solution please?

  • How to make the connection between a sale order and an invoice in SDK

    Hi,
    Im trying to make the connection between a sales order and an invoice using the SDK.
    Here is how i create each of them:
    Invoice:
    public int SalesInvoiceInternalSave(string buisnesspartnerCardCode, DateTime dueDate, double discountPercent, string id, IList<InternalItem> items, ref int invoiceId)
          int res = 0;
          SAPbobsCOM.Documents invoice_entry = (SAPbobsCOM.Documents)Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);     
          invoice_entry.CardCode = buisnesspartnerCardCode;
          invoice_entry.DocDueDate = dueDate;
          invoice_entry.DiscountPercent = discountPercent;
          invoice_entry.Reference2 = id;
          foreach (InternalItem item in items)
            invoice_entry.Lines.WarehouseCode = item.Shopid;
            invoice_entry.Lines.ItemCode = item.Code;
            invoice_entry.Lines.ItemDescription = item.Name;
            invoice_entry.Lines.Quantity = item.Quantity;
            invoice_entry.Lines.UnitPrice = item.Price;
            invoice_entry.Lines.Add();
          res = invoice_entry.Add();
          return res;
    Sales order:
        public Boolean SalesOrderInternalSave(string orderId, string buisnesspartnerCardCode, DateTime dueDate, IList<InternalItem> items)
          SAPbobsCOM.Documents order_entry = (SAPbobsCOM.Documents)Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders);
          order_entry.CardCode = buisnesspartnerCardCode;
          order_entry.DocDueDate = dueDate;
          foreach (InternalItem item in items)
            order_entry.Lines.WarehouseCode = item.Shopid;
            order_entry.Lines.ItemCode = item.Code;
            order_entry.Lines.ItemDescription = item.Name;
            order_entry.Lines.Quantity = item.Quantity;
            order_entry.Lines.UnitPrice = item.Price;
            order_entry.Lines.Add();      
          int res = order_entry.Add();
          return res == 0;
    What do i need to change to get the connection between the two of them?
    And how do you insert a amount (not percent) discount into an invoice?
    Regards,
    Torben

    Hi,
    Add the sale order, then add the invoice. and while adding the invoice please add the following details to the invoce documen
    invoice_entry.Lines.BaseEntry = 'Doc entry of the newly created SO
    invoice_entry.Lines.BaseLine = 'Line No of the SO
    invoice_entry.Lines.BaseType = 17 'For sales order document type.
    Hope it helps,
    Vasu Natari.

  • How to make a connection between two wireless sensor networks of different groups through gateway?did any external device or coding is needed?

    my objective is to make a connection between two wireless sensor networks....i am using two nodes and one gateway for each wireless sensor network.....what is the procedure for connecting these two wireless sensor networks of different groups

    my objective is to make a connection between two wireless sensor networks....i am using two nodes and one gateway for each wireless sensor network.....what is the procedure for connecting these two wireless sensor networks of different groups

  • Setting up a https connection between SAP CRM and genesys gplus adapter

    Hello All-
    We are integrating SAP CRM with genesys mysap gplus adapter. We are struck in setting up a https connection between sap and gplus adapter.
    Can anyone here help me out in this like how to get the SSL Protocol, keystore, keystore password,truststore and truststore password.
    Information abt Adapters server certificate. Do we need to configure the adapter for the proxy also?
    Any additional comment will help. Thanks in advance!

    Hello Vinod,
    Please refer the following OSS notes 564085.
    Please reward if helpful.
    regards,
    Muralidhar Prasad.C

  • How to create a connection between EP-Portal and BW system

    Hi friends ,
    Can you pl expalin me How ro connect EP to BW ,I have created an Iview in the portal to get some BW data using BSP application .How to assign Iview to system object ? and what are parameters i need to give in the system object .
    Thanks,
    Sunitha Reddy

    Probably better asked in the PORTAL forum. But anyways...
    Create iView for BI.
    Assign BI iView the ALIAS of your BI system (this assumes you created a BI system object previously and assigned it an alias)
    Just that easy.
    If you are on BI 7, then your BI might have it's own portal and you can create a federated portal network between BI and your portal. It works GREAT and is easy as cake.

  • EH&S: How to make a link between tables PA0002 and  T7EHS00_ANA_HEAD

    Hi all, I need to make an Infoset for EH&S  and a I can't link tables PA0002 and  T7EHS00_ANA_HEAD, i search values in tables an the values in the field PRNR in both tables are different. I need to know if there is a table that contains some reference of a the data of an employee so i can make the link an obtain the data of an employee. Thanks.
    Edited by: Albio Vivas on Mar 5, 2009 4:16 PM

    Hi Albio,
    Check the compatability of the remote cube & edit Phrase Sets. You can display additional information for a phrase set by choosing Utilities - Administration Info. To display the phrase set-to-attribute assignment, choose Utilities - Attribute Assignment.
    However, i suggest to go throught he links, which are helpful.
    [http://help.sap.com/erp2005_ehp_04/helpdata/EN/a7/2871000a6c11d28a220000e829fbbd/frameset.htm]
    [http://help.sap.com/erp2005_ehp_04/helpdata/EN/8d/c8fa3a4dbdf428e10000000a114084/frameset.htm]
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/85/b70bdba5944cab8ed7967ec3aea807/frameset.htm
    with regards,
    mahesh

  • How to make a pause between an Alert and a plateformRequest ?

    Hello,
    I' programming a class which realize a download from an URL called downloadURL. An overview of my code is :
    public class SoundDownloader implements CommandListener{
                 private Alert downloadAlert2;
                 private String downloadURL;
                       private MIDlet midlet;
                 public SoundDownloader(String downloadURL, MIDlet midlet){
                   this.downloadURL = downloadURL;
                            this.midlet = midlet;
                       try {                       
                   //download code using HttpConnection and openInputStream()                       
                       } catch (Exception e) {
                            downloadAlert2 = new Alert("Download error !");
                            downloadAlert2.setType(AlertType.ERROR);
                            downloadAlert2.setString("Download error : "+e.toString());
                            downloadAlert2.setTimeout(Alert.FOREVER);                      
                            display.setCurrent(downloadAlert2);//show the Alert  
                            downloadAlert2=null;
                   //I'd like to stay here until the user dismisses the Alert     
                            this.midlet.platformRequest(downloadURL);
                            this.midlet.notifyDestroyed();
    }When an exception is caught, I display an error alert and I'd like to make the user wait until he dismisses the alert before launching a download by the mobile browser (platformRequest).
    I don't get this result now! The alert is displayed, but just after (without any delay), the platformRequest method is automatically launched!
    Could someone help me please?
    Thanks in advance!
    /arkienou

    I would try catch block code with [Alert.setCommandListener|http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/lcdui/Alert.html#setCommandListener(javax.microedition.lcdui.CommandListener)], roughly like below:
      downloadAlert2 = new Alert("Download error !");
      downloadAlert2.setType(AlertType.ERROR);
      downloadAlert2.setString("Download error : "+e.toString())
      downloadAlert2.setTimeout(Alert.FOREVER);
      downloadAlert2.setCommandListener(new CommandListener() {
        public void commandAction(Command c, Displayable d) {
          if (c == Alert.DISMISS_COMMAND) {
            midlet.platformRequest(downloadURL);
            midlet.notifyDestroyed();
      display.setCurrent(downloadAlert2);//show the Alert  
    }

  • How to configure the connection between AS JAVA and AS ABAP

    Hello,
    I have installed a SAP Netweaver 7.3 AS JAVA and I would like to connect this JAVA Instance with 3 ABAP Systems (ECC 6.0) .
    On help.sap.com I have found the following instructions: http://help.sap.com/saphelp_nwpi71/helpdata/en/3b/0c4b428f96ab53e10000000a1550b0/content.htm
    Could you please advise, if the above configuration steps are OK?
    Or could you please help me with the exact procedure?
    Thank you in advance!
    Noemi

    Noemi,
    I'm not sure how exactly you want to use ABAP and Java so it is hard to answer your question.
    The link that you posted describes the steps to configure ABAP as a Security Assertion Markup Language (SAML) service provider. As a service provider, the AS ABAP enables you to off-load the authentication of users onto an identity provider. The identity provider enables you to federate identities across domains for Single Sign-On (SSO).
    Check the following wiki page for a good overview of all the ways that you could connect to ABAP
    http://wiki.sdn.sap.com/wiki/display/ABAPConn/ABAPConnectivityHome
    Regards,
    Ventsi Tsachev

Maybe you are looking for

  • Our accountant is no longer allowed access to the QuickBooks file

    My main server is Small Business Server 2008 Standard (i.e. pre-R2).  I have another box running Server 2012 that's just acting as a Hyper-V host.  On that server I have three relevant VMs, all Windows 7 Professional and joined to the domain. One is

  • How can i get newly added contacts for a Mailbox User in Exchange Server 2013

    Hi all, I need to synchronize contacts in Exchange Server and Sugar CRM Application, for that i need to get newly added contacts for a User in Exchange Server 2013 by using EWS Managed API. I know how get the list of all contacts for a particular use

  • Problem with function ENQUEUE_READ

    Hi friends, I've created a report that use BDC to call transaction MM02 for changing some materials. Before call transaction mm02, I use function module ENQUEUE_READ to check lock status of material. Problem: I tested this report by a developer user,

  • Artwork does not match songs, how do I fix?

    My artwork no longer matches up with ny songs. It used to, but now it all mixed up. Is there a way to fix this problem?

  • Syncing calendars on Vista & BB 8130

    Hi everyone...I've read the posts about syncing, downloaded the SP and made sure my Device system is the most current.  Didn't have any problem till I upgraded on a new laptop to Vista...now I can't get my appts. from my phone to the new "Windows Cal