Tuesday, August 12, 2008

WSDL2Java to the rescue

Here is an interesting stuff on how we mocked the services - Few of the service providers could not meet our timelines ( we are bit ahead, hehe) and we were asked to mock the services from their WSDLs. Looking at the various options for mocking, I preferred the Axis2 WSDL2Java to geenrate the server side stubs, fill in the skeleton class and deploy it. It is quick and works just fine. One other thing using -t option generated a test case and we just needed to fill it up with the required assertions. I must say WSDL2Java saved time for me. Do you have any other ideas, feel free to comment on this entry.