My First Web Services Example - XFire, Spring, SoapUI
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
11,719
On Slideshare
11,658
From Embeds
61
Number of Embeds
1

Actions

Shares
Downloads
202
Comments
0
Likes
2

Embeds 61

http://www.slideshare.net 61

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. My First Web Services Example - XFire, Spring, SoapUI Albert Guo [email_address]
  • 2. Agenda
    • Setup Web Services Environment
    • Setup Web Services IDE Environment
    • Install and Validation Process
    • Download Extra Jar Files
    • Buzzwords
    • Web Services Architecture
    • Scenario
    • Deployment descriptors of the Web application
    • Testing Procedure
  • 3. Setup Web Services Environment http://java.sun.com/webservices/containers/tomcat_for_JWSDP_1_5.html http://java.sun.com/webservices/downloads/1.5/ http://java.sun.com/j2se/1.5.0/
  • 4. Setup Web Services IDE Environment http://www.eclipse.org/downloads/ http://www.myeclipseide.com/module-htmlpages-display-pid-4.html http://www.soapui.org/features.html
  • 5. Install and Validation Process
  • 6. Install and Validation Process – cont.
  • 7. Download Extra Jar Files http://xfire.codehaus.org/ http://springframework.org/
  • 8. Buzzwords
  • 9. Web Services Architecture
  • 10. Scenario – Use Case Diagram
  • 11. Scenario – Sequence Diagram
  • 12. Scenario – Class Diagram
  • 13. Scenario Provide WeatherServices Request Return Weather Information
  • 14. Deployment descriptors of the Web application – web.xml
  • 15. Deployment descriptors of the Web application – server.xml
  • 16. Testing Procedure http://localhost:8080/XfireDemo/services/Weather?wsdl
  • 17. Check Web Services is Working http://localhost:8080/XfireDemo/services/Weather?wsdl WSDL Declaration provides data type definitions used to describe the messages exchanged
  • 18. Check Web Services is Working – cont. a set of abstract operations. Each operation refers to an input message and output messages represents an abstract definition of the data being transmitted specifies concrete protocol and data format Specifications for the operations and messages defined by a particular portType used to aggregate a set of related ports
  • 19. Apply soapUI to do Test – Create new WSDL Project
  • 20. Apply soapUI to do Test – Create new WSDL Project (cont.)
  • 21. Apply soapUI to do Test – Search Taipei’s Weather Status Request Result
  • 22. Apply soapUI to do Test – Search Toronto’s Weather Status Request Result
  • 23. Reference
    • http://www.javaworld.com/javaworld/jw-05-2006/jw-0501-xfire.html?page=1