Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 520043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:06:14+00:00 2026-05-13T08:06:14+00:00

I’m trying to develop a form generator in java, in which users will be

  • 0

I’m trying to develop a form generator in java, in which users will be able to write a wsdl url and get the list of the operations supported by the web service in a ComboBox. When the user selects one of the items in ComboBox then he will see form fields generated using the wsdl url.

I’m a newbie in web service technologies, after searching about web service parsers on the net I decided to use axis library. But I really do not know which part of the wsdl document should I parse

I’m not trying to create java classes of the web service, I have to generate form fields for any wsdl url.

For instance here is a web service which provides 9 operations

http://services.aonaware.com/DictService/DictService.asmx

and the wsdl file is here:

http://services.aonaware.com/DictService/DictService.asmx?WSDL

I need to know which parts of wsdl file should be parsed, any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T08:06:14+00:00Added an answer on May 13, 2026 at 8:06 am

    To get started with WSDL and understand how such a document is structured, you should maybe have a look at some article like Understanding WSDL or the WSDL Tutorial or any other beginner resource that you’ll find on Google.

    Now, to answer your question in a simplified way, you’ll have to start with the portType element that contains:

    An abstract set of operations supported by one or more endpoints (commonly known as an interface); operations are defined by an exchange of messages

    For example, in your case:

    <wsdl:operation name="DictionaryList">
      <wsdl:documentation>Returns a list of available dictionaries</wsdl:documentation>
      <wsdl:input message="tns:DictionaryListSoapIn"/>
      <wsdl:output message="tns:DictionaryListSoapOut"/>
    </wsdl:operation>
    

    And, for each operation, you’ll need to parse the input and output messages, a message being:

    A definition of an abstract message that may consist of multiple parts, each part may be of a different type.

    Here, for example the input message of the previous operation is:

    <wsdl:message name="DictionaryListSoapIn">
      <wsdl:part name="parameters" element="tns:DictionaryList"/>
    </wsdl:message>
    

    Then, to understand the content of the message, have a look at the types:

    A container for abstract type definitions defined using XML Schema

    Here, the DictionaryList element is defined as an empty compleType:

    <s:element name="DictionaryList">
      <s:complexType/>
    </s:element>
    

    As I said, this is really a very simplified answer as WSDL can’t be summarized in four paragraphs and, to be honest, what you are going to do is really not a trivial task. Let me rephrase this: there will be blood! So, even if these few lines may help you (a very little) to get started, I’d definitely not start such a project from scratch but rather use an existing library or tool (like Xydra or Eclipse XML Forms Generator or …) that would allow to not reinvent the wheel.

    By the way, I noticed that you have decided to use Axis and that you don’t want to generate the Java classes but I’d warmly recommend to not use Axis anyway. Actually, I’d use JAX-WS RI wich is bundled in Java 6 and is a much easier API. Just in case, to generate the Java classes, just execute:

    $ mkdir generated
    $ wsimport -d generated http://services.aonaware.com/DictService/DictService.asmx?WSDL
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 325k
  • Answers 325k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Perhaps you're thinking of http://browsershots.org/ ? May 14, 2026 at 1:25 am
  • Editorial Team
    Editorial Team added an answer Ahhh, I believe I have it. As stated above: In… May 14, 2026 at 1:25 am
  • Editorial Team
    Editorial Team added an answer add() - almost always, as you said roll() - for… May 14, 2026 at 1:25 am

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I want use html5's new tag to play a wav file (currently only supported
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I've got a string that has curly quotes in it. I'd like to replace
In order to apply a triggered animation to all ToolTip s in my app,

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.