How to show and hid the elments in WSDL using wscompile

Hi Folks,
I have web service interfce
public interface DataObjectProcess extends Remote
DataObject jobRequest(DataObject aDataObject) throws RemoteException, Exception;
my DataObject is like this
public class DataObject implements java.io.Serializable
pivate Integer commandKey;
private File outputFile;
public DataObject(){}
public void setCommandKey(Integer aKey)
commandKey = aKey;
public Integer getCommandKey()
return commandKey;
public void setOutputFile(File aFile)
outputFile = aFile;
public File getOutputFile()
return outputFile;
I use wscompile to generate WSDL file, but it can not show outputFile element in WSDL? How can I do that.
For commandKey element. if I don't want to show this element in WSDL. How to do it? Thank you very much.
Edgy

Hi Folks,
I have web service interfce
public interface DataObjectProcess extends Remote
DataObject jobRequest(DataObject aDataObject) throws RemoteException, Exception;
my DataObject is like this
public class DataObject implements java.io.Serializable
pivate Integer commandKey;
private File outputFile;
public DataObject(){}
public void setCommandKey(Integer aKey)
commandKey = aKey;
public Integer getCommandKey()
return commandKey;
public void setOutputFile(File aFile)
outputFile = aFile;
public File getOutputFile()
return outputFile;
I use wscompile to generate WSDL file, but it can not show outputFile element in WSDL? How can I do that.
For commandKey element. if I don't want to show this element in WSDL. How to do it? Thank you very much.
Edgy

