How to edit the WSDL

I noticed a few limitations of an automatically generated web service
under WLS 7.0, and I am wondering if there is a way to manually edit
files to overcome these limitations:
- the parameter names have no meaningful names, such as string0,
string1, etc. This needs to be changed to at least use the names given
to the parameters in the EJB. I remember putting in a CR a while back,
but this has not been implemented yet.
- The documentation field says 'todo'. It would be nice to be able to
add some explanatory text there.
I looked for the WSDL file in the web-services.war file but could not
find it. Any pointers as to whether/how this stuff can be edited?
Thanks,
Joop Kaashoek

Indeed, you can do this. But if you have non-built in data types as paramaters
it gets pretty tricky.
manoj cheenath wrote:
You can change the parameter/operation name in the generated
WSDL file by editing the web-services.xml file in the web-inf dir
(inside the war file). This file is generated by servicegen, but can
replaced before deploying the service.
regards,
-manoj
"Joop Kaashoek" <[email protected]> wrote in message
news:[email protected]...
Hi Mike,
Thanks very much for your help, I have sent a request to '[email protected]'.
Regards,
Joop
Michael Wooten wrote:
Hi Joop,
I see. No, I don't work in "development" or have any knowledge of what
features are
going to be in the product. I work in the "services" (i.e. professionalservices)
division, which is primarily tasked with figuring out (and showingothers) how the
stuff works :-)
Individuals from "development" (i.e. product managers, developers,architects, etc.)
do monitor this newsgroup, so I think you should create another postthat has a subject
like "Need static or JSP-based WSDL added back to .war". The subject forthis current
post, sounded like you wanted to know how to edit the WSDL (which Ithink I answered
to your satisfaction), but it sounds like you really just want acapability that
was in WLS 6.1, back in WLS 7.0 :-)
I'm assuming that you already know that you can extract the "static"WSDL from the
client.jar and put it anywhere in the .war, you like. The context rootwill be the
name of the .war file, without the file extension. For instance, if your.war file
is hello.war, the context root will be hello. If you then put the"static" WSDL (which
you extracted from the client.jar), into the root directory for for thisWeb Application,
the URL to it would be something like:
http://localhost:7001/hello/HelloService.wsdl
Regards,
Mike Wooten
Joop Kaashoek <[email protected]> wrote:
Your explanation makes sense, but the implementation does not make
sense
to me. This should
clearly be on the list of things to fix. Our partners use .NET or other
technologies, we
want to be able to publish a meaningful self-documented WSDL document(with
meaningful
parameter names and documentation) on our server, not as part of aweblogic-specific
Java
client jar.
Can you indicate whether this is being worked on?
Regards,
Joop
Michael Wooten wrote:
Hi Joop,
The assumption here, is that the client will download your client.jar(or whatever
you named it in your <clientgen> Ant task), and use a file:// URL to
access
it (the
"persisted" WSDL file) from within this archive :-)
If you use the Web Services Technology Stack from BEA
(lib\webserviceclient.jar)
on the client-side, editing this file affects the construction of theSOAP message
that is sent to the Web service, which I'm assuming is hosted on an
instance
of WLS
7.0. The names for the input parameters (and return value), will be
set
to those
that you specified in this WSDL, which is one of the things you said
you
wanted to
be able to do.
If you don't use the Web Services Technology Stack from BEA on the
client-side,
there
is still a very high probability that the WSDL processor of the tool
you
use, will
use this WSDL to create the SOAP message sent to your web service,
which
again is
assumed to be hosted on an instance of WLS 7.0.
If you use the "dynamically generated" WSDL (as opposed to the one inthe client.jar),
you will get the "generic" parameter names specified in it. The
"dynamically
generated"
WSDL is accessed by concatenating "?WSDL" to the location attribute,
of
your <service>
element.
Make sense?
Regards,
Mike Wooten
Joop Kaashoek <[email protected]> wrote:
Mike,
How can editing this client file make any difference to the web
service
itself?
Joop
Michael Wooten wrote:
Hi Joop,
The "persisted" WSDL file is in the .jar file, for the client ;-)
The name of this .jar file is set using either of the following:
1. The clientJarName attribute, of the <client> sub-element for
your
<servicegen>
task, or
2. The clientJar attribute, of the <clientgen> task.
The path leading to the .wsdl file, is determined by the value youassign
to the
packageName attribute (in either of the above tasks).
Regards,
Mike Wooten
Joop Kaashoek <[email protected]> wrote:
I noticed a few limitations of an automatically generated web
service
under WLS 7.0, and I am wondering if there is a way to manuallyedit
files to overcome these limitations:
- the parameter names have no meaningful names, such as string0,
string1, etc. This needs to be changed to at least use the namesgiven
to the parameters in the EJB. I remember putting in a CR a whileback,
but this has not been implemented yet.
- The documentation field says 'todo'. It would be nice to beable
to
add some explanatory text there.
I looked for the WSDL file in the web-services.war file but couldnot
find it. Any pointers as to whether/how this stuff can be edited?
Thanks,
Joop Kaashoek

