★ wanayoo — archive 1999 http://java.webdeveloper.com/tutorials/Axis2/Nouvelle recherche | Portail wanayoo


Find a Web Host With:
CGI Access
DB Support
NT Servers
UNIX Servers
Telnet Access

advanced search
Internet News
Internet Investing
Internet Technology
Windows Internet Tech.
Linux/Open Source
Web Developer
ECommerce/ Marketing
ISP Resources
ASP Resources
Wireless Internet
Downloads
Internet Resources
Internet Lists
International
EarthWeb
Career Resources

Search internet.com
Advertise
Corporate Info
Newsletters
E-mail Offers
Be a Commerce Partner
Shopping Cart Software
CreditCard Processing
Free Barter Account
Anti-Virus Software
Fax to/from Your PC
Tech Magazines - FREE
Free Search Traffic
Find a Web Host
Submit Your Site
Build Flash Online
FlashKit
Gif.com
HierMenusCentral
JavaBoutique
JavaScript.com
JavaScriptSource
WebDev Jobs
JustSMIL
ScriptSearch
StreamingMediaWorld
Web Hosts
WebDevelopersJournal The WDVL
WebDeveloper.com
WebReference.com
XMLFiles.com
CGI
HTML
Java
JavaScript
Web Design and Promotion
Web Site Development
E-mail Address:


Can you receive
HTML e-mail?

Yes   No

Zip Code:


Tutorials : Using Apache Axis version 1 to build Web Services :

Using Apache Axis version 1 to build Web Services

by Keld H. Hansen

Introduction

The other day I was discussing Web Services with one of my Java-colleagues, and he made this comment, "Web Services, that’s nothing more than a method call that uses XML". I must admit that this was the shortest definition of Web Services I’d ever heard! Despite its brevity it still describes what Web Services is all about: a client and a server exchanging data in XML--or more correctly--SOAP-format. What can make Web Service programming difficult is if you have to encode and decode your data in SOAP format, or do low-level programming of the data transport. Luckily there are many Web Service tool kits on the market--also in the Open Source area—which greatly simplifies Web Service development. One such tool kit is Apache Axis.

Apache Axis version 1 was announced on October 7th this year (2002). If you’re not familiar with Axis I’d recommend you read my article "Web Services with Axis", which was based on the first beta version of Axis. In that article I presented a few simple examples, and also introduced you to some of the very useful utilities in Axis.

In the present article I’ll go a step further and build a more realistic Swing application that utilizes web services through Axis. We’ll start by doing some "business analysis" and then build the server part of the web service. To test this service we actually don’t need a client--Axis has a nice feature for client-less testing which I’ll show you. Finally we’ll build and test the Swing client. All the programs can be downloaded as a complete working application in zip format.

If you’re interested in further reading you’ll find several very good articles in the resources section at the end of my article.

Axis Installation

Before we look at the application I’ll give you a few tips on how to install Axis on Tomcat.

The download is found on the Apache Axis Releases page. In the download you’ll find an Installation Guide. Please be sure to get the latest Installation Guide, which is of much better quality than the ones that accompanied the Axis betas and the first drop of version 1.

The basic purpose of the installation is to make the Axis servlet run, and the thing that can be a challenge here is where to place the jar-files that come with Axis. Placement depends on which JDK you’re running. Read "Step 2" from the Installation Guide carefully.

To test the installation you enter http://localhost:8080/axis which should bring up the following page (if it doesn’t then check "Step 2" again. Did you remember to restart Tomcat?):

First of all you should click on "Validate" to run the "Happy" program that shows you if the installation is OK. This verification program is a brilliant idea. If you ever run into problems with Axis then always try the Happy page as part of your debugging. See more details in "Step 3" in the Installation Guide.

Now click on "View" to see the web services installed per default:

Now we’re ready to explore Axis.

   


Applet Index
(sorted alphabetically)

A B C D E F G H I J K
L M N O P Q R S T U
V W X Y Z #s
The Java Source
(applets w/source code)

A B C D E F G H I J K
L M N O P Q R S T U
V W X Y Z

How to Add Java Applets to Your Site

New on the Java Boutique:

New Article:
JBOSS's Inner Circle Looks at J2EE and Points Beyond
Join Chris Beford as he speaks with three members of JBOSS's inner circle, Marc Fleury, Founder and President of the JBOSS Group, Scott Stark, CTO, and Ben Sabrin, Director of Sales and Business Development.
... [more articles]

New Tutorial:
Building a sample Web App with STRUTS
Harshal Deo is back demonstrating screen flow and action handling using STRUTS.
... [more Tutorials]

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

internet.com logo










WebDev News

Sun to Simplify Java

FreeBSD 5.0 Unleashed

UnitedLinux Targets Telecommunications Carriers



Database Journal Launched!
Jupiter Media has announced the launch of Database Journal. DBJ offers SQL courses and other database related resources for beginner to expert developers.



Select Applet Server
This is just a toy to let an applet send a file as an attachent by email.
Download of the Week
MagicTrick
MagicTrick is reminiscent of everyone's childhood. Just like Daddy's magic tricks, this applet is able to pick your card,(out of 21),every time! Source code included.

JB User Poll
Certification vs. experience--what's your opinion?
The JavaBoutique Top 15:
1. PingPong
2. DJPopMenu
3. NavBar
4. RushHour
5. AnimLetters_anim
6. ChompText
7. 3DMaze
8. AScroll2
9. Encyclo
10. Nibbly
11. Viewer
12. PulseText
13. Distorter
14. TypoToolMotion11
15. BMI
Want more? Check out our Top 100!

Refer-It
Affiliate Program and Referral Directory.
New on internet.com
Supreme Court Decision Spurs Debate
As the high court upholds a ruling that extends copyright protection from 75 years to nearly a century, many businesses and individuals that rely on access to public domain works are in an uproar.

Identifying Identity Theft
Hold on to your personal information -- stolen identity cases are expected to soar through 2003.

Standardizing Network Management Procedures
While IT now drives everything from national security to the success of a business, there are no established standards to follow as there are for other professions. Here's what one management services provider did to address the problem.


Reports on security issues of ecommerce environments

Copyright 2003 Jupitermedia Corporation All Rights Reserved.
Legal Notices,  Licensing, Reprints, & Permissions,  Privacy Policy.
http://www.internet.com/