I asked some questions on the mailing list this weekend that didn't get answered. In retrospect, I should have waited until today to ask them. Due to the holiday, many of you were probably too busy to answer. Also, I think I understand Axis a little better after digging into some issues this weekend and can perhaps word my questions better. Here's one of them.
I believe WSDL2Java generates eight files. I understand the benefit of these four.
{port-name}SoapBindingStub.java - class
{port-name}ServiceLocator.java - class
deploy.wsdd
undeploy.wsdd
If you already have a Java class that implements your web service operations, is there any point in using the following generated files?
{port-name}SoapBindingSkeleton.java - class
{port-name}Service.java - interface implemented by skeleton class
{port-name}SoapBindingImpl.java - class
{port-name}.java - interface implemented by impl class
The generated deploy.wsdd file references the skeleton class.
The skeleton class uses the impl class.
It seems to me that I have two choices.
1) modify the impl class to invoke methods in my existing web service implementation class
2) modify deploy.wsdd to reference my existing web service implementation class instead of the generated skeleton class
Both options work for me. If the generated skeleton and impl classes and their interfaces don't add any value then I think I prefer option 2 ... four fewer classes deployed.
Am I missing something?
***************************************************************************************
WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
***************************************************************************************
