• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Axis 2 WebSevice - Testing

 
Ranch Hand
Posts: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have implemented WebServices using Axis 2. I followed top-down approach(ie: creating java classes from WSDL). How to test my WebServices? Currently i am sending the request(data) from UI layer to WebServices and checking the DB. My WSDL has just XML messages. I do not want send my request from UI layer thru WebService to DB layer. I want to test WebService layer alone. Any suggestion (or) tool recommendation ?
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you want to test the results of your services, or do you want to actually test the web service container itself?

If you're just testing the service methods themselves, then just call the methods in your services. If you want to test the full stack, you can do something as easy as using HttpUnit (or an equivalent), or create client wrappers automagically (like Jersey, or whatever that's called) and do it through the full stack.
 
kri shan
Ranch Hand
Posts: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi David, I want to test the full stack using opensource or commercial tools. Looks Jersey Test Framework supports RESTful Web Services. My Axis2 WebService is SOAP based document/literal.
 
kri shan
Ranch Hand
Posts: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any answer ?
 
Don't MAKE me come back there with this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic