facebook

How to get real param nomes in XSD not argX

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #292082 Reply

    mongonv
    Participant

    I am using MyEclipse 7.0 M2 and generating the wsdl/xsd using the new web service wizard and need to know how to get it to use the parameter names and not arg0 thru argX for the inbound parameters. The wizard creates the proper return parameter names based on the values in a data structure used in the return of the methods in the service.

    I have tried using individual parameters for the inbound values and a data structure, but it keeps putting the arg names. It picks up the right number of values and their data types, but uses the arg names.

    As I have hundreds of values in all the methods it is impractical to change these by hand and if anything is added and the wsdl is regenerated it would wipe those settings out.

    Any thoughts would be greatly appreciated,
    Ed

    #292122 Reply

    Loyal Water
    Member

    Could you please clarify which *wizard* your using.

    #292126 Reply

    mongonv
    Participant

    I am using the “New Web Service” wizard available for a Web Service Project (with maven support). I was able to get the params to work if I use a data structure for the inbound data. But if I just put individual parameters on the call to the service method, they come out as just arg0-argX when viewing the WSDL from a client app. With the data structure, it comes out as arg0 but you can double click it and get to the components of the data structure by name.

    It would be nice to not have to create data structures in order to get parameter names, but at least there is an option.
    Let me know if there is a way to get the names without data structures.
    Thanks,
    Ed

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: How to get real param nomes in XSD not argX

You must be logged in to post in the forum log in