Hi Raymond, This tool generates a WSDL 2.0 according to the forms in a specified url. Project was initially proposed by Dr. Sanjiva Weerawarna and it was a research based on using forms in a particular url to be accessed as a web service. At first the url is fetched and converted to an xml, then forms are exactracted using xslt and finally wsdl 2.0 is generated based on the exacted forms in the url. It is under Apache license. You can check its functionality by downloading the file https://wso2.org/svn/browse/wso2/people/wageesha/Form2WSDL2/Tools/Form2WSDL2.jar?revision=15232and using command java -jar Form2WSDL2.jar -uri http://www.msn.com -x hci . It will generate 4 files in the original file's directory named, originalResponse, cleandHtml, intermediatexml and finally the wsdl2.0 for the forms in the url, named webservice.wsdl.
Thanks. Ruchira Wageesha On Tue, Mar 24, 2009 at 10:30 PM, Raymond Feng <[email protected]> wrote: > Hi, Ruchira. > > Thank you for your interest. It's great to see you folks with relevant > experiences to help out. Any contributions are welcome. > > Can you explain a bit more what you have done? Is it under Apache license? > > BTW, we would like to extend the effort to support Java2WSDL in addition to > WSDL2Java with similar capabilities. > > Thanks, > Raymond > > *From:* ruchira wageesha <[email protected]> > *Sent:* Tuesday, March 24, 2009 9:32 AM > *To:* [email protected] > *Subject:* Re: GSOC[2009] WSDL2Java tool for Tuscany > > Hi All, > > I was reading your discussion on this thread and interested in developing > this WSDL2Java tool. I am currently in my final year at University of > Moratuwa and have a good experience in WSDL, XSD, Java etc. I have also > developed a Form2WSDL2 generator during my internship. > https://wso2.org/svn/browse/wso2/people/wageesha/Form2WSDL2/. I want to > know whether this has been occupied or still available and your comments as > well. > > Thanks in Advance, > Ruchira Wageesha > > On Tue, Mar 24, 2009 at 9:25 PM, Raymond Feng <[email protected]> wrote: > >> Hi, Pradeep. >> >> Sorry for not replying promptly. Here is what I have in mind for the >> Tuscany/SCA WSDL2Java tool. >> >> 1) Generate a java interface for each WSDL portType based on the JAX-WS >> mapping rules (the result should be pretty much like the wsimport) >> 2) Allows the plug-in of databinding specific XSD2Java generators (such as >> JAXB xjc or SDO XSD2Java) to generate the Java interfaces/classes from the >> XSD types representing the parts for WSDL messages. The XSD2Java can >> generate strongly-typed java types or weakly-typed java types (such as DOM >> Node, SDO DataObject, or AXIOM OMNode). >> >> There are existing tools from JAX-WS and Axis2 with some deficiencies: >> * JAX-WS wsimport requires the WSDL has service/port. In SCA, we only >> require the portType. JAX-WS wsimport only supports JAXB and there is no way >> to replace it with other databindings such as SDO or AXIOM. >> * Axis2 WSDL2Java is not fully JAX-WS compliant. >> >> I'll add this project to the Apache GSoc2009 wiki [1] so that we can >> collaborate to refine it as the discussions go. >> >> [1] http://wiki.apache.org/general/SummerOfCode2009#tuscany-project >> >> Thanks, >> Raymond >> >> From: Pradeep Fernando >> Sent: Tuesday, March 24, 2009 6:56 AM >> To: tuscany-dev >> Subject: GSOC[2009] WSDL2Java tool for Tuscany >> >> >> >> Hi devs, >> >> In one of the previous mail thread Raymond suggested me to work on a code >> generation tool like WSDL2java >> in the Tuscany project. But he did not go in to the details of the >> requirement. so this is the thoughts built on Raymonds initial idea. >> >> I'm concentrating here on WSDL2JAVA tool for Tuscany. Already there are >> tools in this domain such as Axis2 wsdl2java tool. >> but the problem is the code generation done by that version of the tool is >> not JAX-WS complient. for an example client-stub >> generated by the tool is not jax-ws complient. >> >> WSDL- |-data related to web-service invocation >> |- message schema >> >> Here the schema related stuff is directly related to the databinding and >> we can support various kind of databinding frameworks >> such as: >> >> Jaxb,Jaxbri,XMLbeans, jibx, etc >> >> from the data related to web-service we should generate JAX-WS compliant : >> >> client stubs >> service stubs,etc >> >> This is my thoughts on the code-generation tool. would this be a good idea >> for GSOC 2009 under Tuscany. >> Is it too small for a summer project. >> Any enhancement or areas i should work on? >> Are there any other high priority work to be done before this. waiting for >> your feedbacks. weather it is positive or negative please feel free >> to give feedbacks. >> >> >> Pradeep Fernando. >> >> >> BTW FYI i'm preparing my project proposal on *A binding.wsimplementation >> based on JAX-WS Dispatch and Provider APIs* . >> plz give any feedbacks on this regard in the seperate thread i have >> started iin the list. >> > >
