Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
My First Web Services Example - XFire, Spring, SoapUI Albert Guo [email_address]
Agenda <ul><li>Setup Web Services Environment </li></ul><ul><li>Setup Web Services IDE Environment </li></ul><ul><li>Insta...
Setup Web Services Environment http://java.sun.com/webservices/containers/tomcat_for_JWSDP_1_5.html http://java.sun.com/we...
Setup Web Services IDE Environment http://www.eclipse.org/downloads/ http://www.myeclipseide.com/module-htmlpages-display-...
Install and Validation Process
Install and Validation Process – cont.
Download Extra Jar Files http://xfire.codehaus.org/ http://springframework.org/
Buzzwords
Web Services Architecture
Scenario – Use Case Diagram
Scenario – Sequence Diagram
Scenario – Class Diagram
Scenario Provide WeatherServices Request Return Weather Information
Deployment descriptors of the Web application – web.xml
Deployment descriptors of the Web application – server.xml
Testing Procedure http://localhost:8080/XfireDemo/services/Weather?wsdl
Check Web Services is Working http://localhost:8080/XfireDemo/services/Weather?wsdl WSDL Declaration provides data type de...
Check Web Services is Working – cont. a set of abstract operations.  Each operation refers to an input message  and output...
Apply soapUI to do Test – Create new WSDL Project
Apply soapUI to do Test – Create new WSDL Project (cont.)
Apply soapUI to do Test – Search Taipei’s Weather Status Request Result
Apply soapUI to do Test – Search Toronto’s Weather Status Request Result
Reference  <ul><li>http://www.javaworld.com/javaworld/jw-05-2006/jw-0501-xfire.html?page=1 </li></ul>
Upcoming SlideShare
Loading in …5
×

My First Web Services Example - XFire, Spring, SoapUI

9,461 views

Published on

Published in: Business, Technology
  • Be the first to comment

My First Web Services Example - XFire, Spring, SoapUI

  1. 1. My First Web Services Example - XFire, Spring, SoapUI Albert Guo [email_address]
  2. 2. Agenda <ul><li>Setup Web Services Environment </li></ul><ul><li>Setup Web Services IDE Environment </li></ul><ul><li>Install and Validation Process </li></ul><ul><li>Download Extra Jar Files </li></ul><ul><li>Buzzwords </li></ul><ul><li>Web Services Architecture </li></ul><ul><li>Scenario </li></ul><ul><li>Deployment descriptors of the Web application </li></ul><ul><li>Testing Procedure </li></ul>
  3. 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. 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. 5. Install and Validation Process
  6. 6. Install and Validation Process – cont.
  7. 7. Download Extra Jar Files http://xfire.codehaus.org/ http://springframework.org/
  8. 8. Buzzwords
  9. 9. Web Services Architecture
  10. 10. Scenario – Use Case Diagram
  11. 11. Scenario – Sequence Diagram
  12. 12. Scenario – Class Diagram
  13. 13. Scenario Provide WeatherServices Request Return Weather Information
  14. 14. Deployment descriptors of the Web application – web.xml
  15. 15. Deployment descriptors of the Web application – server.xml
  16. 16. Testing Procedure http://localhost:8080/XfireDemo/services/Weather?wsdl
  17. 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. 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. 19. Apply soapUI to do Test – Create new WSDL Project
  20. 20. Apply soapUI to do Test – Create new WSDL Project (cont.)
  21. 21. Apply soapUI to do Test – Search Taipei’s Weather Status Request Result
  22. 22. Apply soapUI to do Test – Search Toronto’s Weather Status Request Result
  23. 23. Reference <ul><li>http://www.javaworld.com/javaworld/jw-05-2006/jw-0501-xfire.html?page=1 </li></ul>

×