AXIS2 and some concept

Posted on 2007-10-18
Last Modified: 2013-12-02
Dear Experts,
I got this problem, I tried simple example of using a web services, most of the example are like "Hello world" or stuff like that, just to give the basic & that stuff are working... now

Let say I want some more professional. I made MIDlet that thru a Servelet on Tomcat query the db & got back a result. The result are of course made of rows & columns.

Let say I got 30 rows of 5 columns & the column are (of course with different value):
ItemType - InStock - Commited - OnOrder - Supplier
 NYBCR2     2000       145        800         KOLON
So my question is, working with Axis2 (POJO), how should I create my Java Class? Im asking that coz now I created a Java class that do that:

    Public String getAvailability(String ItemType, int InStock, int Commited, int OnOrder, String Supplier)

The problem is when I got back the response inside SOAP in the result tag I got I unique string with all the value, what I should get insted is something like

 so in my client app, I can parse it
 In some way I got the feel that I didn't understand very well how to work with Axis. Anyway Im new with Web Services and I started direct with a tools that do a lot of stuff, instead start everything from scratch that is hard but help more to understand the whole picture
 Can somebody give me some suggestion, counsel... any help
Question by:gokyo66
    LVL 92

    Accepted Solution


    Author Comment

    This could help is wel done, but any other more direct help?

    Author Comment

    Thx anyway that link helped me.


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
    Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
    This video teaches viewers about errors in exception handling.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now