How to write a wap-gateway?

Is there a tutorial for this?
thank you.

make entry in /etc/defaultrouter. If the defaultrouter file does exist in the /etc then touch it to create empty file. Another way is
# route add default <router ip>

Similar Messages

  • How j2me relates to WAP gateway?

    Hello to everyone,
    I want to know that,
    Without using a wap gateway how j2me works?
    According to me, Gateway is used to connect two different networks
    Lets say I am calling a jsp page from MIDlet.
    mobile devices belong to wireless network(j2me),
    jsp(j2ee) is on internet.
    How do these communicate ?
    thank you in advance,
    vishnu mahendra

    Hi,
    If u got answer for this the let me know
    thanx in adv.
    Raj

  • How to implement a SMS and WAP Gateway  ?

    Folks Hi !!
    I'm a newbie at wireless Java, but I am interested to know how can I implement a gateway application/server that works both as an SMS and WAP gateway.
    I've read some documents on Kannel(open source WAP gateway), but I am interested to know if there are any resources available that would be of help to implement one in Java (API for SMS, WAP etc).
    The second question I have is:
    Where do CIMD2, SMPP, UCP etc. come into Messaging picture ? Do they complement WAP for sending/receving SMS ?(pls excuse me, if I sound weird, I am trying to make sense of things :p )
    I appreciate any help or suggestions to resources.
    Thanks a ton in advance !!
    Cheers :)

    An SMS Gateway needs to communicate with the SMSC using some way or another. You have many options:
    1- Connect a simple GSM phone to the serial port of your pc and use it to send and receive messages.
    2- A GSM modem (like Nokia Premicell, Siemens M20..)
    3- Connect directly to the SMSC.
    If you choose the third option, then there must be a specific protocol to use to talk to the SMSC. Your SMSC might support one or more of these protocols:
    1- SMPP (The good java api for this protocol is available http://opensmpp.logica.com)
    2- UCP (see: http://www.cmg.com)
    3- CIMD2 (see: http://www.nokia.com)
    -- Hani.

  • How to not run a gateway instance if the target server is down

    I have a DirectoryWatcher gateway instance that runs every 10
    min looking to do a series of actions when a file is added to a
    directory on another server. This other server is down periodically
    and my gateway instance fails. Then when the server comes back up,
    I have to restart the gateway because it has failed. How do I tell
    the gateway instance to not run if the server it is looking at is
    down or the directory in this case is unavailable?

    listeners have a timeout period.  if the target computer is going through a reboot cycle, the downtime should be short enough that you can setup a timeout.  Set one that is long enough so that you do not trigger a failure event, and the timepsan allows for the target server to come back online before the timeout expiration.
    Another way that is more robust is to create a seperate application, perhaps one built on Visual Studio or even a scripthost that does a simple ping of the destination server every 10 seconds or so.  When the server is not found, you can do a shutdown of your CF.    (you can shutdown any application from another application).   Once you can re-ping the server, relaunch your gateway listener.  If the listener cannot support what you want to do, just write another program that will perform your logic for you.
    People have it within them to change
    Proud user of Adobe products, and webmaster of the Theravive counselor network , built on Dreamweaver, and Photoshop.  Toss in a little Visual Studio, but who's keeping score!

  • Urgent Please....!!!   WAP Gateway Setup

    Hi,
    Our Would like to develope WAP Enabled Application.
    May i know the Hardware Requirements and Software Requirements?.
    How to setup WAP Gateway?
    What is the Requirements for setting up WAP GATEWAY?.
    Thank u
    Selvan

    A transceiver doing what ?
    You need something people can call in (usually an isdn or modem line), the WAP gateway attached to the RAS access and add routing capabilities to the host if required.
    The remaining part is of no special interest, as those are standard component and application servers.
    The WAP gateway defines a gateway into the common internet architecture so there is nothing special on that side.
    As far as it comes to WAP, you should be aware that several mobiles are behaving differentyl when faced with a WAP gateway, especially when trying to call in.
    I had this once when trying out 3 different mobile phones from different vendors before I figured out that the WAP gateway was not the problem- all phones made trouble.
    Oliver

  • How to write numbers in Arabic?

    Hi All,
    How to write numbers in arabic?
    (how will you in normal papers....assume 123 to be in the arabic numerals here).
    Should it be:
    | -123|
    (or)
    | 123-|
    Thanks,
    Jana

    Try the following.
    DecimalFormat formatter_ar=null;
    Numberformat form = NumberFormat.getNumberInstance(new Locale("ar","EG"));
    if(form instanceof DecimalFormat) formatter_ar = (DecimalFormat)form;
    String str = formatter_ar.format(-123.45);
    System.out.println(str);

  • How to write a start routine in the trasnformations ?

    Hi Experts,
    I am working on BI 7, As I want to write a start routine in transformations of 0FIGL_O02 DSO, to allow the GL accounts with cost center data. Already there is a delete statement please find.
    *DELETE SOURCE_PACKAGE where BAL_FLAG = 'X'. I had made comment to allow the G/L accounts. since I have some GL Accounts which does'nt have the cost center data, so in this case I have to write a ABAP code to allow this G/L accounts with cost center data.
    So Let me know if anyone can help me how to write the ABAP code in the start routine.
    Thanks
    sekhar

    Hi,
                Yopu can write the below lines of code adn try
        SORT source_package BY Receive nr  Type ASCENDING.
        DELETE ADJACENT DUPLICATES FROM source_package COMPARING Receive nr  Type.
    But you should make sure which record of the either rows need to deleted
    i.e in
    F9001;LU;J001;662;
    F9001;LU;J002;662
    You need to decide to eliminate 1st or 2nd one.(depends on your requirement)

  • How to write the start routine in the transformations ?

    Hi Experts,
    I am working on BI 7, As I want to write a start routine in transformations of 0FIGL_O02 DSO, to allow the GL accounts with cost center data. Already there is a delete statement please find.
    *DELETE SOURCE_PACKAGE where BAL_FLAG = 'X'. I had made comment to allow the G/L accounts. since I have some GL Accounts which does'nt have the cost center data, so in this case I have to write a ABAP code to allow this G/L accounts with cost center data.
    So Let me know if anyone can help me how to write the ABAP code in the start routine.
    Thanks
    sekhar

    Hi Experts,
    I am working on BI 7, As I want to write a start routine in transformations of 0FIGL_O02 DSO, to allow the GL accounts with cost center data. Already there is a delete statement please find.
    *DELETE SOURCE_PACKAGE where BAL_FLAG = 'X'. I had made comment to allow the G/L accounts. since I have some GL Accounts which does'nt have the cost center data, so in this case I have to write a ABAP code to allow this G/L accounts with cost center data.
    So Let me know if anyone can help me how to write the ABAP code in the start routine.
    Thanks
    sekhar

  • How to write a pgm to change the existing encrypted password

    Hi all,
    can anybody tell me how to write a pgm to change the existing encrypted password.
    thanks in advance.

    Well, it's going to depend on how it's implemented in the current system.
    But basically it's going to look a lot like the current login actions. Presumably you have something that takes the user ID and password, encrypts the password, looks up the encrypted password in the database matching that user ID, and compares them. This functionality would also take a new password (preferably twice so they can be checked for consistency), and if the existing encrypted passwords match, it will encrypt the new password and put it in the database where the old one was.
    And if the application has a mechanism for new users to sign up, it'll look a lot like this as well.
    But I'm just guessing. This is all going to depend on how the existing functionality is written. Probably the best thing you can do is talk to a programmer at your organization who has worked on the application, and ask them for help.
    Hope this helps anyway.

  • How to write a sql query to retrieve data entered in the past 2 weeks

    Hi,
    I have file names and last accessed date(java.sql.Date format) stored in my database table, I would like to know how I can write a query to get the name of files accessed in the past 2 weeks,I use open sql server at the back end.
    Thanks in advance.

    This has essentially nothing to do with JDBC. JDBC is just an API to execute the SQL language using Java and thus interact with the databases.
    Your problem is related to the SQL language, you don't know how to write the SQL language. I suggest you to go through a SQL tutorial (there is one at w3schools.com) and to read the SQL documentation which come along with the database in question. A decent database manfacturer has a website and probably also a discussion forum / mailinglist as well.
    I'll give you a hint: you can just use equality operators in SQL like everywhere. For example: "WHERE date < somedate".

  • How to write a SQL query in SAP B1 2007 B with input parameters?

    How to write a SQL query in SAP B1 2007 B with input parameters, on execution of which will ask for some input value from the user and the values will be selected from a list such as item list?

    The syntax like
    SELECT * FROM OITM T0 WHERE T0.ItemCode = '[%0\]'
    Thanks,
    Gordon

  • How to write the expression when create the calculated column?

    Dear,
           I want to create some calculated column in my attribute view, but I don't know how to write the code in the expression, is there any introduction about this part, how to use those function and how about the grammar in this expression code ?  or is there any example about this calculated column?
       Thanks for your sincerely answer.

    Hi Zongjie,
    you can find some information about the creation of calculated columns in the HANA Modeling Guide (http://help.sap.com/hana/SAP_HANA_Modeling_Guide_for_SAP_HANA_Studio_en.pdf).
    Within chapter 6.2.1 (Create Analytic Views) you can see under point 7 some basics and also a simple example. The same is also valid for Calculation Views.
    Chapter 8.9 (Using Functions in Expressions) describes the different available functions.
    You also can use the integrated search in the HANA Studio by clicking the "?" button in the button left corner. Then you get some links in the side panel with related information.
    In general you can write your expression manually or you can just drag and drop the functions, elements, operators into the editor window. For example if you drag and drop the "if" function into the editor window you get "if(intarg,arg2,arg3)" inserted. The arguments can be replaced manually or also by drag and drop.
    It is also worse to use the "Validate Syntax" button on top of the editor window. It gives you directly a feedback if your expression syntax is correct. If not you get some helpful information about the problem (ok, sometimes it is a little bit confusing because of the cryptic error message format ).
    Best Regards,
    Florian

  • How to write to a log file within a JSP

    Hello everybody,
    do you know how to write to a log file within a JSP.
    my code is (/space/SP/tlf/ExcepcionJava.jsp):
    <html>
    <body bgColor=#C4E1FF>
    <%@ page import="java.io.*" %>
    <%
         FileWriter salida = new FileWriter(response.encodeURL("log.txt"));
         salida.write(request.getParameter("errorMsg"));
         salida.close();
    %>
    </body>
    </html>.. I run under Solaris, Jrun 2.3.3
    I have also test with getServletContext().getRealPath(), but I get /netsrv/nes/docs/ instead of /space/SP/tlf/

    Hi,
    Give the full path of the log file to the FileWriter. Such as;
    FileWriter salida = new FileWriter(response.encodeURL("/usr/local/tomcat/logs/testlogs/log.txt"));
    nurettin

  • How to write log information into SM37 batch job log

    Hi,
    I have a report running in batch mode, and I would like to log the start time and end time for some part of the code (different Function modules). I need to write this log information into the batch job log. Therefore I can check the time frame of my FMs.
    After search the SDN, I can only get some information on how to write log into the application log displayed in SLG1, but that's not I want. I want to write batch log information, and check it in SM37.
    If you have some solution or code to share, please. Thanks a lot.
    Best Regards,
    Ben

    Hi Nitin
    Thanks for the reply. Could you explain it with some code ?
    I tried to use the write statement , but it did not wrok. I could not see the result in SM37.
    write : "start of the FM1 processing".
    FM1 code
    write : "end of the FM1 processing".
    but those two statement did not show in SM37..
    1) how to use  a information message  ?
    2) how to use NEW PAGE PRINT ON and PRINT OFF command. ?
    I would appreciate if you can write some code ,that I can use directly.
    Thanks a lot.
    Best Regards,
    Ben

  • How to write a procedure to load the data into a table using xml file as input to the procedure?

    Hi,
    Iam new to the xml,
    can u please anyone help me how to write procedure to load the data into a table using xml as input parameter to a procedure and xml file is as shown below which is input to me.
    <?xml version="1.0"?>
    <DiseaseCodes>
    <Entity><dcode>0</dcode><ddesc>(I87)Other disorders of veins - postphlebitic syndrome</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity>
    <Entity><dcode>0</dcode><ddesc>(J04)Acute laryngitis and tracheitis</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity>
    <Entity><dcode>0</dcode><ddesc>(J17*)Pneumonia in other diseases - whooping cough</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity>
    </DiseaseCodes>.
    Regards,
    vikram.

    here is the your XML parse in 11g :
    select *
      from xmltable('//Entity' passing xmltype
    '<?xml version="1.0"?>
    <DiseaseCodes>
    <Entity><dcode>0</dcode><ddesc>(I87)Other disorders of veins - postphlebitic syndrome</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity>
    <Entity><dcode>0</dcode><ddesc>(J04)Acute laryngitis and tracheitis</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity>
    <Entity><dcode>0</dcode><ddesc>(J17*)Pneumonia in other diseases - whooping cough</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity>
    </DiseaseCodes>
    ') columns
      "dcode" varchar2(4000) path '/Entity/dcode',
      "ddesc" varchar2(4000) path '/Entity/ddesc',
      "reauthflag" varchar2(4000) path '/Entity/reauthflag'
    dcode                                                                            ddesc                                                                            reauthflag
    0                                                                                (I87)Other disorders of veins - postphlebitic syndrome                           0
    0                                                                                (J04)Acute laryngitis and tracheitis                                             0
    0                                                                                (J17*)Pneumonia in other diseases - whooping cough                               0
    SQL>
    Using this parser you can create procedure as
    SQL> create or replace procedure myXMLParse(x clob) as
      2  begin
      3    insert into MyXmlTable
      4      select *
      5        from xmltable('//Entity' passing xmltype(x) columns "dcode"
      6                      varchar2(4000) path '/Entity/dcode',
      7                      "ddesc" varchar2(4000) path '/Entity/ddesc',
      8                      "reauthflag" varchar2(4000) path '/Entity/reauthflag');
      9    commit;
    10  end;
    11 
    12  /
    Procedure created
    SQL>
    SQL>
    SQL> exec myXMLParse('<?xml version="1.0"?><DiseaseCodes><Entity><dcode>0</dcode><ddesc>(I87)Other disorders of veins - postphlebitic syndrome</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity><Entity><dcode>0</dcode><ddesc>(J04)Acute laryngitis and tracheitis</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity><Entity><dcode>0</dcode><ddesc>(J17*)Pneumonia in other diseases - whooping cough</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity></DiseaseCodes>');
    PL/SQL procedure successfully completed
    SQL> select * from MYXMLTABLE;
    dcode                                                                            ddesc                                                                            reauthflag
    0                                                                                (I87)Other disorders of veins - postphlebitic syndrome                           0
    0                                                                                (J04)Acute laryngitis and tracheitis                                             0
    0                                                                                (J17*)Pneumonia in other diseases - whooping cough                               0
    SQL>
    SQL>
    Ramin Hashimzade

Maybe you are looking for

  • Color Laserjet 4500 on Windows 7 - 64 bit Share with XP - 32 bit Need Additional 32-bit Drivers

    Here's the setup: Desktop: Windows 7 Professional - 64 bit with Color Laserjet 4500, shared, connected and working fine. The name of the driver is HP Color LaserJet 4500 PCL 5. Laptop: Windows XP Professional - 32 bit. No network problems. Laptop see

  • Ipod wont sync because of passcode. Can anyone help?

    Hi, im having trouble with my Ipod touch, it reset itself and when it turned back on it said to sync it with itunes but when i tried to do that it said that i couldnt because of my passcode. Ive read other threads on here where people have had the sa

  • Force 2 digit month, 2 digit days and 4 digit year.

    I have input date format month/day/year.  The possible input may be like following:   1/1/2006, 1/12/2006, 10/1/2006, 10/12/2006. in summay the 'day' may be 1 or 2 digit, the 'month' may be 1 or 2 digit. How do I make them all 2 digit 'day', 2 digit

  • Bugs and issues I've run into.

    First the bugs  PDF links are problematic.  Most of the time they just say "Cannot find an application which can open this file."  I've been able to get one to download once, but even then then the browser doesn't launch the PDFs.  If I later go into

  • How to upgrading  system from CRM 4.0 to 7.0

    How to upgrading CRM system from CRM 4.0 to 7.0 ? What is procedure to upgrate it ? Any document available for doing this ? Regards, Anup Reche