I dette kurset vil studenten lære en kombinasjon av grunnleggende web services og enkel bruk av Axis2 plattformen.
Beskrivelse:
Emner slik som SOAP og WSDL er dekket både fra et klient- og tjener-implementasjonsperspektiv.
Studenten vil lære hvordan man lager en Java SE Axis2 Web service-klient ved hjelp av generert hjelpekode fra en WSDL-fil. Man vil også lære hvordan man lager og deployer Web Services til Apache Tomcat-applikasjonstjener, ved å starte med enten Java-kode eller fra en WSD-fil.
Målgruppe:
Java programmers who need to create distributed applications using Axis2.
Forkunnskaper:
Introduction to XML and Java Programming.
Intro to Axis2 and Web Services
What is a Web Service?
XML Based Web Service Technologies
Why Web Services?
Web Service Standards
Java Web Services
Apache Axis2
Axis2 Features
Axis2 Architecture and Processing Model
Simple Web Services
Deploy the Service
Run the Client
SOAP Overview
The SOAP Document
WSDL Overview
WSDL Content
Abstract WSDL Elements
Concrete WSDL Elements
SOAP Monitor
Axis2 Clients
Databinding in Axis2
ADB Databinding
Clients
Steps to Create a Client
Obtain the WSDL File
The wsdl2java Tools
Wsdl2java Options
Generated Code
Client Code Overview
Import the Generated Classes
Instantiate the Stub
Set the Request Parameters
Call the Service Method and Get the Results
Compile and Run the Client Code |
Axis2 Services
Creating Server Code
Steps to Create a POJO Service
Building a POJO
The Server Descriptor
The service Element
MEPs and Message Receivers
More services.xml Configurations
AAR Files
Generating WSDL from Java Code
Steps to Create a WSDL Based Service
Generate Server Artifacts from WSDL
Steps to Edit the Skeleton
Import the Generated Classes
Get the Parameters
Write the Business Code
Instantiate a Response
Build and Deploy |