Upgrade to Pro — share decks privately, control downloads, hide ads and more …

SOAP testing done right!

SOAP testing done right!

Have you ever tried to properly test your SOAP endpoints? Sounds easy, but setting up a testing scenario is as pleasant as a weekend trip with your in-laws...

It doesn't have to be like this anymore! On the example of soap-ws, project authored by me, I will show you how to consume, provide and test a SOAP endpoint in 3 lines of code. Using soap-ws we can forget about the boilerplate code and the configuration nightmare and simply concentrate on the job. Since soap-ws integrates seamlessly with JUnit, Spock and Arquillan testing is a real pleasure!

Don't expect any slides we are going to code all the time!

Presented at DevoxxUK on 27th of March 2013
http://bit.ly/Yl615O

8d565a99a2b70397374c22411d53727d?s=128

Tom Bujok

March 27, 2013
Tweet

More Decks by Tom Bujok

Other Decks in Programming

Transcript

  1. SOAP TESTING DONE RIGHT! DEVOXX UK 27TH of MARCH 2013

    TOM BUJOK @TOMBUJOK WWW.REFICIO.ORG
  2. SOAP TESTING DONE RIGHT! ABOUT ME Tom BUJOk centeractive ag,

    BERN, CH @TOMBUJOK WWW.REFICIO.ORG
  3. SOAP TESTING IS LIKE...

  4. ...A WEEKEND TRIP WITH YOUR INLAWS

  5. WEB-SERVICE STACKS ‣ APACHE AXIS 1.4 (✝2006) ‣ XFIRE 1.2.6

    (✝2007) ‣ APACHE AXIS 2 1.6.2 ‣ Apache cxf 2.7.0 ‣ SPRING-WS 2.1.1 ‣ JAX-WS RI 2.2.7 ‣ GLASSFISh METRO 2.2.1-1 ‣ WSo2
  6. END UP LIKE THIS... R U N C O M

    P I L E D E P L O Y G E N E R AT E A N N O TAT E
  7. ├── resources │ ├── CustomerService.wsdl │ ├── binding.xml │ ├──

    client-applicationContext.xml │ ├── cxf.xml │ └── server-applicationContext.xml └── webapp └── WEB-INF ├── cxf-servlet.xml └── web.xml IS IT REALLY THAT EASY (CLIENT <-> SERVER)? ‣ maven ‣ CXF-CODEGEN PLUGIN ‣ BUILDEr-HELPER-PLUGIN ‣ WAR-PLUGIN ‣ JETTY-PLUGIN
  8. TAKE YOU THERE!

  9. MEET rEFICIO SOAp-WS LIGHTWEIGHT and FANCY XMl-ORIENTED SOAP STACK BASED

    on SPRING-WS
  10. DEMO - THIS IS HOW WE ROLL

  11. ANY QUESTIONS?

  12. THANK YOU TOM BUJOK DEVOXX UK 27th of MARCH 2013

    @TOMBUJOK WWW.REFICIO.ORG http://gamedevwithoutacause.com/wp-content/uploads/2011/11/singleton-12yr.jpeg