Follow up to web services question:  How do I expose java components as web services on iPlanet 6.0 app server?

My task - my company has several legacy PowerBuilder applications that access a variety of Sybase and MS SQL databases. Rather than re-inventing the wheel by re-writing these applications in Java, we would like to enable these applications to call java components (EJBs) that will provide new functionality. I would need a piece of software called CSXtend (from www.cynergysystems.com) to allow PowerBuilder to call a web service. However, I am not sure how to expose my business functions (EJBs) as web services on the iPlanet 6.0 App server. Thanks for all previous responses! Any additional info would be greatly appreciated! Mike

I have used Glue (http://www.themindelectric.com/products/glue/glue.html) to expose some of our stuff as Web Services. I recently found this on serverside. It's pretty good.
http://www.theserverside.com/resources/article.jsp?l=Systinet-web-services-part-1
I believe that the middleware they use can be plugged into IPlanet. There is also an article in the knowledge base on the IPlanet site.
Jon

Similar Messages

  • Best Practices Question: How to send error message to SSHR web page.

    Best Practices Question: How to send error message to SSHR web page from custom PL\SQL procedure called by SSHR workflow.
    For the Manager Self-Service application we’ve copied various workflows which were modified to meet business needs. Part of this exercise was creating custom PL\SQL Package Procedures that would gather details on the WF using them on custom notification sent by the WF.
    What I’m looking for is if/when the PL\SQL procedure errors, how does one send an failure message back and display it on the SS Page?
    Writing information into a log or table at the database level works for trouble-shooting, but we’re looking for something that will provide the end-user with an intelligent message that the workflow has failed.
    Thanks ahead of time for your responses.
    Rich

    We have implemented the same kind of requirement long back.
    We have defined our PL/SQL procedures with two OUT parameters
    1) Result Type (S:Success, E:Error)
    2) Result Message
    In the PL/SQL procedure we always use below construct when we want to raise any message
    hr_utility.set_message(APPL_NO, 'FND_MESSAGE_NAME');
    hr_utility.raise_error;
    In Exception block we write below( in successful case we just set the p_result_flag := 'S';)
    EXCEPTION
    WHEN APP_EXCEPTION.APPLICATION_EXCEPTION THEN
    p_result_flag := 'E';
    p_result_message := hr_utility.get_message;
    WHEN OTHERS THEN
    p_result_flag := 'E';
    p_result_message := hr_utility.get_message;
    fnd_message.set_name('PER','FFU10_GENERAL_ORACLE_ERROR');
    fnd_message.set_token('2',substr(sqlerrm,1,200));
    fnd_msg_pub.add;
    p_result_message := fnd_msg_pub.get_detail;
    After executing the PL/SQL in java
    We have written some thing similar to
    orclStmt.execute();
    OAExceptionUtils.checkErrors (txn);
    String resultFlag = orclStmt.getString(provide the resultflag bind no);
    if ("E".equalsIgnoreCase(resultFlag)){
    String resultMessage = orclStmt.getString(provide the resultMessage bind no);
    orclStmt.close();
    throw new OAException(resultMessage, OAException.ERROR);
    It safely shows the message to the user with all the data in the page.
    We have been using this construct for a long time for all our projects. They are all working as expected.
    Regards,
    Peddi.

  • How do I get the last changed date & time of a file in app server?

    Hi Experts,
    How do I get the last changed date & time of a file in app server?
    Thanks!
    - Anthony -

    Hi,
    that's what I use...
      CALL 'C_DIR_READ_FINISH'.             " just to be sure
      CALL 'C_DIR_READ_START' ID 'DIR' FIELD p_path.
      IF sy-subrc <> 0.
        EXIT. "Error
      ENDIF.
      DO.
        CLEAR l_srvfil.
        CALL 'C_DIR_READ_NEXT'
          ID 'TYPE'   FIELD l_srvfil-type
          ID 'NAME'   FIELD l_srvfil-file
          ID 'LEN'    FIELD l_srvfil-size
          ID 'OWNER'  FIELD l_srvfil-owner
          ID 'MTIME'  FIELD l_mtime
          ID 'MODE'   FIELD l_srvfil-attri.
    *    l_srvfil-dir = p_path .
        IF sy-subrc = 1.
          EXIT.
        ENDIF." sy-subrc <> 0.
        PERFORM p_to_date_time_tz
          USING    l_mtime
          CHANGING l_srvfil-mod_time
                   l_srvfil-mod_date.
        TRANSLATE l_srvfil-type TO UPPER CASE.               "#EC TRANSLANG
        PERFORM translate_attribute CHANGING l_srvfil-attri.
        CHECK:
          NOT l_srvfil-file = '.',
          l_srvfil-type = 'D' OR
          l_srvfil-type = 'F' .
        APPEND l_srvfil TO lt_srvfil.
      ENDDO.
      CHECK NOT lt_srvfil IS INITIAL.
      pt_srvfil = lt_srvfil.
    FORM p_to_date_time_tz  USING    p_ptime  TYPE p
                            CHANGING p_time   TYPE syuzeit
                                     p_date   TYPE sydatum.
      DATA:
        l_abaptstamp TYPE timestamp,
        l_time       TYPE int4,
        l_opcode     TYPE x VALUE 3,
        l_abstamp    TYPE abstamp.
      l_time = p_ptime.
      CALL 'RstrDateConv'
        ID 'OPCODE' FIELD l_opcode
        ID 'TIMESTAMP' FIELD l_time
        ID 'ABAPSTAMP' FIELD l_abstamp.
      l_abaptstamp = l_abstamp.
      CONVERT TIME STAMP l_abaptstamp TIME ZONE sy-zonlo INTO DATE p_date
          TIME p_time.
    ENDFORM.                    " p_to_date_time_tz
    Regards,
    Clemens

  • How to convert a Java Program into a Service?

    Hello Experts,
    We want to convert a java program into a Service (not WebService).
    then we want to consume this service through SAP PI.
    Can any1 please give details as to how can we convert a java program into a service.
    Thanks in advance,
    ~ Suraj

    Hi Suraj,
    Unfortunately this information is still not enough. Probably I cannot understand right what you are trying to do.
    To work with tables and databases SAP uses several specifications, for example JPA API, Java Dictionary and so on. But I am not sure if this is what you need.
    Best regards,
    Ekaterina

  • How to execute a java pgm thru Window service

    How can we execute a java pgm thru window service, now am executing thru a .bat file but want to change it as window service

    http://sourceforge.net/projects/wrapper/

  • Exposing java class as web service

    Hi All,
    I have a requirement where I have to Expose a java class as web service u2013 In NWDS 7.0, we have a web service perspective where we can do this. But in 7.2, I could not find this perspective.
    And second requirement is to Consume web service in java class.
    Please help me ASAP.
    Thanks.

    Hi All,
    Waiting for some suggestions.
    Regards,
    Nishant

  • How to use plugable java components

    in the case of forms 9i how to plugable java components?

    There is a PJC quick start on:
    http://otn.oracle.com/products/forms/htdocs/upgrade/content.html
    After you try this step by step and read some of the online docs you should be able to develop your own.

  • How to export spool data to memory / save spool data to file in app server

    I need to save output from a report painter generated report to the file in app server.
    I tried submit exporting list to memory and return. but got Not_Found exception when call FM LIST_FROM_MEMORY.  I also tried to call FM CONVERT_ABAPSPOOLJOB_2_PDF with no device parameter, but the pdf output from that FM is not readable.
    Any suggestions will be greatly appreciated!

    Moderator message - Welcome to SCN.
    But please do not cross post. Have a look at Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!! and How to post code in SCN, and some things NOT to do... before posting.
    Rob

  • Exposing Java method as Web service

    Hello,
    I would like to know how can I make a Java Method expose as a webservice using BPEL.
    I have created a java class To do some processing. I want to make this as a service. Is there any sample code to do this? Please provide any links..

    If you used the Web Service Wizard the easiest thing to do is:
    1. Delete the WS class - when prompted also delete all artifacts - you should now see your original class files. *
    2. Add extra methods.
    3. Regenerate web service using same parameters as previously (make sure you use the same namespaces).
    (4. Apply any customisations you made)
    *Occasionally this will not work and will not remove the references to the WS artifacts from the project file, in this case you will need to manually remove them from the project xml file.
    You can also edit the project to make the classes visible (can't remember the exact steps for this, it's been a while), change the classes and regenerate services, however this will overwrite any customisations you have made, so is little different to removing the artifacts and regenerating.
    Finally you can make the classes visible as above, updatethem and then manually edit the other web service artefacts (<name>-java-wsdl-mapping.xml,webservices.xml, oracle-webservices .xml, Interface, etc). This is a lot more tedious than using autogeneration.

  • (how) can I access Java APIs from web-page-hosted JavaScript?

    Can I access Java APIs from a web-page via JavaScript if I have a JRE installed on the client machine? And if so, how?
    Thanks in advance for your time and consideration.

    John L. wrote:
    Can I access Java APIs from a web-page via JavaScript if I have a JRE installed on the client machine? And if so, how?As far as I can remember that was actually possible in the very first versions of Netscape because Netscape really wanted to pretend Javascript and Java were meant to be used together. But they soon removed that functionality. Can you guess why?
    Because people were using the File/IO classes to easily steal or remove files on the harddrive, among other such niceties. You do NOT want to have such control from a web application. People will abuse it.

  • How to run a java class as nt service in jdk1.1.8

    Hi,
    Could you help me , i try to start a service for a class who needs jdk1.1.8. I find javaservice.exe but it runs only for jdk1.2 or 1.3.
    HEEEEELLLLLPPPP

    Once old man was sitting in the park reading book "Learn C++ in 21 days". A passer by saw him and asked "You are such an old guy, why do you bother to learn C++?" "I have heard that now communication language at heaven is C++ only , so after my death when I will be in heaven, I don't want to face communication problem." old man replied. "But how come are U so sure that U will be in heaven? It could be a hell also." he asked. "Ya, doesn't matter .... I already know Java".

  • QUESTION: How to re-registe​r setup billing/pa​yment account without losing installed apps?

    Unable to buy anything on my Touchpad app catalog. Error PMT03043 when trying to buy. How to clear existing catalog account and set it up again - hope this solves the problem ? There's no billing info set up in the existing account. App catalog does not allow to set up billing/payment info later if not done the first time.
    Post relates to: HP TouchPad (WiFi)

    Try these steps to remove the billing acct.
    Open App Catalog > application menu > Preferences & Accounts.
    In Password Is Required, select one of the following:
    Once every 4 hours:You must enter your password the first time you make a purchase. If you make any other purchases within 4 hours, you don’t need to enter your password again. After 4 hours, you must enter your password again for the first purchase, which starts a new 4-hour clock.
    Every Purchase: You must enter your password for each purchase, regardless of the time interval.
    Under Send Email, change the email address to which receipts are sent.
    To modify or remove an account, tap the account name.
    Enter your HP webOS Account password and tap Submit.
    When the credit card information appears, do one of the following:
    Tap the information you want to update, make the change, and then tap Submit.
    Tap Remove Account and then confirm the deletion.
    Once removed, setup the billing acct. again.
    For reference purposes, click on the following link for the support page for your device on the kb.hpwebos.com webpage.
    http://kb.hpwebos.com/wps/portal/kb/na/touchpad/to​uchpad/wifi/home/page_en.html
    There are links on the page to the user guide, troubleshooting, how to's, downloads, etc.

  • How can I use java on the web?

    hi
    I would like to learn about making websites using java?? do i have to learn about javascript or another type of java??
    Im new in using java applet, threading and stuff like that :).
    And maybe I can make management systems in java language is this possible?
    thanks

    mshadows wrote:
    hi
    I would like to learn about making websites using java?? do i have to learn about javascript or another type of java??
    javascript is not a type of java. It is a separate language. What do you mean by "making websites". A website in its simplest form is just an HTML page. If you want to learn what's called a "server side web programming language", which will allow you to do things like retrieve data that a user entered into a form on an HTML page and store it in a database, then first you need to learn basic java, and then you need to learn basic HTML(and it would be beneficial to learn basic javascript although that's not mandatory), and then you need to learn "servlets+jsp"--which is the java version of a "server side web programming language". The easiest "server side web programming language" to learn and the one that is most popular is php.
    Some books you might consider:
    beginning Java: "Java2: A Beginner's Guide"
    beginning servlets+jsp: "Murach's Java servlets and JSP(2008 edition)" -- includes an introduction to HTML
    Im new in using java applet, threading and stuff like that :).OK. You don't need know applets or threading to learn servlets+jsp.
    And maybe I can make management systems in java language is this possible?
    Sure.
    Edited by: 7stud on Jun 6, 2008 10:17 PM

  • Question: How can I convert Java portlets into iViews? ...

    Hi David,
    Thank you for reading this post.  Currently, I have java portlets and have
    some questions converting them to iViews.  I have the iView conditions
    listed below with my questions:
    <u><b>iView Conditions:</b></u>
    <b>1. Usage of Correct Naming Conventions:</b>  If possible, can you show me a sample of
    the correct naming conventions?
    <b>2. Single Sign On:</b>  If possible, can you please elaborate more on this and possibly provide
    an example?
    <b>3. Session State (During the entire usage of an iView, session state
    and transaction integrity must be maintained)</b>. If possible, can you please elaborate more on this and possibly provide an example?
    <b>4.  Browser Independence (An iView must work with all supported versions of at least one browser type supported by Enterprise Portal).</b>  If possible, can you list supported versions?
    <b>5.  Look and Feel (The iView must present data in the Enterprise Portal
    look and feel and allow for the different personalization options that
    are possible with the SAP Enterprise Portal).</b>  If possible, can you please elaborate more on this and possibly provide an example?
    <b>6. Error Messages (The iView must be implemented in a way that provides
    default/ relevant/ meaningful error messages)</b> If possible, can you please elaborate more on this and possibly provide
    an example?
    <b>7. No Hard-Coded Paths </b> I understand this but just to make sure, can
    you possibly provide an example?
    <b>8. Special Characters (iViews must be able to depict reserved HTML
    characters)</b>
    If possible, can you please elaborate more on this and possibly provide
    an example?
    Thank you so much for your time and look forward to your
    response.
    Thank you,
    Baggett

    Hi, this question is addressed to anyone who could help, my apologies for any confusion.
    Thank you,
    Baggett

  • How can I write java code in web dynpro to show KM content document?

    Dear all developer
    SDN developer who have any easy example java code for get and show KM content documents(documents/com.xx.km/.). We are develop this project by Netweaver Studio 7.0 and using WEB Dynpro application.
    Thank for all comment and advice.
    Jumnong Boonma

    Hi
    i dont have the exact code but yes..i can refer to the link for Web Dynpro applications for the Portal.
    [http://help.sap.com/erp2005_ehp_03/helpdata/EN/42/fa080514793ee6e10000000a1553f7/frameset.htm]
    Here look out for Absolute Navigation.
    Hope it helps...
    Thanks..

Maybe you are looking for

  • (How can we) Export FXG from Flash Professional using JSFL

    How can we export a selection from Flash Professional as .FXG using JSFL? It appears that this is not possible... just yet! I have added this as a feature request within the Adobe Labs site for Flash Professional. Someone at Adobe suggested that I al

  • SSRS 2008 R2 - COUNTDISTINCT By Group

    Hello, Thanks for the help in advance.  I have some a results set that gives some numbers by country.  The countries selected are controlled by a parameter which is 'Multi Select'.  There could be one or many countries selected. My 'Detail' level dat

  • 5.5 x 8.5 invitation printing HELP!!!

    I am trying to print my wedding invitations on 5.5 x 8.5 cardstock.  i have followed all instructions from the company and everything is printing correctly in accordance to size and positioning/centering. the only problem i am having is that the enti

  • Mail consuming too much space

    iPhone mail is using 1.9 GB of space and I have deleted almost all emails. How do I free up space on mail?   Same thing on iPad is only using about 748MB

  • No Add-ons

    I recently re-installed FireFox 7 but now when I go to Tools>>>Add-Ons nothing comes up. I cannot even find any add-ons to add. I even went to Google and tried to get to the add-on page that way, but I cannot access anything having to do with FF Add-