Hi Mike (& others), As you suggested, I'm posting the code I've written though its still a work in progress. Have a look & let me know if the approach is OK.
I've marked //TODO at several places - many of those are pending questions. Also, I know that I need to do some refactoring to make the ***.wsm.soap package independent of ***.wsm package. There are a few more improvements that I know of, but feel free to pour in your comments. I had also started writing a WsdlGenerator class but realized that Jonathan Colwell's class AxisHook.java (in the code that he sent a few days back) is a better approach since we are anyway going to integrate with Axis. One more thing - my code represents the JSR 181 annotations in an object model but I haven't provided any setter methods - didn't see much use for those unless someone has an idea for WSDL-2-Java that would require this facility. Let me know your views. You can access the code at: http://www.geocities.com/sharmaak/beehive/src.zip. (Mailing List server won't allow src attachments, as indicated in a recent mail and I wasn't sure if I can go ahead & setup a issue in Jira). Regards, anil. --- Michael Merz <[EMAIL PROTECTED]> wrote: > Hi Anil, > > The apt does have the capability to read the source files and to > (optionally) compile them as well (see controls sources you mentioned in > your email). > In order to initiate discussions early on, to facilitate collaboration > and to avoid several people working on the same problems, it might be > useful to share more specifics and/or the code you're working on with > the list. I think that it'd be cool if we could split the project so > everyone can work on their favorite piece, while making sure that all > pieces will fit together in the end. > Ideally, in my opinion, we would first identify a set of test cases we > could work from. > > Cheers, > > -michael > > -----Original Message----- > From: Anil Sharma [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 19, 2004 11:57 AM > To: Beehive Developers > Subject: RE: Beehive JSR-181 implementation -- proposal > > I started off by writing a few wrapper classes around the annotations. > But I have just done the > annoatation reading using the reflection API in Java 5, nothing yet done > for reading annotations > off the source file. In fact, I'm not sure if we need to do that - just > compiling the source file > using a Java5 compiler or apt and reflecting on the generated class > should be enough. > > Haven't looked at the APT tool, not sure if it has capability to work > off the source code. I'll > also check out the existing beehive code (guess you are talking abt > stuff in > org.apache.beehive.controls.runtime.generator package). > > Anil. > > --- Michael Merz <[EMAIL PROTECTED]> wrote: > > > Hi Anil, > > > > Sounds great. What piece of the annotation processor are you working > on? > > I have started looking at Sun's apt (annotation processing tool), > which > > is also used by the controls subproject. I hope that we can share some > > of the already existing code. > > > > From looking at the Axis code base, I think you're right; we should be > > able to leverage a lot of their code as well, including the Java2WSDL > > and WSDL2Java tools. > > > > Cheers, > > > > -michael > > > > -----Original Message----- > > From: Anil Sharma [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 19, 2004 10:58 AM > > To: Beehive Developers > > Subject: Re: Beehive JSR-181 implementation -- proposal > > > > Hi Michael, Ias & others, > > > > I'd started writing the Annotation Processor component a couple of > days > > back & half-way thru it. > > Should be able to submit my work sometime next week to the group for > > feedback from others. > > > > I also started on the Java2Wsdl part but wasn't sure if it should be > > written indepenently or if > > the Axis code can be reused. From what I saw, there is a lot of scope > of > > reuse from Axis but that > > might require some changes to Axis code. Any views on this? I'm > planning > > to work on this piece > > too, in next 1-2 weeks. > > > > Anil. > > > > --- Michael Merz <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > > > > A proposal for a JSR-181 implementation within Apache's Beehive > > project > > > has been published at Beehive's Wiki: > > > > > > http://wiki.apache.org/beehive/Jsr181Impl > > > > > > in: > > > > > > http://wiki.apache.org/beehive/Web_20Services > > > > > > This proposal is based on previous discussions on this list > (including > > > comments from Ias, Jongjin, and Sanjiva) plus a few additional > ideas; > > it > > > is a very high-level design proposal, intended to be a "living > > document" > > > -- so feel free to add and modify. > > > > > > Cheers, > > > > > > -michael > > > > > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > New and Improved Yahoo! Mail - Send 10MB messages! > > http://promotions.yahoo.com/new_mail > > > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > > _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush
