Hi Deepal,

You may not have seen it yet, but I replied yesterday to your note on not 
getting the AxisOperations when you used the metadata layer.  I believe 
that had to do with which DescriptionFactory method you were using.  I'm 
just about to commit updates to the javadoc in that class and tagging the 
method you were using as deprecated.  Sorry the javadoc wasn't better in 
there to begin with!

The metadata module will build up the full AxisService description 
hierachy given just annotations (no WSDL), or annotations and WSDL. 
Currently the metadata layer does NOT generate the correct schema if 
there's no WSDL; that is something it should probably do. 

Other than that, if the POJODeployer were to create a 
DescriptionBuilderComposite (using the JavaReflection to DBC converter in 
the metadata package, at least for now), it should be able to use the 
metadata layer for both the WSDL-provided and no-WSDL-provided/annotations 
only case.

Thanks,
Jeff

IBM Software Group - WebSphere Web Services Development
Phone: 512-838-4587 or Tie Line 678-4587
Internet e-mail and Sametime ID: [EMAIL PROTECTED]



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]

Reply via email to