Form Guide - Web Service for Drop down

Running LC ES 1 8.2 with JBoss
I have a form that I created in Designer and everything works fine in Workspace.  I decided to make the form into a Guide and have changed my web service so that it executes on the initialize event for the drop down.  I have a hidden button on the form that runs from the server and my code below also runs from the server.
Page2.CompanyCodeBtn.execEvent("click");
The guide renders fine in Workspace but the drop down does not display anything.
Thoughts?  I don't see anything in my server log either.
Thanks,
John

How are you populating the DDList - is there scripting that parses the incoming XML or is it simply a binding exercise?
Paul

Similar Messages

  • Web Service with Drop Down Lists for database selections

    Hello,
    I want to define a Web Service with the JDeveloper which can do the following.
    I´ve got a database table with several columns which represents a customer adress and name.
    On a WebSite I like to have three Drop Down Lists to search in that table. The first list should include the field "name". When I select a name there the second list should show all streets (field "street") where people with the selected name live. When I select the street the third list should show me the house numbers (field "hn") of the customers with the selected name and street.
    What have I to do to define a application, a project and so on?
    Many Thanks!

    Hello,
    This question is not directly related to Web Services, since in this case you can consider that the Web Service is your "model" providing data to your view (JSP). One of the question I would like to ask you is: why do you want to use a Web Service to do that? and how you want to deploy this?
    In a general manner, if you use Web Service it is to be able to reuse the business logic in other projects, so based on this statement I would create a specific project that will contain you "model" so all your services.
    The to consume it from your JSP you have different ways:
    - create a Java proxy, or use @WebServiceRef to call the client
    - use Javascript to call the service directly from the HTML page, take a look to the Oracle Web Service endpoint page, where you can see some Javascript stub links.
    Please give more details about your project and needs and I will try to give you a proper answer.
    Regards
    Tugdual Grall

  • Create a Web Service for Exchange with form based authentication ?

    I want to create a Web Service in Apex that can create appointments in my exchange calendar. Exchange is offering web services for that.
    When i try to create the web service reference in Apex i provide the URL and my Exchange login, but it is failing.
    The exchange guys told me, that there is a ISA Server running where i need to authenticate through a form.
    Does anyone know, how i can implement a webservice in Apex, when the access to the wsdl url needs login through a form ?
    Or : what other types of authentication does Apex know ? What possibilities do i have ?
    Thanks for answers.
    Bernd

    Hi
    Presume you've already found this information, but in case not ....
    Exchange 2007 provides out of the box web services, see
    http://msdn.microsoft.com/en-us/library/bb408417.aspx
    As a disclaimer - neither myself of the team I work with have tried to use these web services within APEX.
    Regards
    Chris

  • Offline Adobe form- Adding custom data in drop down

    Hi All,
    I am fetching data in a drop down from a table in web dynpro.The drop down is displayed on adobe form.I have allowed custom user entry.I am able to enter data.I need to show the user added data appended in the drop down the next time the user opens the adobe form.
    Any Pointers?
    Regards
    Radhika

    Hi,
    I am trying to save drop down values concatanated in a text field and filling the drop down again while initalizing(opening) the form.But incase of data fetched from a simple type iam nto able to  fetch the data of the drop down.iam only able to fetch the selected value.
    if(DAtanode.mainsubform.TextField1rawValue!=null)
    var temp = new Array();
    temp=DAtanode.mainsubform.TextField1rawValue.split(";");
    var temps = temp.length;
    for(var it = 1;it<temps;it++)
    DAtanode.mainsubform.EnumDropDownList1.addItem(temp[it]);
    Regards
    Radhika

  • Adobe forms with Web Service - nothing happens when clicking button.

    Hi,
    I am trying to develop adobe forms with web service. The web service
    WSDL location is :- [http://www.webservicex.net/uklocation.asmx?wsdl]
    I have created a new dataconnection with the above URL, drag & drop fields & button onto the form & save the form.
    when I open the PDF on my local machine, enter the post code and push button, nothing happens. no error/warning message.
    I also downloaded a web service example PDF from [http://partners.adobe.com/public/developer/tips/index.html]
    This form also has button to execute a web service but again nothing happens?
    Any clues why this is happening? I turned off my firewall thinking it might be blocking but no joy
    I am using Adobe Life cycle Designer 8 & Adobe reader 8.
    Thanks,
    Pankaj
    Edited by: PANKAJ ARORA on Jan 15, 2009 5:28 AM

    Hi Pankaj,
    While you are creating Webservice from Java file, select the Aunthenticationtype as SimpleSOAP instead of Basic SOAP (Bydefault BasicSOAP is selected, Change it to SimpleSOAP).
    There are some steps after you create a Webservice.
    First Download WSDL on your Local Machine from WAS.
    After that when you open the zip file you get 3 WSDL's.
    There we need to combine the 3 wsdl's and make it into one wsdl after you do this process.
    Incorporate the WSDL in your interactive form and drag and drop the button onto the form.
    Please don't try to edit any of the method because it will not work if you try to change any feature.
    If you want to write Javascript for that method write it in "enter" method, script type:Javascript.
    If you have any queries you can ping.
    (The below link helps for you i guess)
    [Interactive Forms and Web Service Integration|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/148ec26e-0c01-0010-e488-decaafae3b26]

  • Creating Web service for PL/SQL Procedure with Complex Data Types

    I need to created web service for PL/SQL Procedure with Complex Data types like table of records as parameters, how do we map the pl/sql table type parameters with web service, how to go about these?

    Hello,
    When you are creating a service from a Stored Procedure, the OracleAS WS tools will create necessary Java and PL wrapper code to handle the complex types (table of record) properly and make them compatible with XML format for SOAP messages.
    So what you should do is to use JDeveloper or WSA command line, to create a service from your store procedure and you will see that most of the work will be done for you.
    You can find more information in the:
    - Developing Web Services that Expose Database Resources
    chapter of the Web Service Developer's guide.
    Regards
    Tugdual Grall

  • Configuring Web Services for Oracle XML DB

    Hi all...
    I think I need some help one this subject....
    We have a 10G Release 2 Oracle single instance ( not RAC) install on a Linux Redhat v5.3 64 bit server. Are developers are user Visual Studio .Net and wnat to send xml files to a web service so that the xml file (containing data) can call a PL/SQL package (to be written) which will take the data out of the xml input file and insert rows into a prefined table within the instance. Now they have browsed the web and have come upon the following links...
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28369/xdb_web_services.htm
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28369/xdb22pro.htm#i1026724
    Currently, within the database I looked at the schema XDB and have unlocked the account and connected as the user XDB. There are some 680 objects in the following groups...
    SQL> select object_type, count(*) from dba_objects where owner='XDB' group by object_type;
    OBJECT_TYPE COUNT(*)
    SEQUENCE 2
    PROCEDURE 5
    OPERATOR 8
    LOB 334
    LIBRARY 12
    PACKAGE 20
    PACKAGE BODY 17
    XML SCHEMA 25
    TYPE BODY 5
    TRIGGER 12
    TABLE 36
    INDEX 51
    FUNCTION 5
    INDEXTYPE 2
    VIEW 2
    TYPE 144
    16 rows selected.
    Now in the links above it mentions that the xdbconfig.xml needs to be altered etc. However, I have searched the entire $ORACLE_HOME and there is no file definition of that description.
    From a DBA prospective...what do I have to install on the Linux server? I assume from the Oracle Database 10g Companion Products I need to lay down Oracle HTTP Server in a new Oracle home as the first step...or not? Does the HTML DB need to be installed as well?
    And for Configuring Web Services for Oracle XML DB...what else has to be installed? And from what product line?
    Thanks in Advance....
    Cheers
    Roegr

    Hi Marco...
    First of all ...thanks for the reply.
    I followed the link and the infor in that web page. However, there were a few things that did not work....
    1. The http://localhost:8080/ as is brought up a web page withe the heading as
    ==========
    ORACLE DATABASE 10g EXPRESS EDITION LICENSE AGREEMENT..
    ==========
    The other browser test ftp://localhost:2100/
    did not find any page?
    2. Then I went onto running (as the sysdba) the pl/sql to enable the ORAWSV Entry Service
    however it error out. So I did a describe on DBMS_XDB and the function deleteServlet does not appear
    then I had a look and this link to > http://www.liberidu.com/blog/?p=471
    was for 11G and the other link > http://docs.oracle.com/cd/B28359_01/appdev.111/b28369.pdf
    was for 11G.
    However, we are on 10G
    =================
    SQL> select * from V$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for Linux: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    ==================
    So is there must be other sql for 10G?
    Cheers
    Rog

  • Part II: Adobe Print Forms with Web Dynpro for ABAP. -Practice issue

    Hi,
    I am practicing Thomas jung Tutorial on Adobe forms [Part II: Adobe Print Forms with Web Dynpro for ABAP|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/a3e2f018-0b01-0010-c7a8-89deb6e63e97].
    I am trying to complete this and looks like this tutorial in not complete.Anybody can help me in completing this until we get a preview of adobe form?
    FYI.. Ic ompleted evevrything in tutorial and I am waiting to complete and test.
    Rgds
    Vara

    Thomas,
    Here is where I am stuck.
    Wrote this code in ONACTIONSEARCH.I am getting my entries in internal table ISFLIGHT.
    but unable to bind it to adobe form and show in the form.
    *  SELECT statement
        clear isflight. refresh isflight.
        select * into corresponding fields of table isflight from sflight
        where carrid =  ls_data_selections.
    * navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
      lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    * navigate from <ADOBE_DATA> to <SFLIGHT> via lead selection
      lo_nd_sflight = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_sflight ).
      lo_nd_sflight->bind_table( new_items = isflight set_initial_elements = abap_true ).
    Error is Access via 'NULL' object reference not possible.
    FYI.. I just dragged and dropped 2 elements from DATA to Adobe form.what are the other changes do i need to do in form gui elements so that it shows the internal table contents?
    this would really help me..
    Rgds
    vara
    Edited by: Vara K on Jan 21, 2009 5:51 PM

  • Customizing Web Service for VC 7.10

    Hi guys!
    I need a big help for the topic "web services and VC".
    I read the Scott's blog (The specified item was not found.) and it's great, web services working fine!
    But if I would create custom web service (for example to insert google maps on vc model) what can I do?
    I know, it's hard to explane all the web services technology and implementation (Java, C#, XML etc.) but if someone know some tutorial or web guides..
    Thanks a lot guys!
    Edited by: Andrea Davoli on Oct 21, 2008 3:39 PM

    Hi Andrea,
    I assume that you refer to VC 7.0... otherwise the question should be moved to the VC 7.1 forum...
    The following blog contain also a video that show you the process in detail:
    How to consume Web Services with Visual Composer 7.0
    Also important SAP Notes regarding limitations, structure and pre-requisites are mentioned there.
    In the SAP Help Portal you can find information about Web Services created within NetWeaver:
    http://help.sap.com/saphelp_erp2005/helpdata/en/db/99c04ba22fe64f96a8651df68eab92/content.htm
    Hope this helps,
    Best Regards,
    Luis

  • Web ICons in Drop down values.

    Hi,
    I would like to add Web icons as drop down values. like have the three LED's in the
    dropdown along with textx say - Successs, failure etc (an eg:).
    or can i have the back ground color or the text color differ for each of the drop down values..
    Any suggestions/ innovative ideas are appreciated :).
    Thanks in Advance,
    Anto.

    Hi ,
    U can use  ToolbarButtonChoice Control instead of dropdown  , in that u can add the menuaction items , for every menuaction item u can five the image source and text ,
    first create a group than add toolbar in it than this control.
    Hope this will solve ur problem.
    Regards
    Yashpal
    Message was edited by:
            Yashpal Gupta

  • Conditional validation for drop down list

    Hi all,
    I have been working on getting the conditional validation for drop down list to work but no luck. Here is my situation. I have a page with 'time' and 'source' drop down which contains a list of values along with null value. I have two buttons 'save' and 'close'. when a User clicks on 'Save' button, no checking should occur and the values filled in the form should be stored into the database. When a user clicks on 'Close' button, validation should occur and messages should be displayed saying 'values should be filled' . After the user fills each drop down list and hits close button, changes should be saved to the database. I used the technique posted by Jayashri and wrote the validation code in 'Close button action method'
    Here is my code
    public String btnClose_action() {
    // TODO: Replace with your code
    try {
    if (ddlTime.getSelected() == null || ddlTime.getSelected().equals("")) {
    FacesMessage message3 = new FacesMessage("Please select a value");
    message3.setSeverity(FacesMessage.SEVERITY_ERROR);
    getFacesContext().addMessage(ddlTime.getClientId(getFacesContext()), message3);
    return null;
    if (ddlSourceReq.getSelected() == null || ddlSourceReq.getSelected().equals("")) {
    FacesMessage message4 = new FacesMessage("Please select a value");
    message4.setSeverity(FacesMessage.SEVERITY_ERROR);
    getFacesContext().addMessage(ddlSourceReq.getClientId(getFacesContext()), message4);
    return null;
    sendMail("close");
    } catch (Exception ex) {
    return null;
    public String btnSave_action() {
    // TODO: Process the button click action. Return value is a navigation
    // case name where null will return to the same page.
    sendMail("save");
    return null;
    I did not set the 'required' property of both the drop downs and I dont have any message components in the page. How do I get this to work. Please help.
    Thanks,
    S

    Hi,
    Try this
    HTP.p('
    function validate_form_fields()
    var validation = true;
    if (document.forms[0].fld_1.options[document.forms[0].fld_1.selectedIndex] == null )
    validation = false;
    alert("Selection of FLD1 is mandatory.");
    if (document.forms[0].fld_2.options[document.forms[0].fld_2.selectedIndex] == null )
    validation = false;
    alert("Selection of FLD 2 is mandatory.");
    return validation;
    ');If the above does not work, it could be the definition of the your fld_1 select - options. Looks like they allow null values, and if null is not the first option then selectIndex = 0 will be a not null option by default.
    Moreover, the below has redundant condition as ==0 and &lt; 1 amount to the same thing. selectIndex cannot be negative.
    if ((document.forms[0].fld_1.selectedIndex == 0 ) || (document.forms[0].fld_1.selectedIndex < 1 ))Regards,

  • Can't enable web services for groups (wiki) in WGM

    I'm having trouble creating a wiki on my server. More specifically, in WGM, I cannot enable web services for a group. The pull-down menu is accessible, but the only option is "(None)."
    I have users and groups set up in OD (they are not local).
    I have a working default web page.
    I have web services enabled in Server Admin.
    I can create and access user blogs.
    My user and group folders are on a raid drive instead of the main drive - I'm wondering at this point if there's a problem with a folder name or permissions. WGM just doesn't seem to recognize that there's a site on my server.

    OK - wikid is failing to start.
    2/5/09 1:36:17 PM com.apple.wikid[37723] Removing stale pidfile /var/run/wikid.pid
    2/5/09 1:36:17 PM com.apple.launchd[1] (com.apple.wikid[37723]) Exited with exit code: 1
    2/5/09 1:36:17 PM com.apple.launchd[1] (com.apple.wikid) Throttling respawn: Will start in 9 seconds
    From the wikid error log:
    2009-02-05 13:36:17-0600 [-] Log opened.
    2009-02-05 13:36:17-0600 [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.1) starting up
    2009-02-05 13:36:17-0600 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
    2009-02-05 13:36:17-0600 [-] twisted.web.server.Site starting on 8086
    2009-02-05 13:36:17-0600 [-] Starting factory <twisted.web.server.Site instance at 0x2eb19e0>
    2009-02-05 13:36:17-0600 [-] twisted.web2.channel.http.HTTPFactory starting on 8087
    2009-02-05 13:36:17-0600 [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x2eb1648>
    2009-02-05 13:36:17-0600 [-] set uid/gid 94/94
    2009-02-05 13:36:17-0600 [-] Traceback (most recent call last):
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/bin/twistd", line 21, in <module>
    2009-02-05 13:36:17-0600 [-] run()
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 27, in run
    2009-02-05 13:36:17-0600 [-] app.run(runApp, ServerOptions)
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 379, in run
    2009-02-05 13:36:17-0600 [-] runApp(config)
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 23, in runApp
    2009-02-05 13:36:17-0600 [-] _SomeApplicationRunner(config).run()
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 158, in run
    2009-02-05 13:36:17-0600 [-] self.postApplication()
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistdunix.py", line 213, in postApplication
    2009-02-05 13:36:17-0600 [-] startApplication(self.config, self.application)
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistdunix.py", line 183, in startApplication
    2009-02-05 13:36:17-0600 [-] app.startApplication(application, not config['no_save'])
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 400, in startApplication
    2009-02-05 13:36:17-0600 [-] service.IService(application).startService()
    2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/application/service.py", line 233, in startService
    2009-02-05 13:36:17-0600 [-] service.startService()
    2009-02-05 13:36:17-0600 [-] File "/usr/share/wikid/lib/python/apple_utilities/service.py", line 62, in startService
    2009-02-05 13:36:17-0600 [-] SettingsManager.globalSettings.rebuildIndex())
    2009-02-05 13:36:17-0600 [-] File "/usr/share/wikid/lib/python/apple_utilities/SearchManager.py", line 424, in buildAllIndexes
    2009-02-05 13:36:17-0600 [-] buildSearchIndex(aPath, doRebuild)
    2009-02-05 13:36:17-0600 [-] File "/usr/share/wikid/lib/python/apple_utilities/SearchManager.py", line 406, in buildSearchIndex
    2009-02-05 13:36:17-0600 [-] GroupSqliteIndex.buildSearchIndex(whichPath, forceRebuild)
    2009-02-05 13:36:17-0600 [-] File "/usr/share/wikid/lib/python/apple_utilities/GroupSqliteIndex.py", line 551, in buildSearchIndex
    2009-02-05 13:36:17-0600 [-] con = sqlite.connect(indexDBPath, isolation_level=None)
    2009-02-05 13:36:17-0600 [-] sqlite3.OperationalError: unable to open database file
    I would like to fix this without reinstalling. If there's a way to restore this specific database file or any part of the wiki, I would prefer to do that. Does anyone have an idea what files I should check/restore?

  • Form using Web Service,

    Hi all,
    i wanted to develop a Form
    Form on Web Service
    eg: Home>Application Builder>Application 137>Page 1>Create Page>Form on Web Service
    Any Examples for this type of Criteria
    many thanks
    - Khaja
    Edited by: ahuja on Jan 26, 2009 9:25 AM

    Thanks Andy for your Reply,
    I am not getting an Error by providin the WSDL Location as given in the Example
    http://www.ignyte.com/webservices/ignyte.whatsshowing.webservice/moviefunctions.asmx?wsdl
    on Clicking Next i am getting the Below Error
    1 error has occurred
    The WSDL document was unretrievable because either the URL you supplied was invalid, your environment requires a valid proxy server address for HTTP requests and you have not defined one for this application, or a wallet needs to be configured for this instance of Application Express for HTTPS requests.
    Can u pls Help in this,
    thanks again
    - Khaja

  • How to create web service for a Java class in SAP NetWeaver Studio

    hi all,
    i am using SAP Netweaver Developer Studio.have created a normal java project and i want to create web service for one of the classes in this project. i used the  Web Service Creation Wizard to create a web service for this class. but it says there's no methods available for VI. all my methods in this class are public, what should i do?

    Hi,
    I guess there are other ways. But this is an easy way, if you find the right wizards.
    Besides this it is good practise to define interface methods so that session bean implement these interface methods, and thus seperate the interface from the implementation.
    In this approach you will need 3 projects:
    An enterprise application project (will contain EJB Module)
    An EJB Module project (will contain session bean)
    A Java project (contains code that implements the session bean methods)
    In my previous post I suggested to use a J2EE web mudule project. This was a mistake, it should be EJB module.
    But it should be possible to do it in another way. It is up to you.
    Good luck, Roelof

  • Test web service for a function module

    Hello,
    I have created web service for a functiona module. I can see the same service in SE80 in Enterprise Services.
    How do I test this service?
    I can see the URL in WSDL tab but when I try to execute it give me following error,
    What has happened?
    URL http://emhbssap15.domain.local:8027/sap/bc/srt/wsdl/sdef_service_name/wsdl11/ws_policy/document call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system BDV with error code 403 and for the reason Forbidden.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:EMHBSSAP15_BDV_27-v:0-s:403-r:Forbidden
    HTTP 403 - Forbidden
    Your SAP Internet Communication Framework Team
    The URL I am trying is
    http://emhbssap15.domainname:8027/sap/bc/srt/wsdl/sdef_servicename/wsdl11/ws_policy/document?sap-client=400
    Can anyone help me?
    Regards,,,
    Sunil Joyous
    Edited by: Sunil Joyous on Dec 2, 2009 1:52 PM

    Thanks Venu for your input.
    Unfortunetly we do not have Java stack on our development system. You said we can test it by SOAP UI tool. Where do I see the WSDL file for the service?
    I used WSDL from SE80 --> Service --> WSDL tab, but SOAP UI does not accept this format ?
    What are the other ways I can test this web service? I think about SAP PI, importing RFC & creating web service or creating ABAP proxies... Which is the best way to go forward in case you do not have Java stck.
    Regards,,,
    Sunil Joyous

Maybe you are looking for

  • ALV Report Output Checkbox

    Hi, I'm developing an ALV Report. The output of the report contains a checkbox for each row. There are 2 buttons in the Application bar namely 'Select-ALL' and 'DeSelect-ALL'. The requirement is when I click either of the button it should select or d

  • Very strange text on screen - Server 10.2.8

    One place I work has a Mac network based around a G4 1.25 Ghz server running 10.2.8 Server and some Mk II iMacs running normal 10.2.8. Yesterday when I came in the server was showing a black screen with the following text scrolling down the screen in

  • Mp3 **to** wma (Yes, strange request)

    Does anyone know of a free ware tool that would convert an mp3 file into wma format? I'm about to get a new Verizion phone that plays music, but only wma's. Believe me, I'm not happy about this, but it seems that Verizion is not going to play friendl

  • Report Viewer refresh event causing window event problems

    I have a winform with a report viewer control and a couple of grids.  When a cell in one of the grids is edited the report gets refreshed (when focus is lost from the cell) this refresh appears to empty the event stack for the whole window. For examp

  • Error 7 produced when saving to a spread sheet file using a compact rio

    Hi Im having a little difficultly saving to a spread sheet file using a compact rio. I bundled the data from a NI 9215 with a timer and stuck it into an x-y graph and that works fine as it goes round in shift registers. But then I passed the data out