Similar Messages

  • How to disable and hide the menu items of 'copy From' button of Goods Recei

    hi expert,
    I am new in SAP B1. so please help me.
    Q:How to disable and hide the menu items of 'copy From' button of Goods Receipt PO form?
    Regards
    sanoj

    Hi Sanoj,
    Try This.....
    If pVal.FormType = "143" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_ACTIVATE And pVal.BeforeAction = False Then
                oform = sbo_application.Forms.GetFormByTypeAndCount(pVal.FormType, "1")
                Dim oitem As SAPbouiCOM.Item
                oitem = oform.Items.Item("10000330")
                'To Disable the button
                oitem.Enabled = False
                'To hide the button
                'oitem.Visible = False
            End If
    Thanks
    Shafi
    Edited by: shafi_sunshine on Sep 15, 2011 7:35 AM

  • How to show and hide plots which are stacked and plotted on the one graph?

    I am currently designing a Logic Analyser with 8 channels. These are plotted on a graph, stacked on top of each other. The user is able to select which plots he/she wishes to examine (i.e 1,4,6). I need to figure out how to hide the plots not required and show the plots needed.

    Hi,
    Did u say stacked?? then you must be using a chart not a graph
    Nevertheless, as Unclebump has suggested, here is a Vi to give you an idea on how to use active plot and visible property nodes
    Build on it to hide/show plots
    Regards
    Dev
    Message Edited by devchander on 01-24-2006 06:09 AM
    Attachments:
    plot.vi ‏176 KB

  • HELP!How to show # and * in the textfield

    I am trying to show a # and * in the textfield in this telephone keypad interface. What's wrong with my coding? How can I show # and *? Whenever I press # and * on the keypad I get a Null or Infinity statement, when I just want # and * to show up instead. I had converted a calculator applet into a telephone applet to make into an keypad interface.
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    public class TelephoneApplet extends Applet implements ActionListener
    private Button keysArray[];
    private Panel keyPad;
    private TextField lcdField;
    private double result;
    private boolean first;
    private boolean foundKey;
    static boolean clearText;
    private int prevOperator;
    public void init()
    lcdField = new TextField(20);
    keyPad = new Panel();
    keysArray = new Button[12];
    first = true;
    result = 0.0;
    clearText = true;
    prevOperator = 0;
    setBackground(Color.magenta);
    lcdField.setEditable(false);
    for ( int i=0; i<=9; i++ )
    keysArray[ i ] = new Button(String.valueOf(i));
    keysArray[10] = new Button( "*" );
    keysArray[11] = new Button( "#" );
    // set keyPad layout to grid layout
    keyPad.setLayout(new GridLayout(4,3,10,10));
    for ( int i=1; i<=9; i++ ) //adds buttons 1-9 to Panel
    keyPad.add( keysArray[i] );
    /* for (int i = 4; i <= 6; i++) //adds buttons 4, 5, and 6 to Panel
    keyPad.add( keysArray[i] );
    for (int i = 7; i <= 9; i++) //adds buttons 7, 8, 9, and divide to Panel
    keyPad.add( keysArray[i] );
    keyPad.add( keysArray[10] ); //adds star button to Panel
    keyPad.add( keysArray[ 0 ] ); //adds 0 key to Panel
    keyPad.add( keysArray[11] ); //adds infinity button to Panel
    for (int i = 10; i >= 11; i--)
    keyPad.add( keysArray[i] ); //adds keys to Panel
    setLayout(new BorderLayout());
    add( lcdField, BorderLayout.NORTH );
    add( keyPad, BorderLayout.CENTER );
    for(int i = 0; i < keysArray.length; i++)
    keysArray.addActionListener(this);
    public void actionPerformed( ActionEvent e)
    foundKey = false;
    //Search for the key pressed
    for (int i = 0; i < 12 && !foundKey; i++)
    if(e.getSource() == keysArray[i]) //key match found
    foundKey=true;
    switch(i)
    case 0: case 1: case 2: case 3: case 4: //number buttons
    case 5: case 6: case 7: case 8: case 9:
              //0 - 9
    if(clearText)
    lcdField.setText("");
    clearText = false;
    lcdField.setText(lcdField.getText() + keysArray[i].getLabel());
    break;
    case 10:
    case 11:
    clearText = true;
    if (first) // first operand
    if(lcdField.getText().length()==0)
    result = 0.0;
    else
    result = Double.parseDouble(lcdField.getText());
    first = false;
    prevOperator = i;
    else //second operand already entered, so calculate total
    switch(prevOperator)
    case 10: //divide button
    result /= Double.parseDouble(lcdField.getText());
    break;
    case 11: //multiply button
    result *= Double.parseDouble(lcdField.getText());
    break;
    lcdField.setText(Double.toString(result));
    if(i==14) //equal button
    first = true;
    else
    prevOperator = i; //save last operator
    break;

    you need to change the following piece of code
    case 10:   // * pressed
    case 11:   // # pressed
    clearText = true;
    if (first) // first operand
    if(lcdField.getText().length()==0)
    result = 0.0;
    else
    result = Double.parseDouble(lcdField.getText());
    first = false;
    prevOperator = i;
    else //second operand already entered, so calculate total
    switch(prevOperator)
    case 10: //divide button
    result /= Double.parseDouble(lcdField.getText());
    break;
    case 11: //multiply button
    result *= Double.parseDouble(lcdField.getText());
    break;
    lcdField.setText(Double.toString(result));
    if(i==14) //equal button
    first = true;
    else
    prevOperator = i; //save last operator
    break;
    }its gets excuted when you press the * or # buuton

  • Wda How dynamic the show or hide the window

    Hello
    wda How dynamic the show and hide the window.
    thank you

    Hi Sarah,
    For any webdynpro queries , post it under Application server->Webdybnpro-ABAP OR JAVA forum.
    You can hide the entire group by binding a attribute to the visible property of the group.
    if lv_i_text is initial.
    * to set GROUP hidden
          lo_el_context->set_attribute(
            name =  `VIS_GRP`    " Attribute name in the context binded to visible property of the group.
            value =  'X' ).
    endif.
    I hope it solves your problem.
    Regards,
    Kiruba

  • Show and hide Lov icons and Date Picker image on conditional?

    How to show and hide Lov icons and Date Picker image on conditional?

    Why do you just want to make the icons conditional? Shouldn't the field also be conditional?
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Error in my show and hide button prg

    Hello Frnds,
    With this link tutorial iam doing now but error raised , and tried my best plz check the tutorial and solve my prb
    Method ONACTIONSHOW_HIDE
    *THIS IS CODE FOR SHOW AND HIDE THE INPUT FIED BUT GETTING ERROR IS
    **set_attribute_property doesnot exit similar ly get_attribute_property and set attribute is there like that getting error for this code
    . DATA lo_nd_radio_node1 TYPE REF TO if_wd_context_node.
    DATA lo_el_radio_node1 TYPE REF TO if_wd_context_element.
    DATA lw_index TYPE I.
    DATA lo_el_radio_node1_1 TYPE ref to if_wd_context_element.
    navigate from <CONTEXT> to <RADIO_NODE1> via lead selection
    lo_nd_radio_node1 = wd_context->get_child_node( name = wd_this->wdctx_radio_node1 ).* call method get lead selection index to get index
    CALL METHOD lo_nd_radio_node1->get_lead_selection_index
    receiving
    index = lw_index. lo_el_radio_node1_1 = wd_context->get_element( ). If lw_index = 1. * call method set attribute property and pass value as 'X' to show
    call method lo_el_radio_node1_1->set_attribute_property
    exporting
    attribute_name = 'FIRST_NAME_1'
    property = 1
    value = 'X'.
    call method set attribute property and pass value as 'X' to show
    call method lo_el_radio_node1_1->set_attribute_property
    exporting
    attribute_name = 'LAST_NAME_1'
    property = 1
    value = 'X'. Else. call method set attribute property and pass value as SPACE to HIDE*
    call method lo_el_radio_node1_1->set_attribute_property
    exporting
    attribute_name = 'FIRST_NAME_1'
    property = 1
    value = space.* call method set attribute property and pass value as SPACE to HIDE
    call method lo_el_radio_node1_1->set_attribute_property
    exporting
    attribute_name = 'LAST_NAME_1'
    property = 1
    value = space. Endif

    Hi Ananth,
    I tried the same code from that tutorial,its working fine.
    once again check the name of the nodes and the elements.
    you can try another way also to show and hide input fields.
    create one attibute of type WDY_BOOLEAN and bind this attribute to the visible property of the input fields.
    for example
    attibute name = 'visible ' : type = wdy_boolean :default value = X
    onaction of the radio button place the following code.it really works
      DATA lo_el_context TYPE REF TO if_wd_context_element.
      DATA ls_context TYPE wd_this->element_context.
      DATA lv_visible TYPE wd_this->element_context-visible.
      DATA lo_nd_radio_node1   TYPE REF TO if_wd_context_node.
      DATA lo_el_radio_node1   TYPE REF TO if_wd_context_element.
      DATA lw_index            TYPE i.
      DATA lo_el_radio_node1_1 TYPE REF TO if_wd_context_element.
      lo_nd_radio_node1 = wd_context->get_child_node( name = wd_this->wdctx_radio_node1 ).
      lo_el_context = wd_context->get_element( ).
      CALL METHOD lo_nd_radio_node1->get_lead_selection_index
        RECEIVING
          index = lw_index.
      lo_el_radio_node1_1 = wd_context->get_element(  ).
      IF lw_index = 1.
        lo_el_context->set_attribute(
      name =  `VISIBLE`
      value = 'X' ).
      ELSE.
        lo_el_context->set_attribute(
      name =  `VISIBLE`
      value = ' ' ).
      ENDIF.
    Thanks,
    krishna

  • When I watch slide show through my Apple TV version 6..2 the air play instruction box appears always on the screen and hides the photo. Is there any way to stop it.

    When I watch slide show through my Apple TV version 6..2 the air play instruction box appears always on the screen and hides the photo. Is there any way to stop it.

    Hi Sujatha vijay,
    It sounds as if your Apple TV is in Conference Room Display mode. You will need to turn this off. See this article -
    Apple TV (2nd and 3rd generation): Understanding AirPlay settings
    http://support.apple.com/kb/HT5517
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • HT204089 I have a samsung smart TV and record free to air TV shows on my TVO I would like to purchase from iTunes a TV series called outlander but do not know how to transfer and save the episodes on my TIVO I will be using my iPad to purchase and downloa

    I Have a  samsung smart TV  and use TVO to record  free to air programmes .
    i would like to purchase from iTunes using my iPad , a TV series called outlander but do not know how to transfer and save the episodes to my TIVO
    please help

    Many videos in the iTunes store are protected so that they can only be viewed on Apple Devices signed into your iTunes account.  If that is the case then your TiVo will not be able to read the files.  If you know how to get a video file onto your TiVo from a flash drive, then just plug a flash drive into your Mac and drag one of the videos from inside the iTunes window onto the icon for the flash drive on your Desktop or in the left sidebar of a Finder window.  That will copy the actual file onto the flash drive. 

  • How to show or Hide Generic Column in a regular report

    Hi All,
    I have created report based on "SQL query (pl/sql function body returning sql query). It returns columns based on some conditions. I have total 60 generic columns like (COL1,COL2....COL60) but it returns 18 or 20 columns based on my conditions, how can I hide the columns that I don't needed. My column heading is based on function return by ':' separated. My function returns number of columns also. Is there any we I can show only those columns which contains data. My report is exactly similar to the default "SQL query (pl/sql function body returning sql query). I didn't find any logic how they are doing this show and hide. I appreciate any ones help.
    Thanks,

    Hi there,
    Somehow you need to find out how many columns your dynamic select will return (by what you said it seems that your procedure returns this information). Then store that number in a hidden page item, say Pnn_COUNT.
    Then, for the 19th and 20th columns in the report add these conditions:
    Column 19: :Pnn_COUNT >= 19
    Column 20: :Pnn_COUNT >= 20
    I hope this helps.
    Luis

  • Iframes show and hide

    Hi All,
    I have the Requirement like :
    I have two iframes side by side in a page, and two buttons show and hide,
    once i click hide button second iframe should disappear and first one should be increase in size to fit whole window. and once i click show first and second should be 50/50 in the page
    for this i followed below steps
    1) created page.
    2) created two report region (No Template)
    3) In one region source i called iframe like
    TABLE>
    <TR>
    <td>
    <IFRAME SRC="http://Localhost:7777/pls/apex/f?p=&APP_ID.:&P104_INTERFACE.:&SESSION." WIDTH=&P104_WIDTH. HEIGHT=540 scrolling="auto" frameborder="1"></IFRAME>
    </td>
    </tr>
    </table>
    4) in second region
    TABLE>
    <TR>
    <td>
    <IFRAME SRC="www.google.com ; HEIGHT=540 scrolling="auto" frameborder="1"></IFRAME>
    </td>
    </tr>
    </table>
    6)conditionally showing the region with the help of SHOW and HIDE BUTTON
    7)and also on Show and hide button i am setting the value of P104_WIDTH . So the size will vary with conditional display?
    NOW MY QUESTION IS:
    once i click hide button THE CONTENTS(item VALUES) OF THE FIRST FRAME ARE REFRESHED, DUE THAT ALL ENTERED DATA WIL DISAPPEAR SO HOW TO AVOID IT , without refreshing the frist frame i need to set the P104_width value so it interm width will set in the iframe region??????
    Thanks & Regards
    Nagaraj B K

    I had another idea that I am pursuing. I am looking into extending the current renderer CommandNavigationRenderer and will render another goLink just after the current goLink that will execute a close action. I was able to re-direct the rendering by added an override render-kit block in my current faces-config.xml file.
    <render-kit>
    <renderer>
    <component-family>org.apache.myfaces.trinidad.Command</component-family>
    <renderer-type>oracle.adf.rich.NavigationItem</renderer-type>
    <renderer-class>com.riscs.ui.backing.jsp.components.ClosableCommandNavigationItemRenderer</renderer-class>
    </renderer>
    </render-kit>
    If this works I am planning on extending the commandNavigationItem by creating a ClosableCommandNavigation tag and add a "closeAction" tag that will determine if a close item should render.
    Preliminary work looks promising. I will update if I make progress...please let me know if I am crazy.
    Thanks.

  • How to start and stop the BI Services in Solaris 10

    Hello All,
    Can anyone guide me on how to start and stop the BI Services in Solaris 10. In windows there are options set in Start->Programs->Middleware_Home->Start/Stop BI Services.
    Primarily after doing changes to the scheduler configuration, I need to restart the services to get it implemented? If yes how can I do it?
    Any help will be appreciated
    Thank you
    Ash
    Edited by: 902739 on Jan 11, 2012 12:17 PM

    Please help me by showing action plan for stop sap , offline backup and then start sap.
    i am little bit confuse How to start and stop SAP on cluster for offline backup
    Below are the systems name with host name , please explain me in sequence
    Systems name                                   Hostname
    # Hope SAP ERP Prod DB Primary       gsgbbux860
    # Hope SAP ERP Prod DB Standby      gsgbbux861
    # Hope SAP ERP Prod Cluster              gsgbbux862
    # Hope SAP ERP App 1                       gsgbbux864
    # Hope SAP ERP App 2                       gsgbbux865
    Thanks in advance
    Zaheer

  • How to install and start the adapter(FILE)

    hi,
    when i checked in RWB for the  adapters which are INSTALLED and STARTED adapters it's displaying all adapters except FILE adapter .
      I need to known whether this adpater is installed or installed and started ,if the case then how to install and start the adapter

    Hi Nandan,
    if above is the case as i mentioned in previous response then,
    You need to download the latest SAP BASIS 6.40 or 7.0 ".tpz file" (as per you service pack) from service.sap.com. Then you need to put this in the import directory:
    <b>\usr\sap\<your system-id>\SYS\global\xi\repository_server\import\importedFiles</b>
    Now go to
    <b>IR>Tools>Import design Objects, you will find the .tpz file which you down loaded. Import this and refresh your cache.</b>
    P.S This is the exact path in market placehttps://websmp205.sap-ag.de/~form/handler?_APP=00200682500000001943&_EVENT=SEARCH&HIDE=&SEARCH_SPAT=X&SEARCH_BPAT=X&SEARCH_CD=X&SEARCH_P=X&SEARCH_PV=X&SEARCH_C=X&SEARCH_CV=X&SEARCH_TA=&SEARCH_V=&HIDE_EXPERT_SEARCH=X&SEARCH_MAX_RESULT=20
    Regards,
    Sarvesh

  • How to copy and paste the text in Russian - 'command+c' erases it

    How to copy and paste the text in Russian - 'command+c' erases it

    I want to publish a book with Blurb. They don't have Russian fonts, so I have to type the text in Russian in Notes in my iPad, send it to my e-mail box, and then open the e-mail box in Mac, and copy and paste the text into the book template of Blurbs. I don't know how to make a Russian keyboard in Mac to be able to type quickly. I asked about it  in the Apple store, and they showed me how to find a Russian keyboard in the net, but it takes much time to type using a screen keyboard, and the texts also cannot be copied and pasted, when they are in Russian. They are erased when I press 'command+C", and all I have is a single letter 'c' instead. No problems with texts in English. Maybe Russian is not supported for copying and pasting?:(

  • How to install and verify the license file on ASA 5512-x

    Hi Friends,
    How to install and verify the license file on ASA 5512-x Firewall. I have lincese pak for CX and web security essential.
    What need to be done? can i install this lic file on firewall or need to be install on CX server.  Because i dont have the CX server right now.
    Please share me document for installation of this license.
    thx
    Ashish Kumar

    Hi,
    one possible solution is to use an intermediate array. The intermediate array should be used in the user interface. When new data is entered the VI should read each element and then compare to the elements in the stored array. If all elements are different then update the array, otherwise display a fault message.
    You could use asequence activated when the Enter button is pressed. In the first frame you would compare the First array with the stored array. it is probably best to use a Boolean indicator to show if the data is valid Make sure you declare this as a local variable.
    With the sequence you can perform the comparisons in several seperate frames or in one frame with a OR to link the results. For large numbers of comparisons I prefer to use m
    ultiple frames because otherwise the screen becomes a maze of wires and other programmers who may need to maintain the code in the future will find it hard to follow a single frame.
    Once all the data items have been compared then the following sequence should contain a CASE statement of type True/False. Link a readable copy of your local variable to the selector of this statement. Then in the FALSE case (Assuming you have linked the boolean to be false when no data is duplicated) copy the new array to the stored array. In the TRUE case bring up an error message.
    So long as your arrays are not too large and you do not use this technique in too many places in your code the processor overhead should not be badly affected. For frequent use of such a caomparison in several VIs you may want to create a dedicated subVI for the task. For very large arrays you should seek a different solution.
    Hope that helps a bit.
    Good luck,
    Shaf

Maybe you are looking for

  • Horizontal Icon Spacing

    This is for my mini on 10.4.11. I would like to be able to control the horizontal positioning of the icons on my desktop when they snap to grid. There is a lot of horizontal space between them. I cannot find some sort of slider bar or pixel number to

  • Recommended way to implement external resources

    Hi , We have some static data that we need to update once a day. The data is coming from another Oracle DB. I understand there are two options to implement this: 1) To define this when defining a data object. Oracle BAM is responsible for keeping thi

  • How to edit Summary of Contents?

    I would like to edit the Summary of Contents of files I review.  The comments are mostly Sticky Notes and Highlights.  I want an end result that has just the page number, bookmark and note with all of them on one page, rather than separate pages. Is

  • Direct procurement always as extended classic -- why ?

    Hi , As per SAP's specification , ' SRM Server is the leading server for direct procurement. This means the system behaves according to extended classic scenario' . Is there any specific reason on why the scenario would always be extended classic for

  • Multiple Clone in After Effects

    Hi, My name is Kim, I'm a beginner in After Effects and I have 1 question. Is it possible to create 1000 clones in After Effects ? It sounds crazy but I don't know ... =D Thanks a lot.