Rajith, Nick, At this point, All Deepal is doing is call the jaxws/metadata layer to construct the AxisService. He had trouble with the annotation info not showing up in the auto constructed wsdl and he added some JAM based code for that. So...See my other email in this thread on how to delegate that work to the jaxws/metadata layer as well. So that SchemaGenerator is not peppered with jam/annotations code. Everything that is needed should be in the AxisService hierarchy. Please see the pojo deployer code for more info.
thanks, dims On 2/22/07, Rajith Attapattu <[EMAIL PROTECTED]> wrote:
Deepal, Same here, nick and I suggested a way to denote wether the POJO is an Axis2 endpoint ot a JAX-WS endpoint. Nick can u point to the wiki page? Also we had some suggestions on axis2 specific annotations to suplement the features that would have been there if the services.xml is used. For example, service level parameters, engaging modules at service or operation level ..etc. Rajith On 2/22/07, Nicholas L Gallardo <[EMAIL PROTECTED]> wrote: > Deepal, > > I haven't had a chance to look at the code, but is there any distinction > made between Axis2 endpoints and JAX-WS endpoints in the POJODeployer? > > I'll try to take a look at this later on this afternoon. > > Regards, > > Nicholas Gallardo > WebSphere - WebServices Development > [EMAIL PROTECTED] > Phone: 512-838-1182 > Building: 901 / 5G-016 > > > > Deepal Jayasinghe < [EMAIL PROTECTED]> > 02/22/2007 02:11 AM > Please respond to > [email protected] > > > To > " [email protected]" <[email protected]> > cc > > Subject > [Axis2] POJO annotation > > > > > > > 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] > > > > > --------------------------------------------------------------------- > 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]
