Dims, Deepal, Looks like we have dumped the WSM route :) I already had some code that read all the JSR181 annotations and built a AxisService via WSM. But that's fine, I am with you if this is the route we are talking.
Regards, Rajith On 2/22/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
Deepal, Nice start with the pojodeployer...Going through the code, i see that we use JAM to extract java.jws.* annotation info from the pojo class. I think we need to revisit that at the least. IMHO, the code that creates the AxisService hierarchy should store enough information so that we should not have to look at the pojo class again. Please see if you can store more information in the AxisService hierarchy and avoid totally peeking into the pojo class in the SchemaGenerator. As a nice side-effect, any one who creates a AxisService hierarchy will be able to control more of how the wsdl looks, not just via annotations (think javascript!) :) As a side note, please add a sample/testcase in integration to back up the changes when you get a chance. thanks, dims On 2/22/07, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote: > Hi all; > > As I mentioned before last few days I was working on POJO annotation > support and there I was thinking to use matadata and jaxws module to > have this feature. When I start implementing annotation support I found > that the created AxisService from metadata module does not have any > operation in it (though I have annotated the service impl class correctly). > > In the meantime I had a big issue in Java2WSDL support when annotation > present in the POJO , the only option was to re-write or duplicate > ScheamGenerator logic. And I realized that going to be a big code change > so what I did was, use JAM (annogen) to have annotation support in > SchemaGenerator. > > With the above I have implemented pojo annotation support in axis2. So I > have written a Deployer called POJODeployer and you can deploy POJO as > .class file and it will make that to an AxisService and will generate > correct schema (so you will see the correct wsdl at the runtime). > > If the WebService has wsdllocation annotation then it will call metadata > module to create AxisService (this path has few TODO items) > > please comment on my implementation , and I will commit the code you can > go though that and find out if I have done something wrong. > > P.S:- Implementation is not completed yet need few more items to complete. > > Thanks > Deepal > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