Similar Messages

  • How to edit the binding wsdl link in SR

    Hello,
    I have created a WS which uses my server name : and port, further service name and ?wsdl.
    well actually my server full name is ???.??.de and I am using my server from laptop. If I use SR from other computer and try to see the wsdl file there by clicking wsdl link. It does not find the server and searches with out ends. I then removed the .domain.de from teh wsdl link. It has find the service. Now I need to permanently removed the domain.de from wsdl.
    To do so, I have also tried to rename the server without using domain.de and publish the service again. But the server full name is still with domain and .de
    Does any one of you have the idea how to edit the wsdl link??
    Regards,
    Naeem

    Hallo Naeem,
    I want to know where did you develop your WS?
    Kind Regards
    Abdel

  • How to delete the WSDL folder in DS (t-code : WSADMIN)?

    Hi,
    Can anyone advise how to delete the WSDL files and folder in DS client 200, t-code : WSADMIN?
    We mainly use this Discovery system for our users to practice and now seem there are a lot WSDL files and folders which are not used anymore, then we like to delete some unused folders.  
    Please kindly advise.
    Thanks you very much.
    Urisa

    Please use tCode WSCONFIG and delete the variants that you do not want.

  • How to edit the records in error stock.

    Hi Experts,
                 i have error records in error stack and the remaining records are loaded successfuly . here my doubt is how to edit the records in error stack because its not giving the edit option .
    i want to get the edit option means i need to delete the request in target r wt ?
    and there are two more targets is there below this process .
    Advance Thanks.
    Regards
    SAP

    HI
    If you have less number records in this request(which you extracted now), delete that request from all the targets and reload again with option Valid records update, reporting not possible.
    this is the option which is recommended.
    follow the below 2 docs as well.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80dd67b9-caa0-2e10-bc95-c644cd119f46?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/007f1167-3e64-2e10-a798-e1ea456ef21b?QuickLink=index&overridelayout=true
    Regards,
    Venkatesh
    Edited by: Venkateswarlu Nandimandalam on Jan 24, 2012 4:35 PM

  • How to edit the node value of a tree in webdynpro java

    Hi ALL
    I have Tree UI element where i got displayed all the nodes by calling the BAPI
    Now my requirement is when i put the cursor at any node in the Tree struture then on click of insert button i need to insert the new node with the text  , the user has to be option to give new text for the new node dynamically  , so while adding the new node in a tree the tree has to choose the text for new node , like how to edit the node of a tree to add new text.
    If any one can send the sample code on the same then it would be great help to me.
    Similar requirement like in table UI Like however we are adding the new row in a table when we click on the insert button then cursor will go to that new row in a table where user can enter his details in the table.. now i am looking for the same requirement in a Tree UI element.
    is it possible the same requirement in tree UI element in webdynpro for Java??
    Thanks
    kallki reddy

    Hi kallki reddy
    In general I think this is not possible in the form you'd like. It seems the Tree control is read-only thing always. It cannot provide editing capabilities.
    Table is different thing. You can select within many different cell editors including Input Fields.
    I guess that you scenario could be implemented not with Tree control, but with Table with Master Column. The master column allows to bring up a hierarchy into a plain table. So it's just a tree inside a table.
    Here you can find further details: [TreeByNestingTableColumn API|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/92/12a74046033913e10000000a155106/content.htm]
    BR, Siarhei

  • How to edit the existing data in the XML file from java programming.

    Hi all
    i am able to create XML file with the sample data as below from java programming.
    i need sample code on how to edit the existing data in the XML file?
    for example
    <?xml version="1.0"?>
       <mydata>
               <data1>
                         <key1>467</key1>
                        <name1>Paul</name1>
                        <id1>123</id1>
              </data1>
              <data2>
                         <key2>467</key2>
                        <name2>Paul</name2>
                        <id2>123</id2>
              </data2>
        </mydata>
    i am able to insert the data in the XML.
    now i need sample code on how to modify the data in the above XML file from the java programming for only key2,name2,id2 tags only. the remaining tags data in the XML file i want to keep same data except for key2,name2,id2 which are i want to modify from java code
    Regards
    Sunil
    [points will be always rewardable]

    hi
    u need a parser or validate the xml file for to read the xml file from java coding u need for this
    xml4j.jar u can download this file  from here
    http://www.alphaworks.ibm.com/tech/xml4j
    or we can use the SAX(simple API for XML)
    some sample applications for this
    http://www.java-tips.org/java-se-tips/javax.xml.parsers/how-to-read-xml-file-in-java.html
    http://www.developertutorials.com/tutorials/java/read-xml-file-in-java-050611/page1.html
    http://www.xml-training-guide.com/e-xml44.html
    let me know u need any other info
    bvr

  • How to edit the find-and-replace dialog in Dreamweaver 8

    For over 13 years I have been a happy user of Macromedia Dreamweaver 8. And I still see no reason to use any other program for editting PHP.
    However, 1 thing has been bugging me for years. In the find-and-replace dialog there is a select "Find in". The options are in a dropdown.
    I want this select to be a multiselector (not in functionality, but just so I don't need to click to get the dropdown, but just one click to select).
    I read in the help at 'Customizing the appearance of dialog boxes' at point 4
    On your disk, find the appropriate HTM file in the Configuration/Objects, Configuration/ Commands, or Configuration/Behaviors folder.
    I've been searching but can not find the code for that dialog, althou it should be easy. Also did a search for that 'save' image, because once I find that, I can find this form, but its not in the macromedia folder.
    how to edit the find-and-replace dialog in Dreamweaver 8?

    It's looks less like an image and more like a form drop list to me.
    Yes its a dropdown list. But to find the code for that select I tried to find the htm file that code is on by searching for the save-image which is also on that page (next to the yellow folder). I did a search on all folders in c:/programfiles/macromedia and that image is not in there. If I could find the image name, I could search the code for that and should find that htm (or javascript) which is outputting it, then the select must be near to that.
    I also searched the code for the various texts on the page and got many hits, but not from the dialog page. I can't search dll files, so maybe thats where that code is in.

  • How to Edit the CheckBox in Classic ALV GRID Display

    Hi,
    I want to Edit the checkbox in Grid Display.
    I have one checkbox field in my internal Table,
    Code Of the Program,
    Data :
    Begin of itab occurs 0,
    CHK type C,
    MATNR like MARA-MATNR,
    end of itab.
    Iam building the fieldcatelog using Merge Funcion module.
    After that I am chaning the properties of the field
    catelog like below,
    loop at I_FCAT assigning <FCAT>.
    Case <FCAT>-Fieldname
    When 'CHK'.
    <FCAT>-Checkbox = 'X'.
    <FCAT>-INPUT = 'X'.
    I dont have edit option in fieldcatelog.
    modify I_FCAT from <FCAT>.
    endcase.
    endloop.
    In the Layout,
    I_LAYOUT-box_fieldname = 'CHK'.
    I_LAYOUT-box_tabname = 'ITAB'.
    It is displaying the Checkbox field.but I couldnt edit the checkBox.
    I can able to edit in REUSE_ALV_LIST_DISPLAY.
    But I  have to use REUSE_ALV_GRID_DISPLAY.How to edit the checkbox.
    Thanks in Advance,
    Sumithra

    Hi vasu,
    The below procedure explains you to create a checkbox cloumn in the grid and allows you to edit i hope this will helps u.
    The ALV Grid Control displays the cells of a column as checkboxes if the column is marked as a checkbox column in the field catalog.
    •     Add another field to the output table in which you want to display checkboxes
    OR
    •     Define an existing field as a checkbox.
    Procedure
    1.     Add a field to your output table:
    Data: gt_fieldcat type lvc_t_fcat.
    Types: begin of gs_outtab.
    Types: checkbox type c. "field for checkbox
    Include structure <ABAP Dictionary structure> .
    Types: end of gs_outtab.
    Data: gt_outtab type gs_outtab occurs 0 with header line.
    2 * Add an entry for the checkbox to the field catalog
    clear ls_fcat.
    ls_fcat-fieldname = 'CHECKBOX'.
    * Essential: declare field as checkbox and
    * mark it as editable field:
    ls_fcat-checkbox = 'X'.
    ls_fcat-edit = 'X'.
    * do not forget to provide texts for this extra field
    ls_fcat-coltext = text-f01.
    ls_fcat-tooltip = text-f02.
    ls_fcat-seltext = text-f03.
    append ls_fcat to gt_fieldcat.
    regards,
    venu.

  • How to edit the properties.

    I installed a tool in LiveCycle called "LiveCycle Workbench". I dont know how to edit the properties of Reader Extensions server and deselect [CommentsOnline] through Workbench. Please kindly advice me in detail with examples or samples.
    Thanks,
    Prabudass

    This is the Help topic for the Apply Usage Rights operation that the Reader Extensions service provides:
    http://livedocs.adobe.com/livecycle/es/wb_help/00000949.html
    If you are new to LiveCycle, you should work through this tutorial to learn the basics:
    http://livedocs.adobe.com/livecycle/es/wb_help/00000405.html
    Scott

  • How to edit the list box items in labwindow/​CVI?

     how to edit the list box items in labwindow/CVI?

    Listbox items cannot be edited directly in the control: what you can do is to select a line an, transfer its content to a textbox control, edit text there and move text back to the listbox control. Available interactions with the listbox control are listed in the help.
    An alternative to it is to use a tree customized to appear like a listbox: tree item labels can be edited directly in the control, at least those in the base column of the tree. You can look at the example \samples\userint\treelist.cws that shows how a tree can be customized this way. I haven't opened it, but this old example too should show the ability to edit tree cells.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Hi gurus in ALV how to edit the fields on out put list

    hi gurus in ALV how to edit the fields on out put list

    hi
    REPORT ZSB_ALV_EDITABLE_SAMPLE.
    TABLES: SFLIGHT.
    DATA: gc_container TYPE scrfname VALUE 'LIST_AREA',
    gc_custom_container TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
    gc_grid TYPE REF TO CL_GUI_ALV_GRID,
    gs_layout TYPE LVC_S_LAYO,
    gt_fieldcat TYPE LVC_T_FCAT.
    DATA: ok_code TYPE SY-UCOMM.
    DATA: gt_outtab TYPE TABLE OF SFLIGHT.
    *DYNPRO
    CALL SCREEN 100.
    *& Module STATUS_0100 OUTPUT
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS '100'.
    CREATE OBJECT gc_custom_container
    EXPORTING
    container_name = gc_container
    EXCEPTIONS
    cntl_error = 1
    cntl_system_error = 2
    create_error = 3
    lifetime_error = 4
    lifetime_dynpro_dynpro_link = 5
    OTHERS = 6.
    CREATE OBJECT gc_grid
    EXPORTING
    i_parent = gc_custom_container
    EXCEPTIONS
    error_cntl_create = 1
    error_cntl_init = 2
    error_cntl_link = 3
    error_dp_create = 4
    OTHERS = 5 .
    PERFORM prepare_field_catalog CHANGING gt_fieldcat .
    PERFORM prepare_layout CHANGING gs_layout .
    PERFORM get_alv_display.
    ENDMODULE.
    *& Module USER_COMMAND_0100 INPUT
    MODULE USER_COMMAND_0100 INPUT.
    OK_CODE = SY-UCOMM.
    IF OK_CODE = 'BACK'.
    SET SCREEN 0.
    LEAVE SCREEN.
    CLEAR OK_CODE.
    ENDIF.
    ENDMODULE.
    FORM prepare_field_catalog CHANGING gt_fieldcat TYPE LVC_T_FCAT.
    CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
    EXPORTING
    I_BUFFER_ACTIVE =
    I_STRUCTURE_NAME = 'SFLIGHT'
    I_CLIENT_NEVER_DISPLAY = 'X'
    I_BYPASSING_BUFFER =
    I_INTERNAL_TABNAME =
    CHANGING
    ct_fieldcat = gt_fieldcat[].
    ENDFORM.
    FORM prepare_layout changing p_gs_layout TYPE lvc_s_layo.
    p_gs_layout-zebra = 'X'.
    p_gs_layout-edit = 'X'.
    ENDFORM. " prepare_layout
    FORM get_alv_display .
    SELECT * FROM sflight INTO TABLE gt_outtab UP TO 10 ROWS.
    CALL METHOD gc_grid->set_table_for_first_display
    EXPORTING
    I_STRUCTURE_NAME = 'SFLIGHT'
    IS_LAYOUT = gs_layout
    CHANGING
    it_outtab = gt_outtab
    IT_FIELDCATALOG = gt_fieldcat
    ENDFORM. " get_alv_display

  • How to edit the include in the user-exit

    hi experts,
    how to edit the include in EXIT_SAPMM07R_001 fuction module exit.
    when i am trying to edit the incude include zxmbcu08 .
    it was giving the message" Program names ZX... are reserved for includes of exit  function groups ". at status bar.
    what is the way to edit include  the fuction module above specified.
    what is the issue !
    please post ur reply as early as possible.
    Thanks in Advance ..,
    Regards,
    Hitu

    Hi,
    Are you creating the include for the first time??
    If you are modifying the include..Probably you have to use the modification assistant..
    In the application toolbar...There are button for INSERT, REPLACE, DELETE..
    Place the cursor on the code...Then press INSERT button..
    It will open a block in that place..
    Thanks,
    Naren

  • How to edit the job name in SM37

    Hi All,
    I have job in SM37 with the mane ZBI_PROCESSING and the Job in Release status. Now I want to change the Job Name to Z_PROCESSING_SS. Please let me know how to edit the Job Name.
    Regards,
    Ravi

    Hi Ravi,
    In SM37 when you have the list of all jobs, right-clic on the job you want to rename, copy, enter the new name.
    Then you can delete the first job. The copied one will then be executed.
    Regards,
    Fred

  • HT2478 how to edit the picture you put on the desktop, center it etc.

    how to edit the picture you put on the desktop, center it etc.

    On what Mac running what version of OS X?

  • How 2 Edit the DEFAULT&SMARTBAR ?

    Hello
    Pls i want 2 know :
    How 2 Edit the DEFAULT&SMARTBAR ?!
    To read Arabic Characters
    Besides
    How 2 change it's direction from left to the right ?
    Regards
    Abdetu...

    i am sorry..
    what i mean ; is there Docs i mean for the generated forms and obj liberies from designer...!
    Besides OFGMNUT.*mmb* is a menu
    i was doing the tool bar manually on a staked canvas
    Well, but if i att OFGMNUT.*mmb* , it SHOULD be att 2 each form IN my application, afterwards
    , i have 2 att the ( Main menu) to my main project form yeah ?!
    Abdetu...!

Maybe you are looking for

  • IOS 8 wallpaper size is now a problem again. How to fix?

    Today I tried to change my wallpaper on my iPhone 6 and Apple does not make this an easy process. When I added the new picture to use as my wallpaper it automatically zoomed in really close on the picture. I guess this is the "perspective zoom" featu

  • Extremely high loads doing minimal tasks

    Hi. This is doing my head in. Just upgraded after a couple of years on a celeron dual core netbook (running Arch of course) to a Lenovo E555 which has an AMD Kaveri A8-7100. I was expecting it to be night and day. Unfortunately the Lenovo is so slugg

  • Multi-value parameter report - error : Incorrect syntax near ',' with multi-valued parameter in SSRS

    Hey, I created a report in Reporting Services  where I added multi-value parameter ( Filter).  When I run my report, and try to select more than one parameter, I get an error:  Incorrect syntax near ',' then i put in parameter expression :  join(Para

  • Open items by customer group

    Hi gurus, Does anyone know How to do report on open items in customers by account group? regards

  • Error using Chck out / Check in Function.

    Hello Experts, I have a problem when checking out and then cheking in a Contract Document: There is a Contract document that needs a 2nd version. The user is checking out the Contract and making the corrections to the document. When he try to check i