AJAX - JavaScript - HTML

Hi all,
I am currently trying to find editors or IDEs for AJAX,HTML,Java.
I am currently using Eclipse for my JAVA projects. Can you please suggest me which editor do you prefer to write html,javascript, or AJAX. I am not really interested in visual editing just code.
Thank you all take care
Adam

You'd be better off posting this question in an HTML, Javascript or AJAX forum.

Similar Messages

  • Is it possible to use apex-ajax in html code written by me?

    Hello everyone.
    Is it possible to to ajax with html items written by me into the regions source?
    Here's the thing, i am a somewhat experienced user with php/javascript/html/css and old habbits die hard.
    I' ve been recently working with apex but i like to do my html my self rather than letting apex generate it.
    (i think apex has some limitations in flexibility but it might be because i m newbie and don t know how to use it.)
    Bottom line, i designed a couple of divs, added some cool efects with prototype/scriptaculous (apex responded good until here), how ever the content was all static. Now i have select list's and text fields inside some of my divs. (all the html code divs/select lists/etc is in a region source)
    Can i use ajax to alter the content in those select lists? Or the only way i can alter the content in select lists is if they were created by apex itself?
    Thank you very much for all the help.

    Hello, thanks for the quick help.
    I've been forced to work with apex by the company, not my first choice... But since i have to work with it at least for a while might as well make good use of it ;)
    I know i can change the css templates in apex, but they are so big i prefer to simply create new small styles of specifc things i need, the question was if i can construct a complext layout for example something like this:
    ------------------------------------------------------------------------ HTML CODE --------------------------------------------------------------------------------
    <table >
         <tr>
         <td colspan="3" class="topleft" > Temas </td>
         <td colspan="9" class="topright" >
              <input class="bigbutton" type="button" value="Imprimir" onclick="alert('Imprimir')" >
              <input class="bigbutton" type="button" value="Template" onclick="alert('Template')" >                          
              <input class="bigbutton" type="button" value="Copiar" onclick="alert('Copiar')" >
         </td>
         </tr>
         <tr>
         <td colspan="3" class="middleleft" >
              <select size="18" class="mediumselect">
                   <option>Tema 1</option>
                   <option>Tema 2</option>
                   <option>Tema 3</option>
                   <option>Tema 4</option>
              </select>
         </td>
         <td colspan="9" class="middleright" >
              <select size="18" class="bigselect">
                   <option>Mapa 1</option>
                   <option>Mapa 2</option>
                   <option>Mapa 3</option>
                   <option>Mapa 4</option>
              </select>
         </td>
         </tr>
         <tr>
         <td colspan="3" class="bottomleft" >
              <table>
                   <tr>
                   <td colspan="2"> <input class="bigbutton" type="button" value="Novo Tema" onclick="alert('Novo Tema')" > </td>               
                   </tr>
                   <tr>
                   <td> <input class="mediumbutton" type="button" value="Apagar" onclick="alert('Apagar')" > </td>
                   <td> <input class="mediumbutton" type="button" value="Editar" onclick="alert('Editar')" > </td>
                   </tr>
              </table>
         </td>
         <td colspan="9" class="bottomright" >
                   <table style="display:inline;">
                        <tr>
                             <td colspan="2"> <input class="bigbutton" type="button" value="Novo Mapa" onclick="alert('Novo Mapa')" > </td>               
                        </tr>
                        <tr>
                             <td> <input class="mediumbutton" type="button" value="Apagar" onclick="alert('Apagar')" > </td>
                             <td> <input class="mediumbutton" type="button" value="Editar" onclick="alert('Editar')" > </td>
                        </tr>
                   </table>
         </td>
         </tr>
         </table>
    ------------------------------------------------------------------------ HTML CODE --------------------------------------------------------------------------------
    Place the above code inside a region in a certain page, and then access the select lists:
              <select size="18" class="mediumselect">
                   <option>Tema 1</option>
                   <option>Tema 2</option>
                   <option>Tema 3</option>
                   <option>Tema 4</option>
              </select>
              <select size="18" class="bigselect">
                   <option>Mapa 1</option>
                   <option>Mapa 2</option>
                   <option>Mapa 3</option>
                   <option>Mapa 4</option>
              </select>
    and change their values wether on page load or after loading (with ajax).
    I know i have to assign an id to each of the selelect lists too access them (as you do in other languages) but does apex recognise the id's if add them myself?
    for example:
              <select id="select_list_temas" size="18" class="mediumselect">
                   <option>Tema 1</option>
                   <option>Tema 2</option>
                   <option>Tema 3</option>
                   <option>Tema 4</option>
              </select>
    would i know be able to change the values in the select lsit by referencing it in an ajax function as select_list_temas?
    Thanks again for all the quick help hope i made myself clearer now, i don t think i can post more specif code (company policy) but i will try to give more details if there are still some doubts to what i intend.
    Edited by: user10686093 on 16/Dez/2008 3:32
    Edited by: user10686093 on 16/Dez/2008 3:36

  • Consume ABAP Webservice using AJAX javascript

    Hi,
    We created webservice for  ABAP BAPI. And I want to consume this using AJAX javascript.
    But I am getting "Access Denied" javascript error.
    Please let me know how to pass the credentials while trying to consume this webservice
    I tried below code, but its NOT workng
    var URL ="http://hostname/sap/bc/srt/rfc/sap/servicename?sap-client=400&sap-user=testuser&sap-password=testpassword";
    xmlhttprequest.open("POST", URL, true);
    Please let me know your thoughts ...
    Thanks
    Edited by: sona p on Feb 27, 2010 12:18 AM

    Hi,
    Thanks for your response. I did the same as mentioned in the link provided by you. But it is not working . I am still getting "Access denied" javascript error in the second line ( xmlhttprequest.open) . Below is my code.
    var auth = make_base_auth('userid','password');
    xmlhttprequest.open("POST", URL, true);
    xmlhttprequest.setRequestHeader('Authorization', auth);
    xmlhttprequest.setRequestHeader ("Content-Type", "text/xml");
    xmlhttprequest.onreadystatechange = getDataList;
    xmlhttprequest.send(SOAPEnvelope);
    Please let me know your thoughts. Thanks again for your response.

  • Can I use JavaScript HTML Portlet and PDK Portlets

    Can I use JavaScript HTML Portlet and PDK Portlets?
    My Script works fine with the an HTML portlet but it always gives a an Error Message in the status bar is that normal...
    Other then that I have JavaScript in my PDK portlet page it does not work.. it is the the same javascript I use for in my HTML portlet which works in HTML portlets..

    You'll have to place your JavaScript in the header section of your Portal page. To do so, use HTML/UI templates. For more information, refer to the How to Design and Build Compelling Portal Interfaces whitepaper.
    Good luck,
    Peter

  • JavaScript/HTML notification problem

    Below problems are in JavaScript/HTML only. In Flex both works well.
    In JavaScript/HTML on Mac, dock icon bounces only once in CRITICAL.
    Below 3 cases(type, CRITICAL, "aaa"), same results.
    How do I use JavaScript code to react doc icon repeatedly?
    function notify() {
    if (air.NativeApplication.supportsDockIcon) {
    var critical = document.getElementById("critical");
    var type = (critical.checked ? air.NotificationType.CRITICAL : air.NotificationType.INFORMATIONAL);
    //air.NativeApplication.nativeApplication.icon.bounce(type);
    //air.DockIcon(air.NativeApplication.nativeApplication.icon).bounce(air.Notific ationType.CRITICAL);
    air.NativeApplication.nativeApplication.icon.bounce("aaa");
    function setListener()
    nativeWindow.addEventListener(air.Event.DEACTIVATE, notify);
    </script>
    </head>
    <body onload="setListener()">
    And I have another problem on Windows just as Mac.
    Below cases(type, CRITICAL, ,no argumens) are same results.
    Application windows and taskbar flash only once.
    How do I use JavaScript code to flash window and taskbar??
    function notify(){
    if(air.NativeApplication.supportsSystemTrayIcon && air.NativeWindow.supportsNotification) {
    var critical = document.getElementById('critical');
    var type = (critical.checked ? air.NotificationType.CRITICAL : air.NotificationType.INFORMATIONAL);
    window.nativeWindow.notifyUser(type);
    //window.nativeWindow.notifyUser(air.NotificationType.CRITICAL);
    //window.nativeWindow.notifyUser();
    function setListener(){
    window.nativeWindow.addEventListener(air.Event.DEACTIVATE, notify);
    </script>
    </head>
    <body onLoad="setListener()">

    I've got the same problem.
    Using Javascript/HTML the icon only bounces once in OS X and the system tray doesn't even highlight in Windows XP Pro for me.
    I have also tried every permutation of use for:
    air.NativeApplication.nativeApplication.icon.bounce(air.NotificationType.CRITICAL);
    -- and --
    air.NativeApplication.stage.nativeWindow.notifyUser(air.NotificationType.CRITICAL);
    And still nothing works as you describe  in:
    http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7dcd. html
    -- and --
    http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7dcb. html
    any suggestions as to how I can overcome this issue would be appreciated.

  • Pass a value from a PL/SQL function to a javascript (html header) ? ?

    Hey Guys,
    Have a question regarding how to pass a value from a PL/SQL function to a javascript in the HTML Header.
    I have created a PL/SQL function in my database, which does looping.
    The reason for this is:  On my apex page when the user selects a code, it should display(or highlight buttons) the different project id's present for that particular code.
    example= code 1
    has project id's = 5, 6, 7
    code 2
    has project id's = 7,8
    Thank you for your Help or Suggestions
    Jesh
    The PL/SQL function :
    CREATE OR REPLACE FUNCTION contact_details(ACT_CODE1 IN NUMBER) RETURN VARCHAR2 IS
    Project_codes varchar2(10);
    CURSOR contact_cur IS
    SELECT ACT_CODE,PROJECT_ID
    FROM ACTASQ.ASQ_CONTACT where ACT_CODE = ACT_CODE1;
    currec contact_cur%rowtype;
    NAME: contact_details
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 6/25/2009 1. Created this function.
    BEGIN
    FOR currec in contact_cur LOOP
         dbms_output.put_line(currec.PROJECT_ID || '|');
         Project_codes := currec.PROJECT_ID|| '|' ||Project_codes;
    END LOOP;
    RETURN Project_codes;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    WHEN OTHERS THEN
    -- Consider logging the error and then re-raise
    RAISE;
    END contact_details;
    /

    Jesh:
    I have made the following modifications to your app to get it to work as I thing you need it to.
    1) Changed the source for the HTML Buttons Region(note use of id vs name for the Buttons)
    <script>
    function hilitebtn(val) {
    //gray buttons
    $x('graduate').style.backgroundColor='gray'
    $x('distance').style.backgroundColor='gray'
    $x('career').style.backgroundColor='gray'
    $x('photo').style.backgroundColor='gray'
    //AJAX call to get project-ids
    var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=GETPROJECTS',0);
    get.addParam('x01',val)
    gReturn = get.get();
    var arr=gReturn.split(':');  //dump into array
    get = null;
    for (i=0;i<arr.length;i++) {
    // alert('val=' + arr);
    if ( arr[i]==5)
    $x('graduate').style.backgroundColor='red';
    if ( arr[i]==6)
    $x('distance').style.backgroundColor='red';
    if ( arr[i]==7)
    $x('career').style.backgroundColor='red';
    if ( arr[i]==8)
    $x('photo').style.backgroundColor='red';
    </script>
    <table cellpadding='0' cellspacing='0' border='0'>
    <tr><td>
    <input type='button' id='graduate' value='Graduate'>
    </td>
    <td>
    <input type='button' id='distance' value='Distance'>
    </td>
    <td>
    <input type='button' id='career' value='Career/Tech'>
    </td>
    <td>
    <input type='button' id='photo' value='Photos'>
    </td>
    </tr></table>
    2) Defined the application process  GETPROJECTS as DECLARE
    IDS varchar2(1000);
    l_act_code varchar2(100) :=4;
    begin
    IDS:='';
    l_act_code := wwv_flow.g_x01;
    for x in(
    SELECT ACT_CODE,PROJECT_ID
    FROM ASQ_CONTACT
    where ACT_CODE = l_act_code)
    LOOP
    IDS := IDS || X.PROJECT_ID|| ':' ;
    END LOOP;
    HTP.PRN(IDS);
    END;
    3) Changed the 'onchange' event-handler on p1_act_code to be 'onchange=hilitebtn(this.value)'
    4) Added the JS to the HTML Page Footer <script>
    hilitebtn($v('P1_ACT_CODE'));
    </SCRIPT>

  • Javascript/HTML question

    I've been teaching myself Java on and off for the past couple years with the help of these forums and other tutorials. Now I've decided to take on a project that requires the use of HTML and Javascript and I can't seem to find the information I need. I was hoping that somebody from these forums could either answer my questions and/or point me in the right direction to find the answers.
    The project is simple. I created an HTML window with an inputTextArea, an outputTextArea, and two buttons (Submit and Reset). When Submit is pressed I need the program to take the text from inputTextArea one line at a time, check the indexOf a string, and add tags at the beginning and end of the string if it meets certain criteria before appending it to outputTextArea.
    I can (and have) written this very easily in Java but I can't seem to find the methods I need in Javascript. In java I use a java.io LineReader to read the inputTextArea.getText() one line at a time and then make the changes as needed. I actually can't even find a tutorial in Javascript that can explain how to take the text from inputTextArea and print it into outputTextArea.
    So the main thing I need to know is how to read one line of text at a time from the inputTextArea. I think I can figure the rest out.

    That was actually my original thought when I started on the Java version of the program but I couldn't figure out how to enter the the carriage return in as a variable to be indexed. So it wasn't until after I found the LineReader that I was able to complete the Java version.
    Is there some way to enter the carriage return in as a searchable variable?

  • Will Adobe AIR apps work on iOS (Javascript/HTML)?

    Hello,
    I haven't been able to find any definitive answer on whether Adobe AIR apps using Javascript and HTML can work on iOS.
    Anyone know for sure?
    And if so, what happens with the APIs available through these swfs that we currently include:
    networkInfoWrapper.swf
    servicemonitor.swf
    applicationupdater_ui.swf
    Many thanks
    Stephen

    The answer is no. Apps developed for AIR using HTML and JavaScript are not supported on iOS or other mobile platforms. The mobile platforms do include a StageWebView component that can be used to load and display HTML and JavaScript. However, it is entirely different than the HTMLLoader control used on the desktop platforms (for HTML-based AIR apps). You cannot, for example, call any AIR/Flash APIs from JavaScript running in a StageWebView. In general, very little communication is possible between your ActionScript application code and the JavaScript code running in the StageWebView object.

  • Ajax/Javascript in Web dynpro ABAP

    Hi,
    I need your help in figuring out what artefacts of web dynpro ABAP could help me resolve a problem.
    In a Web dynpro abap application, we have a button that redirects a user to an external site. Some of our users can go to this site from their computer and some others can't because they are not allowed. I would like to be able to show the button only to the users that have the right to execute this navigation.
    In order to do that, I need to embed some script in my web dynpro application that will test if the URL of this application sends back an HTTP/200.
    With the latest versions of Web Dynpro ABAP, is it possible to embed javascript of ajax? How can it be done?
    If not, what could I use to base the visibility of my button on a validation that has to run on the users's browser?
    Thank you very much for your help!
    Renaud

    Another way it could be done creating a custom ztransaction (abap report) performing a PING to the ip server , reading log txt,  saving if the user is authorized or not , and redirecting to the Abap Web Dynpro.
    Then On wddoinit select zztable for authorization.
    But i don't know if this solution will work for you (ping specific port 80? or other requirements)
    DATA: workdir TYPE string,
          path_log TYPE string,
          parameter TYPE string.
    TYPES: BEGIN OF tylog,
         line(1000),
      END OF tylog.
    DATA: t_log TYPE TABLE OF tylog,
          v_log LIKE LINE OF t_log.
      DATA:  appl_name TYPE string,
                abs_url TYPE string.
    START-OF-SELECTION.
      CALL METHOD cl_gui_frontend_services=>get_sapgui_workdir
        CHANGING
          sapworkdir = workdir.
      CONCATENATE '/C ping google.it >' workdir
      INTO parameter SEPARATED BY space. "example google
      CONCATENATE parameter '\pinglog.txt' INTO parameter.
      CALL METHOD cl_gui_frontend_services=>execute
         EXPORTING
    *    document               =
           application            = 'CMD'
           parameter              = parameter
           synchronous            = 'X'.
      CONCATENATE workdir  '\pinglog.txt' INTO path_log.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = path_log
          filetype                      = 'ASC'
        TABLES
          data_tab                      = t_log.
      LOOP AT t_log INTO v_log WHERE LINE CS 'Lost = 0'.
        EXIT.
      ENDLOOP.
    if sy-subrc = 0. "ping ok
    zzping-uname = sy-uname.
       zzping-authorized = 'X'.
    else.
      zzping-uname = sy-uname.
      zzping-authorized = ' '.
      endif.
       INSERT ZZPING.
    **construct web dynpro url and call browser
      cl_wd_utilities=>construct_wd_url( EXPORTING application_name = appl_name
                                                                 IMPORTING out_absolute_url = abs_url ).
    CALL FUNCTION 'CALL_BROWSER'
      EXPORTING
        URL                          = abs_url.
    Edited by: alessandro spadoni on Mar 24, 2011 10:09 PM
    Edited by: alessandro spadoni on Mar 24, 2011 10:31 PM

  • Page reload using Ajax/ Javascript

    Hi All,
    I am new to Ajax, in my application i have to reload the page once i click on the link on a report column.
    Another one is how to call "On load process" by clicking on the report link.
    Can anybody help on this.
    thanx
    Madhu

    implement page submit with AJAX instead of javascriptSome comments
    <li>If you are submtting page, then you don't ajax coz you can do the processing in an Onsubmit PLSQL process
    <li>The J in AJAX stands for "Javascript."
    >
    My requirement is on clicking on the report column i have to call one javascript and in javascript i am setting item value then submitting the page with doSubmit, then it will run the onload process based on the item value.
    Again from onload process i am calling another javascript.
    >
    So "column link" -> "JS function" -> "SET Item" ->"Submit The Page" -> "on load process" ???
    If you are on apex 4.0 ,you can use Dynamic Action for such things
    <li> add a handler for the link column that can be used in identifying the link for instance
    by adding to the link attributes(in column properties)
    class="my_link"<li> Then add a Dynamic action that is fired when you click on the link
    Dynamic Action Name : Anything you want
    Triggering element type: jQuery Selector
    jQuery Selector: a.my_link
       True Action 1: Type : Javascript
             JS code : <Insert JS code  to set the item>
       True Action 1: *PLSQL*
            PLSQL source : <use the PSLQL code from your onload PLSQL process>
            Items to submit : <set item name>, <any other items being refered in PLSQL>

  • Invoking BPEL Process as a Web Service via AJAX / JavaScript

    So, I am able to invoke the BPEL process using the console with a nice XML SOAP fragment. If I take the same fragment and try to invoke the process using JavaScript, I get a NullPointerException:
    <2007-04-03 08:31:24,433> <DEBUG> <default.collaxa.cube.ws> SOAPRequestProvider
    java.lang.NullPointerException
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProviderHelper.getSOAPAction(SOAPRequestProviderHelper.java:431)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:231)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:129)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Am I missing something here??? I have injected TCP-Mon into the mix and it is showing me the exact same message going to the web service.
    The message information that is sent looks like:
    POST /orabpel/default/C3eFormInitiation/1.0 HTTP/1.1
    Accept: */*
    Accept-Language: en-ca
    Referer: file://G:\Brad\eformInitiation\eformInitiation.html
    Content-Type: text/xml; charset=UTF-8
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; FDM)
    Host: d0027200.idir.bcgov:8081
    Content-Length: 1264
    Connection: Keep-Alive
    Cache-Control: no-cache
    Cookie: oracle.uix=0^^GMT-8:00
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:q0="http://pssg.gov.bc.ca/c3/eForms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <soapenv:Body>
              <q0:formInitiationProcessRequest>
                   <q0:locationCd>VIRCC</q0:locationCd>
                   <q0:initiatorUserId>bxworsfo</q0:initiatorUserId>
                   <q0:parentDocId>0</q0:parentDocId>
                   <q0:submittedForms>
                        <q0:submittedForm>
                             <q0:primaryForm>Y</q0:primaryForm>
                             <q0:assignmentDetails>
                                  <q0:assigneeId>bxworsfo</q0:assigneeId>
                                  <q0:assigneeTypeCd>U</q0:assigneeTypeCd>
                                  <q0:docTypeCd>IACF</q0:docTypeCd>
                                  <q0:docTypeVersion>1.0</q0:docTypeVersion>
                             </q0:assignmentDetails>
                             <q0:workflowDetails>
                                  <q0:docId>n/a</q0:docId>
                                  <q0:docFolderPrefixCd>n/a</q0:docFolderPrefixCd>
                                  <q0:docFolderSeq>n/a</q0:docFolderSeq>
                                  <q0:docSeq>n/a</q0:docSeq>
                                  <q0:workflowTaskURL>n/a</q0:workflowTaskURL>
                                  <q0:workflowDisplayFormIdentifier>n/a</q0:workflowDisplayFormIdentifier>
                             </q0:workflowDetails>
                        </q0:submittedForm>
                   </q0:submittedForms>
              </q0:formInitiationProcessRequest>
         </soapenv:Body>
    </soapenv:Envelope>
    To invoke the web service, we are just using the JavaScript code that has been generated by BPEL Process Manager. The call looks like:
    function invokeSync (url, xmlDoc) {
    var req = null; if (window.XMLHttpRequest) {
    req = new XMLHttpRequest();
    } else if (window.ActiveXObject) {
    req = new ActiveXObject("Microsoft.XMLHTTP");
    if (req) {
    req.open("POST", url, false);
    req.setRequestHeader("Content-Type", "text/xml");
    req.send(xmlDoc);
    return req.responseXML;
    I have been able to invoke other web services using exactly the same function. They all seem fine.
    I am even able to use an AXIS type client to invoke the BPEL web service from Eclipse.
    Advice??? This definitely appears to be some sort of bug?
    Thanks,
    BradW

    check out 102.InvokingProcess/ws tutorial .. which uses axis .. or generate the client based on the wsdl that you can retrieve from the bpel console / click on the process/ and then wsdl tab ..
    hth clemens

  • AJAX - javascript debugger

    So I'm working on building numerous AJAX applications for
    various clients when I remember the javascript debugger in
    dreamweaver. But oops it's not there..... so back to MX 2004 not
    there either.... so back to MX cannot find it. So into the archive
    and I install 4 and there it is. Can we have it back please!
    peter
    p.s. stressed with using the venkman debugger ( the last time
    I used one so complex was when I was using ICE on hardware)

    Yea that happens to me sometimes also... the only way around I can suggest you is open the form on adobe acrobat pro, there the debugger should show up...
    or you can use the try catch statement
    http://blogs.adobe.com/formfeed/2009/03/handling_javascript_exceptions.html

  • Upload javascript / HTML / CSS/ files to BSP environment

    HI,
    1. Would there be an easy way to upload (in mass) Javascript files to a BSP environment?
    Right now, we have to do it one by one (right click BSP application > create > MIME object > import).
    but we will manage a web2.0 AJAX application in this way, so uploading one by one is not an option
    2. once uploaded, would there be a way to edit and maintain those files in an easy way?
    Right now, we can only edit in notepat, right clicking the file and then "change"
    The goal is that we could easily change it in another tool
    thanks in advance!
    Pieter

    Hi Pieter,
    you can upload multiple MIME objects by right-clicking on the MIMES filder and selecting "Import MIME Objects".
    Many different ways to do editing. It sounds to me like the best way for you is to use the [WebDAV|http://en.wikipedia.org/wiki/Webdav] protocol to expose the BSP application objects as a file system and then you can edit then with whatever tool you want.
    [http://help.sap.com/saphelp_nw04/helpdata/en/46/bb184dab4811d4968100a0c94260a5/frameset.htm]
    Cheers
    Graham Robbo

  • XML Vs Javascript/HTML

    Hi! All JDeveloper's Support Group. Normally
    I used Javascript and HTML to create my
    webpage. But recently, I found that XML
    is very much better. Can the code in my
    present Javascript and HTML be enhanced but
    with the mixture of XML? Will the output
    be browsable with any browser, that is,
    IE or Netscape or other browser? Pls let
    me know soon. Thanks & best regards.

    You might want to check out Oracle's XSQL Servlet. It's a free web publishing framework that caters to SQL/XML/XSLT/Java publishing of database information over the web.
    JDev 3.2 ships with BC4J-integration for XSQL Servlet as well.
    http://technet.oracle.com/tech/xml
    Click on "XDK for Java".

  • CF-Ajax-Javascript Issue

    Hello,
    We have added a "recently viewed items" panel to the right
    side of our website.
    In this panel we simply loop through the array of viewed
    items and present them
    stacked up in the panel. The code for rendering the list of
    items is in a
    separate CF template that is placed using an Ajax call within
    a <DIV>.
    The problem is that the javascript is not executing in the
    recently viewed items
    panel. For instance:
    <script type="text/javascript">
    var pr_page_id="#currItem#"; snippet(document);
    </script>
    This code is in the loop so that each iteration of an item
    should show the
    "snippet." I can't see the javascript in the source code
    since it's inside a
    <DIV> but the non-Ajax (CF) pages that use the same
    technique are getting
    the correct snippet so I know that the code works and that
    the problem must come
    from the use of the Ajax call.
    Any ideas on a different way to call this so it will fire the
    javascripts
    correctly.
    Thanks much,
    Jerry

    why it is not working and how to fix it will likely depend
    on:
    - how you make your ajax call
    - which js framework, if any, you are using
    - where and how your js functions are declared
    - how you write you js in the included page
    - specifically your snippet() function
    so, please, elaborate a bit more...
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

Maybe you are looking for