DOC PREVIEW
CMU ISM 95702 - lecture: Axis2

This preview shows page 1-2-3-4-26-27-28-54-55-56-57 out of 57 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 57 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 57 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 57 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 57 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 57 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 57 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 57 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 57 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 57 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 57 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 57 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 57 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Organizational Communications and Distributed Object TechnologiesApache Axis2 (1)Apache Axis2 (2)InstallationWeb Container DirectoryPowerPoint PresentationSlide 7Axis2 Directory Structure (3)Axis2 Directory Structure (4)Axis2 Directory Structure (5)Slide 11Axis2 Directory Structure (7)Axis2 Directory Structure (8)Axis2 Directory Structure (9)Slide 15Message Life CycleAxis2 ComponentsSOAP Processing (1)SOAP Processing (2)Processing ModelDefault Processing ModelIncoming Message PhasesOutgoing Message PhasesBlocking and Non-Blocking ClientsR/W The XML Through ObjectsSlide 26Example From The Axis2 User GuideWSDLSlide 29Slide 30Slide 31Slide 32Slide 33Slide 34Slide 35Slide 36Slide 37Slide 38Slide 39Slide 40Client Using ADBSlide 42Slide 43Slide 44Slide 45Slide 46Client Using XMLBeansSlide 48Slide 49Slide 50Slide 51Slide 52Writing A ServiceRequest Scope Service (1)Request Scope Service (2)Application Scope services.xmlApplication Scope (2)195-702 OCTMaster of Information System ManagementQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.Organizational Communications and Distributed Object TechnologiesLecture 7: Axis2295-702 OCTMaster of Information System ManagementQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.Apache Axis2 (1)•Since 2004 (a new Apache Axis).•A core engine for web services.•Compares with Microsoft Indigo.•Runs under any J2EE server.•Will include WS-Reliable Messaging (Sandesha2) WS-Coordination, WS-AtomicTransaction, WS-BusinessActivity (Kandula2), WS-Security (Rampart), WS-Addressing (out of the box).395-702 OCTMaster of Information System ManagementQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.Apache Axis2 (2)•Synchronous and Asynchronous web services.•MEP (Message Exchange Patterns).•Transport Independent core (SMTP, FTP, HTTP, MOM, etc.).•WSDL 1.0 and 2.0.•WSDL2Java and Java2WSDL.•Supports queries for WSDL (using ?wsdl) schema (using ?xsd) and policies (using ?policy).•Service Archive wizard for Eclipse.•Code generation wizard for Eclipse.495-702 OCTMaster of Information System ManagementQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.Installation•Main web site: http://ws.apache.org/axis2/•Use any J2EE web container.•Here, we will use Tomcat.595-702 OCTMaster of Information System ManagementQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.Web Container Directoryapache-tomcat-6.0.10conf bin lib webapps common logs workaxis2695-702 OCTMaster of Information System ManagementQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.axis2-web WEB-INFclasses conf lib modules services web.xml• This directory structure is created by running the ant build script provided with Axis2. • The entire structure is compressed as a java archive and written to the file axis2.war. • The axis2.war file is copied into Tomcat’s webapp directory. • The file axis2.war is expanded under the directory named axis2. • Delete the axis2 directory before changing the war. In that way the war will be expanded again into a new axis2 directory.• Normally, you leave this directory structure in place. Add and update new web services within this existing directory structure.axis2 axis2.warwebappsAxis2 Directory Structure (1)This is arelativelyfixed areato workin.795-702 OCTMaster of Information System ManagementQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.axis2-web WEB-INFclasses conf lib modules services web.xmlAxis2 administrationpages. Use admin to temporarily add services or engage oror disengage modules. The configuration description found in conf/axis2.xmlis not changed so these changes are temporary. Default username is admin.Default password is axis2. Axis2 Directory Structure (2)axis2webapps895-702 OCTMaster of Information System ManagementQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.axis2-web WEB-INFclasses conf lib modules services web.xmlClasses needed byAxis2 itself.Axis2 Directory Structure (3)axis2webapps995-702 OCTMaster of Information System ManagementQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.Axis2 Directory Structure (4)axis2-web WEB-INFclasses conf lib modules services web.xmlaxis2.xml is an important file Defines how received messages are handled. Defines transport senders and receivers. Determines which modules are active. Defines order of phases and how handlers are to be executed within each phase.axis2webapps1095-702 OCTMaster of Information System ManagementQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.Axis2 Directory Structure (5)axis2-web WEB-INFclasses conf lib modules services web.xml.jar (Java archive)files supportingAxis2 activitiesaxis2webapps1195-702 OCTMaster of Information System ManagementQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.axis2-web WEB-INFclasses conf lib modules services web.xml.mar (module archive) filesare usedto extend axis2 - addinghandlers to the message stream.Axis2 Directory Structure (6)axis2webapps1295-702 OCTMaster of Information System ManagementQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.Axis2 Directory Structure (7)axis2-web WEB-INFclasses conf lib modules services web.xmlActual classes for the providing of business services..arr (axis archive) files reside here.axis2webapps1395-702 OCTMaster of Information System ManagementQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.Axis2 Directory Structure (8)axis2-web WEB-INFclasses conf lib modules services web.xmlMETA-INFservices.xmlPackage path to .classExplodeddirectoryformatMyCoolServiceaxis2webapps1495-702 OCTMaster of Information System ManagementQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.Axis2 Directory Structure (9)axis2-web WEB-INFclasses conf lib modules services web.xmlMETA-INFservices.xmlPackage path to .classMyCoolServiceaxis2webappsDefines the service name.Defines scope,e.g., “application”.Associates MEPs with


View Full Document

CMU ISM 95702 - lecture: Axis2

Documents in this Course
Homework

Homework

12 pages

Lecture

Lecture

25 pages

Lecture

Lecture

21 pages

Lecture

Lecture

24 pages

Exam

Exam

11 pages

Homework

Homework

16 pages

Homework

Homework

38 pages

lecture

lecture

38 pages

review

review

7 pages

lecture

lecture

18 pages

review

review

8 pages

Chapter2

Chapter2

32 pages

Lecture 4

Lecture 4

47 pages

Lecture

Lecture

22 pages

Naming

Naming

26 pages

lecture

lecture

34 pages

lecture

lecture

42 pages

lecture

lecture

112 pages

Lecture

Lecture

33 pages

Axis

Axis

43 pages

lecture

lecture

32 pages

review

review

17 pages

Lecture

Lecture

53 pages

Lecture

Lecture

80 pages

Lab

Lab

14 pages

Load more
Download lecture: Axis2
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view lecture: Axis2 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view lecture: Axis2 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?