[prev in list] [next in list] [prev in thread] [next in thread] 

List:       esb-java-dev
Subject:    Re: [Dev] GSOC project: Progress of Automation Test Case Generation Tool
From:       Dharshana Warusavitharana <dharshanaw () wso2 ! com>
Date:       2014-06-30 16:04:47
Message-ID: CAGSMD0f9qtvDdXFyoZVCz5cgJrNdNS0rsyNbu9tokL1+XXvGig () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Sure Rukshan,

Shall we have a hangout so you can demo all things you did so far and draft
a plan to move forward and clarify issues you have.

Thank You,
Dharshana.


On Mon, Jun 30, 2014 at 8:42 AM, Rukshan Chathuranga <rcrukshan17@gmail.com>
wrote:

> Hi all,
> 
> First, thanks you all to your support to successfully complete the project
> up to mid evaluation. Also i'm looking forward your help to continue my
> Project.
> 
> Up to now, i could complete basic requirement of the project. Also next
> steps are very important and very complex. Thus can we a time to discuss
> about these issues?
> 
> Thanks and regards.
> 
> 
> On Tue, Jun 24, 2014 at 10:24 PM, Rukshan Chathuranga <
> rcrukshan17@gmail.com> wrote:
> 
> > Hi All,
> > 
> > I thought to share my experience i gained during this GSOC project. While
> > doing this i faced lot of Problems and have to come up with solutions to
> > overcome those things. Thus i am going to summarize those thing in this
> > mail.
> > 
> > At the very beginning i have to identifying the Project scope well.
> > Project goal was to let users to write the test cases for WSO2 Product in
> > natural Language. For that i develop the Design architecture[1]. According
> > to the Design, test cases are write on a text file. Then convert them all
> > to the common format and keep them in XML files. Also design module called
> > Common API used to identified correct admin service at the back-end and
> > invoke them. This was the initial design and foundation to the Project.
> > 
> > I divided the project into three module based on the functions. Those are,
> > 
> > 
> > - Natural Language Processor,
> > - Common API
> > - Test Execution Engine.
> > 
> > 
> > To process Natural Language i decided to use OpenNLP. but it had some
> > complexities and that won't in our Project. Because we have to add some
> > limitations when write test cases. The alternative was the Robot Framework.
> > it have capability of natural language processing and use of Dynamic
> > Libraries, predefined and 3 rd party Libraries. Thus i carried out testing
> > and research to confirm its capability. Then it was success and decided to
> > use Robot framework.
> > 
> > The next requirement was to implement the Admin service Clients. It
> > should be dynamically generated, because there can be any number of Admin
> > services. For that i used the WSDL2java with eclipse "cxf-codegen-plugin"
> > plug-in. it work well to generate Client code based on the WSDL. it
> > generate the Stub classes and have to implement(code by manual) client
> > codes. According to the project scope this one also have to be automated.
> > then i identified the pattern that can used to generate Client for their
> > available operations. Then used the java String template[2] to define
> > common template to generate Client classes. But to generate class it need
> > to get WSDL details like port-type, available operations, parameters etc.
> > it was hard to get them reading from WSDL as XML. i found a library that
> > fit for this requirement, named SOA-model-core[3]. all this together it was
> > possible to generate the Client classes. Then used them as Library to Robot
> > Framework.
> > 
> > But when testing more WSDL file, it was not work as expected. Reason was
> > in the WSDL, there was predefined namespaces inside java. then generating
> > Stub class, it generated class with invalid package name like "
> > java.util.xsd". Thus it was not possible to generate stub class form
> > same steps. it has to map invalid namespaces to valid ones manually. Then i
> > identified the such a admin service and import them as Maven dependencies
> > and avoid auto generating Stub class. Then have to improve the Client
> > generating part based on this new changes. Then used the java reflection to
> > identified the available operations and namespace rather than reading WSDL.
> > But Stub class have unwanted parameter and operations. to Filter them
> > again, used WSDL to get such a information. Then it was possible to
> > generate Client classes based on the Stub classes, WSDL file and with java
> > reflection and String template.
> > 
> > up-to this point project was implemented as testing project and it can be
> > available at the git repository[4].
> > 
> > Clients are generated based on the Stub class and WSDL file. Those
> > details should be automatically configured. Also generated Client classes
> > used as Library for scripting and user have to import them before use them.
> > Library name is getting by adding "Library" to its service name. All the
> > automated Clients are generated into java "robotlib
> > <https://github.com/ruks/Automated-test-case-generation-tool/tree/master/Auto-TAF-cmd/src/main/java/robotlib>"
> >  package. Whenever user import Some library it should be generated in to
> > proper place before test cases are execute. Thus before test execution
> > start, it read the test script and identified the imported libraries. Next,
> > it collect necessary information like Stub class name and WSDL file name.
> > Then generated the Clients. Get information based on Library was
> > implemented in easy way. Project Contain the service.xml. it contain the
> > elements named "services" and it keep the available main admin services
> > Stub class and WSDL file names.
> > 
> > Then after the demonstrate this solution, i get the actual test scenario.
> > it's steps was like this
> > 
> > 1.log in to esb
> > 2.upload a proxy to esb
> > 3.check whether it was deployed successfully
> > 4.send a payload to the proxy
> > 5.Get the response
> > 6.Check the response is correct/incorrect
> > 
> > 
> > Up to now Authentication function and keyword for robot script was
> > already implemented and worked well. uploading proxy and verify was
> > function of the ProxyServiceAdmin service. let it automate to generate
> > Client classes. But problem was when adding parameters to the method, it
> > required Object rather than string or int information. Thus method of the
> > Class have to be manually customized and avoided it generating
> > automatically.
> > 
> > The next step was to send the payload and get the response. The solution
> > was use the Axis2ServiceClient. But Mr Malintha Provided
> > Already implemented code sample for that and just had to customized it.
> > Then it was possible to automate such a test scenario.
> > 
> > But next step is to let users to write the test script in natural
> > language and easy to understand to them. Also it should assert low
> > level function and configuration. For that, used configuration file to keep
> > some configurations. This configuration file have to be improve as XML file
> > to keep many configuration detail for all the test cases.
> > 
> > 
> > The ultimate Goal of the project was to add this features to WSO2 TAF.
> > Now most of the basic functions and implementation are finished. As
> > next step it should be integrate to the TAF. Also some improvement have to
> > be done for scripting to support usability. For that i suppose to add more \
> > descriptive Keyword to the Robot framework to use functions and assert the \
> > response. For that supposed to add different kind of libraries like \
> > static,Dynamic, 3rd party and standard Libraries. Static libraries mean some \
> > libraries that are not going to be change. Dynamic libraries will be
> > generated whenever user use it. 3rd party libraries like Selenium Driver
> > also can be used. Standard Library mean Some static Libraries that can be
> > used to test the response. it will contain some basic functions to Assert
> > arrays, Objects and create some complex data types like Arrays, Objects
> > and Om-element.
> > 
> > 
> > This is the current Progress of the Project and further plan of the
> > implementation. Most of the basic
> > and foundation implementation have implemented and after the End of the
> > Project it will fulfill the project ultimate goal. I blog about
> > current experience I've gained on my website[5]. Some basic
> > example I've tried can be available on it. Also All the test Projects, web
> > service Project and different version of the current Project can be found
> > at my git repository[6]. The Project that currently working on can be found
> > at the this repository[7].
> > 
> > 
> > [1]
> > http://rukspot.com/sites/default/files/images/wso2/wso2_Test_Archi_3.png
> > [2] http://www.stringtemplate.org/
> > [3] http://www.membrane-soa.org/downloads/soa-model.htm
> > [4]
> > https://github.com/ruks/Automated-test-case-generation-tool/tree/master/test1
> > [5] http://rukspot.com/
> > [6] https://github.com/ruks/Automated-test-case-generation-tool
> > [7]
> > https://github.com/ruks/Automated-test-case-generation-tool/tree/master/Auto-TAF-cmd
> >  
> > 
> > 
> > Thanks and regards.
> > 
> > 
> > 
> > On Mon, Jun 23, 2014 at 7:48 PM, Malintha Adikari <malintha@wso2.com>
> > wrote:
> > 
> > > Hi Rukshan,
> > > 
> > > Test Automation Framework uses single location (automation.xml file )
> > > [1] to store all configuration details related to tests. According the
> > > robot scripts you have sent ,test scripts include lot of configuration
> > > details. We can use automation.xml to retrieve appropriate configurations
> > > as it already facilitates to store most of those configuration details.
> > > Please have a look at automation.xml file and let's come up with a way to
> > > handle those configuration details include in robot scripts.
> > > 
> > > [1]
> > > https://github.com/wso2-dev/carbon-platform-integration/blob/master/test-automat \
> > > ion-framework/org.wso2.carbon.automation.engine/src/main/resources/automation.xml
> > >  
> > > Regards,
> > > Malintha Adikari
> > > 
> > > 
> > > On Mon, Jun 23, 2014 at 3:58 PM, Rukshan Chathuranga <
> > > rcrukshan17@gmail.com> wrote:
> > > 
> > > > Hi all,
> > > > 
> > > > 
> > > > I attached the Document with actual scenario and Robot framework
> > > > script with this. Also have attached the original robot framework script
> > > > source file. Some comments have added to the Script for describe the
> > > > functions.
> > > > 
> > > > If Some clarification is needed to understand the script please let me
> > > > know.
> > > > 
> > > > Thanks and regards.
> > > > 
> > > > 
> > > > 
> > > > On Mon, Jun 23, 2014 at 9:39 AM, Malintha Adikari <malintha@wso2.com>
> > > > wrote:
> > > > 
> > > > > Hi Rukshan,
> > > > > 
> > > > > Can you provide the robot script and the original scenario steps in a
> > > > > same doc. So we can use that document to compare two cases.
> > > > > 
> > > > > Regards,
> > > > > Malintha Adikari
> > > > > 
> > > > > 
> > > > > On Sun, Jun 22, 2014 at 9:47 AM, Rukshan Chathuranga <
> > > > > rcrukshan17@gmail.com> wrote:
> > > > > 
> > > > > > HI all,
> > > > > > 
> > > > > > Previous  days i was working on adding testing scenario like below
> > > > > > steps.
> > > > > > 
> > > > > > 1.log in to esb
> > > > > > 
> > > > > > 2.upload a proxy to esb
> > > > > > 3.check whether it was deployed successfully
> > > > > > 4.send a payload to the proxy
> > > > > > 5.Get the response
> > > > > > 6.Check the response is correct/incorrect
> > > > > > 
> > > > > > After a one week of research and testing i was able
> > > > > > to successfully Automate scenario like above. Still i am testing with \
> > > > > > this scenario to improve the it's correctness and improve the usability.
> > > > > > 
> > > > > > The project with these new modification can be view on my Git
> > > > > > repository[1].
> > > > > > Also all the projects and testing project i did so far can be view on
> > > > > > main repo.[2]
> > > > > > 
> > > > > > [1]
> > > > > > https://github.com/ruks/Automated-test-case-generation-tool/tree/master/Auto-TAF-cmd
> > > > > >  [2]https://github.com/ruks/Automated-test-case-generation-tool
> > > > > > 
> > > > > > Thanks and regards.
> > > > > > 
> > > > > > 
> > > > > > On Fri, Jun 20, 2014 at 9:22 PM, Rukshan Chathuranga <
> > > > > > rcrukshan17@gmail.com> wrote:
> > > > > > 
> > > > > > > Hi all,
> > > > > > > 
> > > > > > > I used the above[1] example to send a payload to the Axis2 Services.
> > > > > > > It works well on services that deployed on Axis2 server. But it is not \
> > > > > > > work for the Uploaded proxy services of the ESB. What can be the \
> > > > > > > problem? 
> > > > > > > This is the exception i got.
> > > > > > > "AxisFault while getting response :The input stream for an incoming
> > > > > > > message is null."
> > > > > > > 
> > > > > > > Also i used "https://localhost:8243/services/echo"
> > > > > > > as endPointReference.
> > > > > > > 
> > > > > > > [1]
> > > > > > > https://github.com/wso2/carbon-platform-integration/blob/master/test-aut \
> > > > > > > omation-framework/org.wso2.carbon.automation.test.utils/src/main/java/org/wso2/carbon/automation/test/utils/axis2client/AxisServiceClient.java
> > > > > > >  
> > > > > > > 
> > > > > > > On Fri, Jun 20, 2014 at 2:07 PM, Malintha Adikari <malintha@wso2.com
> > > > > > > > wrote:
> > > > > > > 
> > > > > > > > 
> > > > > > > > Hi Rukshan,
> > > > > > > > 
> > > > > > > > On Thu, Jun 19, 2014 at 7:01 PM, Rukshan Chathuranga <
> > > > > > > > rcrukshan17@gmail.com> wrote:
> > > > > > > > 
> > > > > > > > > Hi all,
> > > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > > I could automate the ProxyServiceAdmin Admin service to upload the
> > > > > > > > > proxy to ESB. Also it support, Confirm whether it is successful or \
> > > > > > > > > not. This steps was possible to written in robot test script.
> > > > > > > > > Thus i'm try to scripting and automate to invoke the uploaded
> > > > > > > > > proxy services. for that can you let me know, what are the \
> > > > > > > > > available options to invoke the proxy services.
> > > > > > > > > 
> > > > > > > > 
> > > > > > > > You can use Axis2ServiceClient [1] for invoked the deployed proxy
> > > > > > > > service.
> > > > > > > > 
> > > > > > > > [1]
> > > > > > > > https://github.com/wso2/carbon-platform-integration/blob/master/test-a \
> > > > > > > > utomation-framework/org.wso2.carbon.automation.test.utils/src/main/java/org/wso2/carbon/automation/test/utils/axis2client/AxisServiceClient.java
> > > > > > > >  
> > > > > > > > Regards,
> > > > > > > > Malintha Adikari
> > > > > > > > 
> > > > > > > > > 
> > > > > > > > > Thanks and regards.
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > On Thu, Jun 19, 2014 at 11:56 AM, Malintha Adikari <
> > > > > > > > > malintha@wso2.com> wrote:
> > > > > > > > > 
> > > > > > > > > > Please note the update for the test scenario :
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > On Thu, Jun 19, 2014 at 11:52 AM, Malintha Adikari <
> > > > > > > > > > malintha@wso2.com> wrote:
> > > > > > > > > > 
> > > > > > > > > > > Hi Rukshan,
> > > > > > > > > > > 
> > > > > > > > > > > As the next step we can evaluate the usability of robot \
> > > > > > > > > > > scripts. Then  we have to come up with a way to enhance the \
> > > > > > > > > > > usability of the test scripts based on that evaluation. Could \
> > > > > > > > > > > you try to develop an automated test case using robot for \
> > > > > > > > > > > following test scenario and compare the original script and \
> > > > > > > > > > > robot script and evaluate the differences between two 
> > > > > > > > > > > *. login to Application server
> > > > > > > > > > * upload a service to application server
> > > > > > > > > > * confirm the uploaded server has been deployed successfully
> > > > > > > > > > (this should be your back end service for the ESB proxy service)
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > > 1.login to esb
> > > > > > > > > > > 2.upload a proxy to esb
> > > > > > > > > > > 3.check whether it was deployed successfully
> > > > > > > > > > > 4.send a payload to the proxy
> > > > > > > > > > > 5.Get the response
> > > > > > > > > > > 6.Check the response is correct/incorrect
> > > > > > > > > > > 
> > > > > > > > > > > Regards,
> > > > > > > > > > > Malintha Adikari
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > On Tue, Jun 17, 2014 at 2:14 PM, Rukshan Chathuranga <
> > > > > > > > > > > rcrukshan17@gmail.com> wrote:
> > > > > > > > > > > 
> > > > > > > > > > > > Hi all,
> > > > > > > > > > > > 
> > > > > > > > > > > > I added a xml file to keep stub name and wsdl file name of
> > > > > > > > > > > > each admin services. its structure is looks like this.
> > > > > > > > > > > > 
> > > > > > > > > > > > <service
> > > > > > > > > > > > stub="org.wso2.carbon.statistics.stub.StatisticsAdminStub"
> > > > > > > > > > > > name="StatisticsAdmin" wsdl="StatisticsAdmin" \
> > > > > > > > > > > > lib="StatisticsAdminLibrary"/> 
> > > > > > > > > > > > Then added new java method to return wsdl name and stub class
> > > > > > > > > > > > name. It is like this.
> > > > > > > > > > > > 
> > > > > > > > > > > > public static String[] getServiceInfor(String lib) {
> > > > > > > > > > > > File pomfile = new File("service.xml");
> > > > > > > > > > > > String[] res;
> > > > > > > > > > > > try {
> > > > > > > > > > > > 
> > > > > > > > > > > > DocumentBuilder dBuilder = \
> > > > > > > > > > > >                 DocumentBuilderFactory.newInstance()
> > > > > > > > > > > > .newDocumentBuilder();
> > > > > > > > > > > > Document doc = dBuilder.parse(pomfile);
> > > > > > > > > > > > System.out.println("Root element :"
> > > > > > > > > > > > + doc.getDocumentElement().getNodeName());
> > > > > > > > > > > > 
> > > > > > > > > > > > NodeList service = doc.getElementsByTagName("service");
> > > > > > > > > > > > for (int i = 0; i < service.getLength(); i++) {
> > > > > > > > > > > > Element ele = (Element) service.item(i);
> > > > > > > > > > > > if (ele.getAttribute("lib").equals(lib)) {
> > > > > > > > > > > > res = new String[2];
> > > > > > > > > > > > res[0] = ele.getAttribute("stub");
> > > > > > > > > > > > res[1] = ele.getAttribute("wsdl");
> > > > > > > > > > > > return res;
> > > > > > > > > > > > }
> > > > > > > > > > > > 
> > > > > > > > > > > > }
> > > > > > > > > > > > return null;
> > > > > > > > > > > > 
> > > > > > > > > > > > } catch (Exception e) {
> > > > > > > > > > > > System.out.println(e.getMessage());
> > > > > > > > > > > > return null;
> > > > > > > > > > > > }
> > > > > > > > > > > > }
> > > > > > > > > > > > 
> > > > > > > > > > > > 
> > > > > > > > > > > > So if there are any issue in this procedure please let me \
> > > > > > > > > > > > know. 
> > > > > > > > > > > > 
> > > > > > > > > > > > Thanks and regards.
> > > > > > > > > > > > 
> > > > > > > > > > > > 
> > > > > > > > > > > > 
> > > > > > > > > > > > 
> > > > > > > > > > > > On Sat, Jun 14, 2014 at 9:10 AM, Rukshan Chathuranga <
> > > > > > > > > > > > rcrukshan17@gmail.com> wrote:
> > > > > > > > > > > > 
> > > > > > > > > > > > > Hi Dharshana,
> > > > > > > > > > > > > 
> > > > > > > > > > > > > No. it was not the resolving the dependencies of the \
> > > > > > > > > > > > > client. Sorry if my mail is not much clear. :)
> > > > > > > > > > > > > 
> > > > > > > > > > > > > I wanted to import required classes for Client that \
> > > > > > > > > > > > > generated based on the Stub classes. My first step was \
> > > > > > > > > > > > > taking package information from the POM.xml as you said. \
> > > > > > > > > > > > > but it contain only some parent package names and also \
> > > > > > > > > > > > > those get mapped to the new package names(rename). Thus it \
> > > > > > > > > > > > > was difficulty to extract all the classes. Also some extra \
> > > > > > > > > > > > > libraries get imported and some required libraries not get \
> > > > > > > > > > > > > imported. 
> > > > > > > > > > > > > But using reflection it is possible to get all the \
> > > > > > > > > > > > > operation's information of the stub classes. Then importing \
> > > > > > > > > > > > > required class for parameters and return type was much \
> > > > > > > > > > > > > easier. 
> > > > > > > > > > > > > ex:
> > > > > > > > > > > > > import org.wso2.carbon.service.mgt.stub.ServiceAdminStub;
> > > > > > > > > > > > > import
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > import
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > \
> > > > > > > > > > > > > 
> > > > > > > > > > > > > 
> > > > > > > > > > > > > Thanks and regards.
> > > > > > > > > > > > > 
> > > > > > > > > > > > > 
> > > > > > > > > > > > > 
> > > > > > > > > > > > > 
> > > > > > > > > > > > > On Sat, Jun 14, 2014 at 12:18 AM, Dharshana Warusavitharana \
> > > > > > > > > > > > > < dharshanaw@wso2.com> wrote:
> > > > > > > > > > > > > 
> > > > > > > > > > > > > > Hi Rekshan,
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > Do we really need this step. AFAICU you are trying to
> > > > > > > > > > > > > > automate the dependency resolving of your client library.
> > > > > > > > > > > > > > Basically, there is a limited set of dependency for \
> > > > > > > > > > > > > > external libraries when you are generating the client. \
> > > > > > > > > > > > > > That won't expand much over introducing new stubs.
> > > > > > > > > > > > > > You can have general pom file which have basic \
> > > > > > > > > > > > > > dependencies which are common to the general stubs.
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > And im not clear how you would identify extra libraries \
> > > > > > > > > > > > > > you need by just using reflection.
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > Correct me if im wrong
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > Thank you,
> > > > > > > > > > > > > > Dharshana.
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > On Fri, Jun 13, 2014 at 10:51 AM, Rukshan Chathuranga <
> > > > > > > > > > > > > > rcrukshan17@gmail.com> wrote:
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > Hi All,
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > I could manage the issue occurred during Client \
> > > > > > > > > > > > > > > generation from Stub. I get operations from the WSDL \
> > > > > > > > > > > > > > > file and used Java reflection to identify the \
> > > > > > > > > > > > > > > information of those operation. Then it help me to \
> > > > > > > > > > > > > > > identified the required Libraries and import them into \
> > > > > > > > > > > > > > > generated Client libraries. Also added Property file to \
> > > > > > > > > > > > > > > get services host and port information. 
> > > > > > > > > > > > > > > new version of the project can be found from here.
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > Thanks and regards.
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > On Tue, Jun 10, 2014 at 3:24 PM, Rukshan Chathuranga <
> > > > > > > > > > > > > > > rcrukshan17@gmail.com> wrote:
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > Hi Malintha,
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > Generating Client from Stub is not problem with one \
> > > > > > > > > > > > > > > > String template file. Template file contain generic \
> > > > > > > > > > > > > > > > Class structure like Method, Constructor, Fields and \
> > > > > > > > > > > > > > > > Import library. Only difference is their name and \
> > > > > > > > > > > > > > > > object type. Identifying the those names and type \
> > > > > > > > > > > > > > > > from WSDL, it is possible to generate Different \
> > > > > > > > > > > > > > > > client for different Stub. 
> > > > > > > > > > > > > > > > Thanks and regards.
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > On Tue, Jun 10, 2014 at 3:09 PM, Malintha Adikari <
> > > > > > > > > > > > > > > > malintha@wso2.com> wrote:
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > Hi Rukshan,
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > On Tue, Jun 10, 2014 at 2:49 PM, Rukshan \
> > > > > > > > > > > > > > > > > Chathuranga < rcrukshan17@gmail.com> wrote:
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > Hi all,
> > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > These days i am working on Automatically \
> > > > > > > > > > > > > > > > > > Generating Client code. Now i able to generate \
> > > > > > > > > > > > > > > > > > Client Code using String Template. For That i \
> > > > > > > > > > > > > > > > > > Used previously Used String Template file with \
> > > > > > > > > > > > > > > > > > Some Modification. 
> > > > > > > > > > > > > > > > > > Now project can generate the Stub file and \
> > > > > > > > > > > > > > > > > > automatically generate the Client Based on the \
> > > > > > > > > > > > > > > > > > WSDL and Stub. 
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > I have a doubt about using single string template \
> > > > > > > > > > > > > > > > > for generating client code for all stubs. The \
> > > > > > > > > > > > > > > > > purpose and the implementation of each admin \
> > > > > > > > > > > > > > > > > service is different. So Can we use one string \
> > > > > > > > > > > > > > > > > template for generating the clients for all those \
> > > > > > > > > > > > > > > > > different WSDLs. String template approach is \
> > > > > > > > > > > > > > > > > better. IMO, we have to come up with a way to treat \
> > > > > > > > > > > > > > > > > all different admin services through string \
> > > > > > > > > > > > > > > > > templates. 
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > Also generated Client can be used as Library to \
> > > > > > > > > > > > > > > > > > Robot Framework to implement keyword driven \
> > > > > > > > > > > > > > > > > > testing. Also it's possible to invoke Admin \
> > > > > > > > > > > > > > > > > > services and Assert the operation. 
> > > > > > > > > > > > > > > > > > With all of these modification i create the new \
> > > > > > > > > > > > > > > > > > Project and committed to the Git Repo. It is \
> > > > > > > > > > > > > > > > > > available at here. 
> > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > Then for the next few days i'm hoping to \
> > > > > > > > > > > > > > > > > > understand the Robot Framework scripting in depth \
> > > > > > > > > > > > > > > > > > to verify whether we can improve Robot framework \
> > > > > > > > > > > > > > > > > > scripting. 
> > > > > > > > > > > > > > > > > > Yes, We have to make test writing user friendly. \
> > > > > > > > > > > > > > > > > > First we
> > > > > > > > > > > > > > > > > have to find points that make test writing \
> > > > > > > > > > > > > > > > > difficult. Then we have to come up with a generic \
> > > > > > > > > > > > > > > > > solution to call all those difficulties. Can you \
> > > > > > > > > > > > > > > > > try to write test cases for some different admin \
> > > > > > > > > > > > > > > > > services with your existing solution. Then you can \
> > > > > > > > > > > > > > > > > refer those test to analyze difficulties. 
> > > > > > > > > > > > > > > > > Regards,
> > > > > > > > > > > > > > > > > Malintha Adikari
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > Thanks and regards.
> > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > On Sun, Jun 8, 2014 at 12:17 AM, Rukshan \
> > > > > > > > > > > > > > > > > > Chathuranga < rcrukshan17@gmail.com> wrote:
> > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > > Hi all,
> > > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > > These days i am working on solving the problems \
> > > > > > > > > > > > > > > > > > > that are occurred during the Client Generation. \
> > > > > > > > > > > > > > > > > > > These exceptions are occurred when using the \
> > > > > > > > > > > > > > > > > > > "cxf-codegen-plugin" with wsdl2java. As a \
> > > > > > > > > > > > > > > > > > > alternative solution, i decided to understand \
> > > > > > > > > > > > > > > > > > > the existing service stub generating procedure \
> > > > > > > > > > > > > > > > > > > to generate Stub code. And then generate Client \
> > > > > > > > > > > > > > > > > > > code that could be use as Library to Robot \
> > > > > > > > > > > > > > > > > > > Framework. 
> > > > > > > > > > > > > > > > > > > For that i refereed these two
> > > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > > repositories to generate Stub sources
> > > > > > > > > > > > > > > > > > > to support my requirement. up to now i could be \
> > > > > > > > > > > > > > > > > > > able to generate Stub code for WSDL listed in \
> > > > > > > > > > > > > > > > > > > these repositories. 
> > > > > > > > > > > > > > > > > > > Also the main problem had earlier the \
> > > > > > > > > > > > > > > > > > > "certificate Exception" occurred initiating \
> > > > > > > > > > > > > > > > > > > Client, could be solved by setting up \
> > > > > > > > > > > > > > > > > > > certificate file properly in system property. 
> > > > > > > > > > > > > > > > > > > Now Robot framework able to run test case with
> > > > > > > > > > > > > > > > > > > authenticate and invoke some basic admin \
> > > > > > > > > > > > > > > > > > > service that are hard coded as Library to Robot \
> > > > > > > > > > > > > > > > > > > framework. 
> > > > > > > > > > > > > > > > > > > Thus my next step is to Generate this Library \
> > > > > > > > > > > > > > > > > > > Classes Automatically based on the WSDL file \
> > > > > > > > > > > > > > > > > > > and provide to the Robot framework as Library. \
> > > > > > > > > > > > > > > > > > > For this I decided to use my previous method \
> > > > > > > > > > > > > > > > > > > that used String Template to generate Library \
> > > > > > > > > > > > > > > > > > > Files, with few modification. 
> > > > > > > > > > > > > > > > > > > Thanks and regards.
> > > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > Department Of Computer Science & Engineering,
> > > > > > > > > > > > > > > > > > > Faculty Of Engineering,
> > > > > > > > > > > > > > > > > > > University Of Moratuwa.
> > > > > > > > > > > > > > > > > > > Sri lanka
> > > > > > > > > > > > > > > > > > > WEB: http://rukspot.com/
> > > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > Department Of Computer Science & Engineering,
> > > > > > > > > > > > > > > > > > Faculty Of Engineering,
> > > > > > > > > > > > > > > > > > University Of Moratuwa.
> > > > > > > > > > > > > > > > > > Sri lanka.
> > > > > > > > > > > > > > > > > > WEB: http://rukspot.com/
> > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > *Malintha Adikari*
> > > > > > > > > > > > > > > > > Software Engineer
> > > > > > > > > > > > > > > > > WSO2 Inc.; http://wso2.com
> > > > > > > > > > > > > > > > > lean.enterprise.middleware
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > Mobile: +94 71 2312958
> > > > > > > > > > > > > > > > > Blog:    http://malinthas.blogspot.com
> > > > > > > > > > > > > > > > > Page:   http://about.me/malintha
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > Department Of Computer Science & Engineering,
> > > > > > > > > > > > > > > > Faculty Of Engineering,
> > > > > > > > > > > > > > > > University Of Moratuwa.
> > > > > > > > > > > > > > > > Sri lanka.
> > > > > > > > > > > > > > > > WEB: http://rukspot.com/
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > Department Of Computer Science & Engineering,
> > > > > > > > > > > > > > > Faculty Of Engineering,
> > > > > > > > > > > > > > > University Of Moratuwa.
> > > > > > > > > > > > > > > Sri lanka.
> > > > > > > > > > > > > > > WEB: http://rukspot.com/
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > Dharshana Warusavitharana
> > > > > > > > > > > > > > Senior Software Engineer , Test Automation
> > > > > > > > > > > > > > WSO2 Inc. http://wso2.com
> > > > > > > > > > > > > > email : dharshanaw@wso2.com <dharshanaw@wso2.com>
> > > > > > > > > > > > > > Tel  : +94 11 214 5345
> > > > > > > > > > > > > > Fax :+94 11 2145300
> > > > > > > > > > > > > > cell : +94772202595
> > > > > > > > > > > > > > blog : http://dharshanaw.blogspot.com
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > lean . enterprise . middleware
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > 
> > > > > > > > > > > > > 
> > > > > > > > > > > > > 
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Department Of Computer Science & Engineering,
> > > > > > > > > > > > > Faculty Of Engineering,
> > > > > > > > > > > > > University Of Moratuwa.
> > > > > > > > > > > > > Sri lanka.
> > > > > > > > > > > > > WEB: http://rukspot.com/
> > > > > > > > > > > > > 
> > > > > > > > > > > > > 
> > > > > > > > > > > > 
> > > > > > > > > > > > 
> > > > > > > > > > > > --
> > > > > > > > > > > > Department Of Computer Science & Engineering,
> > > > > > > > > > > > Faculty Of Engineering,
> > > > > > > > > > > > University Of Moratuwa.
> > > > > > > > > > > > Sri lanka.
> > > > > > > > > > > > WEB: http://rukspot.com/
> > > > > > > > > > > > 
> > > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > --
> > > > > > > > > > > *Malintha Adikari*
> > > > > > > > > > > Software Engineer
> > > > > > > > > > > WSO2 Inc.; http://wso2.com
> > > > > > > > > > > lean.enterprise.middleware
> > > > > > > > > > > 
> > > > > > > > > > > Mobile: +94 71 2312958
> > > > > > > > > > > Blog:    http://malinthas.blogspot.com
> > > > > > > > > > > Page:   http://about.me/malintha
> > > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > --
> > > > > > > > > > *Malintha Adikari*
> > > > > > > > > > Software Engineer
> > > > > > > > > > WSO2 Inc.; http://wso2.com
> > > > > > > > > > lean.enterprise.middleware
> > > > > > > > > > 
> > > > > > > > > > Mobile: +94 71 2312958
> > > > > > > > > > Blog:    http://malinthas.blogspot.com
> > > > > > > > > > Page:   http://about.me/malintha
> > > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > --
> > > > > > > > > Department Of Computer Science & Engineering,
> > > > > > > > > Faculty Of Engineering,
> > > > > > > > > University Of Moratuwa.
> > > > > > > > > Sri lanka.
> > > > > > > > > WEB: http://rukspot.com/
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > --
> > > > > > > > *Malintha Adikari*
> > > > > > > > Software Engineer
> > > > > > > > WSO2 Inc.; http://wso2.com
> > > > > > > > lean.enterprise.middleware
> > > > > > > > 
> > > > > > > > Mobile: +94 71 2312958
> > > > > > > > Blog:    http://malinthas.blogspot.com
> > > > > > > > Page:   http://about.me/malintha
> > > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > --
> > > > > > > Department Of Computer Science & Engineering,
> > > > > > > Faculty Of Engineering,
> > > > > > > University Of Moratuwa.
> > > > > > > Sri lanka.
> > > > > > > WEB: http://rukspot.com/
> > > > > > > 
> > > > > > > 
> > > > > > 
> > > > > > 
> > > > > > --
> > > > > > Department Of Computer Science & Engineering,
> > > > > > Faculty Of Engineering,
> > > > > > University Of Moratuwa.
> > > > > > Sri lanka.
> > > > > > WEB: http://rukspot.com/
> > > > > > 
> > > > > > 
> > > > > 
> > > > > 
> > > > > --
> > > > > *Malintha Adikari*
> > > > > Software Engineer
> > > > > WSO2 Inc.; http://wso2.com
> > > > > lean.enterprise.middleware
> > > > > 
> > > > > Mobile: +94 71 2312958
> > > > > Blog:    http://malinthas.blogspot.com
> > > > > Page:   http://about.me/malintha
> > > > > 
> > > > 
> > > > 
> > > > 
> > > > --
> > > > Department Of Computer Science & Engineering,
> > > > Faculty Of Engineering,
> > > > University Of Moratuwa.
> > > > Sri lanka.
> > > > WEB: http://rukspot.com/
> > > > 
> > > > 
> > > 
> > > 
> > > --
> > > *Malintha Adikari*
> > > Software Engineer
> > > WSO2 Inc.; http://wso2.com
> > > lean.enterprise.middleware
> > > 
> > > Mobile: +94 71 2312958
> > > Blog:    http://malinthas.blogspot.com
> > > Page:   http://about.me/malintha
> > > 
> > 
> > 
> > 
> > --
> > Department Of Computer Science & Engineering,
> > Faculty Of Engineering,
> > University Of Moratuwa.
> > Sri lanka.
> > WEB: http://rukspot.com/
> > 
> > 
> 
> 
> --
> Department Of Computer Science & Engineering,
> Faculty Of Engineering,
> University Of Moratuwa.
> Sri lanka.
> WEB: http://rukspot.com/
> 
> 


-- 

Dharshana Warusavitharana
Senior Software Engineer , Test Automation
WSO2 Inc. http://wso2.com
email : dharshanaw@wso2.com <dharshanaw@wso2.com>
Tel  : +94 11 214 5345
Fax :+94 11 2145300
cell : +94772202595
blog : http://dharshanaw.blogspot.com

lean . enterprise . middleware


[Attachment #5 (text/html)]

<div dir="ltr">Sure Rukshan,<div><br></div><div>Shall we have a hangout so you can \
demo all things you did so far and draft a plan to move forward and  clarify issues \
you have.  </div><div><br></div><div>Thank You,</div><div> <span \
id="f5a573b5-449b-433d-ab14-b51085e12f72" \
class="GINGER_SOFTWARE_mark">Dharshana</span>.</div></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 30, 2014 at 8:42 AM, \
Rukshan Chathuranga <span dir="ltr">&lt;<a href="mailto:rcrukshan17@gmail.com" \
target="_blank">rcrukshan17@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>First, thanks you \
all to your support to successfully complete the project up to mid evaluation. Also \
i&#39;m looking forward your help to continue my Project.  </div> <div><br></div>
<div>Up to now, i could complete basic requirement of the project. Also next steps \
are very important and very complex. Thus can we a time to discuss about these \
issues?</div><div><br></div><div>Thanks and regards.</div> </div><div \
class="HOEnZb"><div class="h5"> <div class="gmail_extra"><br><br><div \
class="gmail_quote">On Tue, Jun 24, 2014 at 10:24 PM, Rukshan Chathuranga <span \
dir="ltr">&lt;<a href="mailto:rcrukshan17@gmail.com" \
target="_blank">rcrukshan17@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I thought to share \
my experience i gained during this GSOC project. While doing this i faced lot of \
Problems and have to come up with solutions to overcome those things. Thus i am going \
to summarize those thing in this mail.</div>


<div><br></div><div>At the very beginning i have to identifying the Project scope \
well. Project goal was to let users to write the test cases for WSO2 Product in \
natural Language. For that i develop the Design architecture[1]. According to the \
Design, test cases are write on a text file. Then convert them all to the common \
format and keep them in XML files. Also design module called Common API used to \
identified correct admin service at the back-end and invoke them. This was the \
initial design and foundation to the Project.</div>


<div><br></div><div>I divided the project into three module based on the functions. \
Those are,</div><div><br></div><div><ul><li>Natural Language \
Processor,<br></li><li>Common API<br></li><li>Test Execution Engine.<br></li>


</ul></div><div><br></div><div>To process Natural Language i decided to use OpenNLP. \
but it had some complexities and that won&#39;t in our Project. Because we have to \
add some limitations when write test cases. The alternative was the Robot Framework. \
it have capability of natural language processing and use of Dynamic Libraries, \
predefined and 3 rd party Libraries. Thus i carried out testing and research to \
confirm its capability. Then it was success and decided to use Robot framework.</div>


<div><br></div><div>The next requirement was to implement the Admin service Clients. \
It should be dynamically generated, because there can be any number of Admin \
services. For that i used the WSDL2java with eclipse &quot;cxf-codegen-plugin&quot; \
plug-in. it work well to generate Client code based on the WSDL. it generate the Stub \
classes and have to implement(code by manual) client codes. According to the project \
scope this one also have to be automated. then i identified the pattern that can used \
to generate Client for their available operations. Then used the java String \
template[2] to define common template to generate Client classes. But to generate \
class it need to get WSDL details like port-type, available operations, parameters \
etc. it was hard to get them reading from WSDL as XML. i found a library that fit for \
this requirement, named SOA-model-core[3]. all this together it was possible to \
generate the Client classes. Then used  them  as Library to Robot Framework.</div>


<div><br></div><div>But when testing more WSDL file, it was not work as expected. \
Reason was in the WSDL, there was predefined namespaces inside java. then generating \
Stub class, it generated class with invalid package name like &quot;<span \
style="font-family:arial,sans-serif;font-size:13px">java.util.xsd</span>&quot;. Thus \
it was not possible to generate stub class form same steps. it has to map invalid \
namespaces to valid ones manually. Then i identified the such a admin service and \
import them as Maven dependencies and avoid auto generating Stub class. Then have to \
improve the Client generating part based on this new changes. Then used the java \
reflection to identified the available operations and namespace rather than reading \
WSDL. But Stub class have unwanted parameter and operations. to Filter them again, \
used WSDL to get such a information. Then it was possible to generate Client classes \
based on the Stub classes, WSDL file and with java reflection and String \
template.</div>


<div><br></div><div>up-to this point project was implemented as testing project and \
it can be available at the git repository[4].</div><div><br></div><div>Clients are \
generated based on the Stub class and WSDL file. Those details should be \
automatically configured. Also generated Client classes used as Library for scripting \
and user have to import them before use them. Library name is getting by adding \
&quot;Library&quot; to its service name. All the automated Clients are generated into \
java &quot;<a href="https://github.com/ruks/Automated-test-case-generation-tool/tree/master/Auto-TAF-cmd/src/main/java/robotlib" \
title="robotlib" style="font-size:13px;background-color:rgb(248,248,248);color:rgb(65, \
131,196);text-decoration:none;font-family:Helvetica,arial,freesans,clean,sans-serif,&#39;Segoe \
UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;line-height:20px;white-space:nowrap" \
target="_blank">robotlib</a>&quot; package. Whenever user import Some library it \
should be generated in to proper place before test cases are execute. Thus before \
test execution start, it read the test script and identified the imported libraries. \
Next, it collect necessary information like Stub class name and WSDL file name. Then \
generated the Clients. Get information based on Library was implemented in easy way. \
Project Contain the service.xml. it contain the elements named &quot;services&quot; \
and it keep the available main admin services Stub class and WSDL file names.</div>


<div><br></div><div>Then after the demonstrate this solution, i get the actual test \
scenario. it&#39;s steps was like this</div><div><div><br></div><div><span \
style="font-family:arial,sans-serif;font-size:13px">1.log in to esb</span><br \
style="font-family:arial,sans-serif;font-size:13px">


<span style="font-family:arial,sans-serif;font-size:13px">2.upload a proxy to \
esb</span><br style="font-family:arial,sans-serif;font-size:13px"><span \
style="font-family:arial,sans-serif;font-size:13px">3.check whether it was deployed \
successfully</span><br style="font-family:arial,sans-serif;font-size:13px">


<span style="font-family:arial,sans-serif;font-size:13px">4.send a payload to the \
proxy</span><br style="font-family:arial,sans-serif;font-size:13px"><span \
style="font-family:arial,sans-serif;font-size:13px">5.Get the response  </span><br \
style="font-family:arial,sans-serif;font-size:13px">


<span style="font-family:arial,sans-serif;font-size:13px">6.Check the response is \
correct/incorrect</span><br></div><div><span \
style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span \
style="font-family:arial,sans-serif;font-size:13px"><br>


</span></div></div><div>Up to now Authentication function and keyword for robot \
script was already implemented and worked well. uploading proxy and verify was \
function of the ProxyServiceAdmin service. let it automate to generate Client \
classes. But problem was when adding parameters to the method, it required Object \
rather than string or int information. Thus method of the Class have to be manually \
customized and avoided it generating automatically.</div>


<div><br></div><div>The next step was to send the payload and get the response. The \
solution was use the  <font face="arial, sans-serif">Axis2ServiceClient. But Mr \
Malintha Provided Already  implemented  code sample for that and just had to \
customized it. Then it was possible to automate such a test  scenario.  </font></div>


<div><br></div><div><font face="arial, sans-serif">But next step is to let users to \
write the test script in natural language and easy to understand to them. Also it  \
should  assert  low level  function  and configuration. For that, used configuration  \
file to keep some  configurations. This configuration file have to be improve as XML \
file to  keep  many  configuration  detail for all the test cases.  </font></div>


<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span \
style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font \
face="arial, sans-serif">The ultimate Goal  </font><span \
style="font-family:arial,sans-serif">of the project  </span><span \
style="font-family:arial,sans-serif">was to add this  features  to WSO2 TAF. Now most \
of the basic functions and  implementation  are finished. As next  step  it should be \
integrate  to the TAF. Also some improvement have to be done for scripting to  \
support  usability. For that i  suppose</span><span \
style="font-family:arial,sans-serif">  to  add  more  descriptive  Keyword to the \
Robot framework to use functions and assert the response. For that  supposed  to  add \
different</span><span style="font-family:arial,sans-serif">  kind  of  libraries  \
like static,Dynamic, 3rd party and standard Libraries. Static libraries mean some \
libraries that are not going to be change.  Dynamic</span><span \
style="font-family:arial,sans-serif">  libraries will be generated  whenever  user \
use it. 3rd party  libraries  like Selenium Driver also can be used.  Standard  \
Library mean  Some  static  Libraries  that can be used to test the response. it will \
contain some basic functions to Assert arrays, Objects and create some complex data \
types like Arrays, Objects and  Om-element.</span></div>


<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span \
style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font \
face="arial, sans-serif">This is the current Progress of the Project and  further  \
plan of the implementation. Most of the basic and  foundation  implementation  have  \
implemented  and after the End of the Project it will  fulfill  the project ultimate \
goal. I blog about current  experience  I&#39;ve  gained  on my website[5]. Some \
basic example  I&#39;ve  tried can be available on it. Also All the test Projects, \
web service  Project and  different  version of the current Project can be found at \
my git repository[6]. The Project that currently working on can be found at the  this \
repository[7].</font></div>


<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, \
sans-serif"><br></font></div><div><span \
style="font-family:arial,sans-serif;font-size:13px"><div>[1] <a \
href="http://rukspot.com/sites/default/files/images/wso2/wso2_Test_Archi_3.png" \
target="_blank">http://rukspot.com/sites/default/files/images/wso2/wso2_Test_Archi_3.png</a></div>



<div>[2] <a href="http://www.stringtemplate.org/" \
target="_blank">http://www.stringtemplate.org/</a></div><div>[3] <a \
href="http://www.membrane-soa.org/downloads/soa-model.htm" \
target="_blank">http://www.membrane-soa.org/downloads/soa-model.htm</a></div>


<div>[4] <a href="https://github.com/ruks/Automated-test-case-generation-tool/tree/master/test1" \
target="_blank">https://github.com/ruks/Automated-test-case-generation-tool/tree/master/test1</a></div><div>[5] \
<a href="http://rukspot.com/" target="_blank">http://rukspot.com/</a></div>


<div>[6] <a href="https://github.com/ruks/Automated-test-case-generation-tool" \
target="_blank">https://github.com/ruks/Automated-test-case-generation-tool</a></div><div>[7] \
<a href="https://github.com/ruks/Automated-test-case-generation-tool/tree/master/Auto-TAF-cmd" \
target="_blank">https://github.com/ruks/Automated-test-case-generation-tool/tree/master/Auto-TAF-cmd</a></div>



</span></div><div><span \
style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span \
style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span \
style="font-family:arial,sans-serif;font-size:13px"><br>


</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Thanks \
and regards.</span></div><div><br></div></div><div><div><div \
class="gmail_extra"><br><br><div class="gmail_quote"> On Mon, Jun 23, 2014 at 7:48 \
PM, Malintha Adikari <span dir="ltr">&lt;<a href="mailto:malintha@wso2.com" \
target="_blank">malintha@wso2.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Rukshan,<br><br></div>Test \
Automation Framework uses single location (automation.xml file ) [1] to store all \
configuration details related to tests. According the robot scripts you have sent \
,test scripts include lot of configuration details. We can use automation.xml to \
retrieve appropriate configurations as it already facilitates to store most of those \
configuration details. Please have a look at automation.xml file and let&#39;s come \
up with a way to handle those configuration details include in robot scripts.<br>




<br>[1] <a href="https://github.com/wso2-dev/carbon-platform-integration/blob/master/t \
est-automation-framework/org.wso2.carbon.automation.engine/src/main/resources/automation.xml" \
target="_blank">https://github.com/wso2-dev/carbon-platform-integration/blob/master/te \
st-automation-framework/org.wso2.carbon.automation.engine/src/main/resources/automation.xml</a><br>





<br></div>Regards,<br></div>Malintha Adikari<br></div><div><div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 23, 2014 at 3:58 PM, \
Rukshan Chathuranga <span dir="ltr">&lt;<a href="mailto:rcrukshan17@gmail.com" \
target="_blank">rcrukshan17@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi \
all,<div><br></div><div><br></div><div><div>        I attached the Document with \
actual scenario and Robot framework script with this. Also have attached the original \
robot framework script source file. Some comments have added to the Script for \
describe the functions.</div>





<div><br></div><div>If Some clarification is needed to understand the script please \
let me know.</div><div><br></div><div>Thanks and \
regards.</div><div><br></div></div></div><div><div><div class="gmail_extra">

<br><br><div class="gmail_quote">
On Mon, Jun 23, 2014 at 9:39 AM, Malintha Adikari <span dir="ltr">&lt;<a \
href="mailto:malintha@wso2.com" target="_blank">malintha@wso2.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">





<div dir="ltr"><div><div><div>Hi Rukshan,<br><br></div>Can you provide the robot \
script and the original scenario steps in a same doc. So we can use that document to \
compare two cases. <br><br></div>Regards,<br></div>Malintha Adikari<br>







</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun \
22, 2014 at 9:47 AM, Rukshan Chathuranga <span dir="ltr">&lt;<a \
href="mailto:rcrukshan17@gmail.com" \
target="_blank">rcrukshan17@gmail.com</a>&gt;</span> wrote:<br>







<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">HI all,<div><br></div><div>Previous   days i \
was working on adding testing scenario like below steps.</div>







<div><br></div><div><font face="arial, sans-serif">1.log in  to esb</font><div><br \
style="font-family:arial,sans-serif;font-size:13px"> <span \
style="font-family:arial,sans-serif;font-size:13px">2.upload a proxy to esb</span><br \
style="font-family:arial,sans-serif;font-size:13px"><span \
style="font-family:arial,sans-serif;font-size:13px">3.check whether it was deployed \
successfully</span><br style="font-family:arial,sans-serif;font-size:13px">








<span style="font-family:arial,sans-serif;font-size:13px">4.send a payload to the \
proxy</span><br style="font-family:arial,sans-serif;font-size:13px"><span \
style="font-family:arial,sans-serif;font-size:13px">5.Get the response  </span><br \
style="font-family:arial,sans-serif;font-size:13px">








<span style="font-family:arial,sans-serif;font-size:13px">6.Check the response is \
correct/incorrect</span><br \
style="font-family:arial,sans-serif;font-size:13px"></div></div><div><span \
style="font-family:arial,sans-serif;font-size:13px"><br>








</span></div><div><font face="arial, sans-serif">After a one week of  research  and  \
testing  i was able to  successfully  Automate scenario like above. Still i am \
testing with this scenario to improve the it&#39;s correctness and  improve  the \
usability.</font></div>








<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, \
sans-serif">The project with  these  new modification can be view on my Git \
repository[1].</font></div><div><font face="arial, sans-serif">Also all the projects \
and testing project i did so far can be view on main repo.[2]</font></div>








<div><br></div><div><font face="arial, sans-serif">[1]<a \
href="https://github.com/ruks/Automated-test-case-generation-tool/tree/master/Auto-TAF-cmd" \
target="_blank">https://github.com/ruks/Automated-test-case-generation-tool/tree/master/Auto-TAF-cmd</a></font></div>









<div><font face="arial, sans-serif">[2]<a \
href="https://github.com/ruks/Automated-test-case-generation-tool" \
target="_blank">https://github.com/ruks/Automated-test-case-generation-tool</a></font></div><div><font \
face="arial, sans-serif"><br>








</font></div><div><font face="arial, sans-serif">Thanks and \
regards.</font></div></div><div><div><div class="gmail_extra"><br><br><div \
class="gmail_quote">On Fri, Jun 20, 2014 at 9:22 PM, Rukshan Chathuranga <span \
dir="ltr">&lt;<a href="mailto:rcrukshan17@gmail.com" \
target="_blank">rcrukshan17@gmail.com</a>&gt;</span> wrote:<br>








<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I used the above[1] \
example to send a payload to the Axis2 Services. It works well on services that \
deployed on Axis2 server. But it is not work for the Uploaded proxy services of the \
ESB. What can be the problem?</div>









<div><br></div><div>This is the exception i got.</div><div>&quot;AxisFault while \
getting response :The input stream for an incoming message is \
null.&quot;</div><div><br></div><div>Also i used  &quot;<a \
href="https://localhost:8243/services/echo" \
target="_blank">https://localhost:8243/services/echo</a>&quot; as  endPointReference. \
</div>









<div><br></div><div>[1]<a \
href="https://github.com/wso2/carbon-platform-integration/blob/master/test-automation- \
framework/org.wso2.carbon.automation.test.utils/src/main/java/org/wso2/carbon/automation/test/utils/axis2client/AxisServiceClient.java" \
target="_blank">https://github.com/wso2/carbon-platform-integration/blob/master/test-a \
utomation-framework/org.wso2.carbon.automation.test.utils/src/main/java/org/wso2/carbon/automation/test/utils/axis2client/AxisServiceClient.java</a></div>










</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun \
20, 2014 at 2:07 PM, Malintha Adikari <span dir="ltr">&lt;<a \
href="mailto:malintha@wso2.com" target="_blank">malintha@wso2.com</a>&gt;</span> \
wrote:<br>









<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra">Hi \
Rukshan,<br></div><div class="gmail_extra"><br><div class="gmail_quote">









<div>On Thu, Jun 19, 2014 at 7:01 PM, Rukshan Chathuranga <span dir="ltr">&lt;<a \
href="mailto:rcrukshan17@gmail.com" \
target="_blank">rcrukshan17@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi all,</div></blockquote><div>  \
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">











<div dir="ltr"><div></div><div>I could automate the ProxyServiceAdmin Admin service \
to upload the proxy to ESB. Also it support, Confirm whether it is successful or not. \
This steps was possible to written in robot test script.  </div>









<div>


<div>Thus i&#39;m try to scripting and automate to invoke the uploaded proxy \
services. for that can you let me know, what are the available options to invoke the \
proxy services.</div></div></div></blockquote><div><br></div>









<div>

You can use Axis2ServiceClient [1] for invoked the deployed proxy service. \
<br><br>[1]<a href="https://github.com/wso2/carbon-platform-integration/blob/master/te \
st-automation-framework/org.wso2.carbon.automation.test.utils/src/main/java/org/wso2/carbon/automation/test/utils/axis2client/AxisServiceClient.java" \
target="_blank">https://github.com/wso2/carbon-platform-integration/blob/master/test-a \
utomation-framework/org.wso2.carbon.automation.test.utils/src/main/java/org/wso2/carbon/automation/test/utils/axis2client/AxisServiceClient.java</a><br>












<br></div><div><div><div>Regards,<br></div><div>Malintha Adikari<br></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div><br></div><div> Thanks and regards.</div>


</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun \
19, 2014 at 11:56 AM, Malintha Adikari <span dir="ltr">&lt;<a \
href="mailto:malintha@wso2.com" target="_blank">malintha@wso2.com</a>&gt;</span> \
wrote:<br>












<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Please note the update for the test scenario \
:<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">












<div>On Thu, Jun 19, 2014 at 11:52 AM, Malintha Adikari <span dir="ltr">&lt;<a \
href="mailto:malintha@wso2.com" target="_blank">malintha@wso2.com</a>&gt;</span> \
wrote:<br>

</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi \
Rukshan,<br><br></div><div>As the next step we can evaluate the usability of robot \
scripts. Then   we have to come up with a way to enhance the usability of the test \
scripts based on that evaluation. Could you try to develop an automated test case \
using robot for following test scenario and compare the original script and robot \
script and evaluate the differences between two<br>















<br></div></div></div></div></blockquote><div>*. login to Application \
server<br></div><div>* upload a service to application server<br></div><div>* confirm \
the uploaded server has been deployed successfully<br></div><div>












(this should be your back end service for the ESB proxy service)<br>

   <br></div><div><div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>1.login to \
esb<br>2.upload a proxy to esb<br>3.check whether it was deployed successfully<br>














4.send a payload to the proxy<br>5.Get the response <br>6.Check the response is \
correct/incorrect<br><br></div>Regards,<br></div> Malintha \
Adikari<br></div><div><div><div class="gmail_extra"><br><br><div \
class="gmail_quote">On Tue, Jun 17, 2014 at 2:14 PM, Rukshan Chathuranga <span \
dir="ltr">&lt;<a href="mailto:rcrukshan17@gmail.com" \
target="_blank">rcrukshan17@gmail.com</a>&gt;</span> wrote:<br>















<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>  I added a xml \
file to keep stub name and wsdl file name of each admin services. its structure is \
looks like this.</div>















<div><br></div><div>&lt;service \
stub=&quot;org.wso2.carbon.statistics.stub.StatisticsAdminStub&quot; \
name=&quot;StatisticsAdmin&quot; wsdl=&quot;StatisticsAdmin&quot; \
lib=&quot;StatisticsAdminLibrary&quot;/&gt;<br> </div><div><br></div><div>Then added \
new java method to return wsdl name and stub class name. It is like \
this.</div><div><br></div><div><div>public static String[] getServiceInfor(String \
lib) {</div><div><span style="white-space:pre-wrap">		</span>File pomfile = new \
File(&quot;service.xml&quot;);</div>
















<div><span style="white-space:pre-wrap">		</span>String[] res;</div><div><span \
style="white-space:pre-wrap">		</span>try {</div><div><br></div><div><span \
style="white-space:pre-wrap">			</span>DocumentBuilder dBuilder = \
DocumentBuilderFactory.newInstance()</div>
















<div><span style="white-space:pre-wrap">					</span>.newDocumentBuilder();</div><div><span \
style="white-space:pre-wrap">			</span>Document doc = \
dBuilder.parse(pomfile);</div><div><span \
style="white-space:pre-wrap">			</span>System.out.println(&quot;Root element \
:&quot;</div>
















<div><span style="white-space:pre-wrap">					</span>+ \
doc.getDocumentElement().getNodeName());</div><div><br></div><div><span \
style="white-space:pre-wrap">			</span>NodeList service = \
doc.getElementsByTagName(&quot;service&quot;);</div>
















<div><span style="white-space:pre-wrap">			</span>for (int i = 0; i &lt; \
service.getLength(); i++) {</div><div><span \
style="white-space:pre-wrap">				</span>Element ele = (Element) \
service.item(i);</div><div><span style="white-space:pre-wrap">				</span>if \
(ele.getAttribute(&quot;lib&quot;).equals(lib)) {</div>
















<div><span style="white-space:pre-wrap">					</span>res = new \
String[2];</div><div><span style="white-space:pre-wrap">					</span>res[0] = \
ele.getAttribute(&quot;stub&quot;);</div><div><span \
style="white-space:pre-wrap">					</span>res[1] = \
ele.getAttribute(&quot;wsdl&quot;);</div>
















<div><span style="white-space:pre-wrap">					</span>return res;</div><div><span \
style="white-space:pre-wrap">				</span>}</div><div><br></div><div><span \
style="white-space:pre-wrap">			</span>}</div><div><span \
style="white-space:pre-wrap">			</span>return null;</div>
















<div><br></div><div><span style="white-space:pre-wrap">		</span>} catch (Exception e) \
{</div><div><span style="white-space:pre-wrap">			</span>System.out.println(e.getMessage());</div><div><span \
style="white-space:pre-wrap">			</span>return null;</div>
















<div><span style="white-space:pre-wrap">		</span>}</div><div><span \
style="white-space:pre-wrap">	</span>}</div></div><div><br></div><div><br></div><div>So \
if there are any issue in this procedure please let me know.</div>
















<div><br></div><div><br></div><div>Thanks and \
regards.</div><div><br></div><div><br></div></div><div><div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 14, 2014 at 9:10 AM, \
Rukshan Chathuranga <span dir="ltr">&lt;<a href="mailto:rcrukshan17@gmail.com" \
target="_blank">rcrukshan17@gmail.com</a>&gt;</span> wrote:<br>
















<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi Dharshana,<div><br></div><div>No. it was \
not the resolving the dependencies of the client. Sorry if my mail is not much clear. \
:)</div>
















<div><br></div><div>  I wanted to import required classes for Client that generated \
based on the Stub classes. My first step was taking package information from the \
POM.xml as you said. but it contain only some parent package names and also those get \
mapped to the new package names(rename). Thus it was difficulty to extract all the \
classes. Also some extra libraries get imported and some required libraries not get \
imported.</div>

















<div><br></div><div>But using reflection it is possible to get all the \
operation&#39;s information of the stub classes. Then importing required class for \
parameters and return type was much easier.</div><div><br></div><div>

















ex:</div><div><div>import \
org.wso2.carbon.service.mgt.stub.ServiceAdminStub;</div><div>import \
org.wso2.carbon.service.mgt.stub.types.carbon.ServiceDownloadData;</div><div>import \
org.wso2.carbon.service.mgt.stub.types.carbon.ServiceGroupMetaData;</div>

















</div><div><br></div><div><br></div><div>Thanks and \
regards.</div><div><br></div><div>  </div></div><div><div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 14, 2014 at 12:18 \
AM, Dharshana Warusavitharana <span dir="ltr">&lt;<a \
href="mailto:dharshanaw@wso2.com" target="_blank">dharshanaw@wso2.com</a>&gt;</span> \
wrote:<br>

















<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi Rekshan,<div><br></div><div>Do we really \
need this step. AFAICU you are trying to automate the dependency resolving of your \
client library.</div>

















<div>Basically, there is a limited set of dependency <span>for</span> external \
libraries when you are generating the client. That won&#39;t  expand  much over \
introducing new stubs.  </div> <div>You can have <span>general pom  file</span> which \
<span>have</span> basic dependencies which are common to the general stubs.  </div> \
<div><br></div><div>And <span>im</span> not clear how you would identify extra \
libraries you need by just using reflection.</div><div><br></div><div>Correct me if \
<span>im</span>  wrong</div> <div><br></div><div>Thank \
you,</div><div><span>Dharshana</span>.  </div></div><div \
class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Fri, Jun 13, 2014 \
at 10:51 AM, Rukshan Chathuranga <span dir="ltr">&lt;<a \
href="mailto:rcrukshan17@gmail.com" \
target="_blank">rcrukshan17@gmail.com</a>&gt;</span> wrote:<br>


















<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I could manage the \
issue occurred during Client generation from Stub. I get operations from the WSDL \
file and used Java reflection to identify the information of those operation. Then it \
help me to identified the required Libraries and import them into generated Client \
libraries. Also added Property file to get services host and port information.</div>



















<div><br></div><div>new version of the project can be found from here.</div><div><a \
href="https://github.com/ruks/Automated-test-case-generation-tool/tree/991e6e21927288d237c0a8d1985b7d2787f91a9b/Auto-TAF" \
target="_blank">https://github.com/ruks/Automated-test-case-generation-tool/tree/991e6e21927288d237c0a8d1985b7d2787f91a9b/Auto-TAF</a><br>




















</div><div><br></div><div>Thanks and regards.</div></div><div><div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 10, 2014 at 3:24 PM, \
Rukshan Chathuranga <span dir="ltr">&lt;<a href="mailto:rcrukshan17@gmail.com" \
target="_blank">rcrukshan17@gmail.com</a>&gt;</span> wrote:<br>



















<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi Malintha,<div><br></div><div>Generating \
Client from Stub is not problem with one String template file. Template file contain \
generic Class structure like Method, Constructor, Fields and Import library. Only \
difference is their name and object type. Identifying the those names and type from \
WSDL, it is possible to generate Different client for different Stub.</div>




















<div><br></div><div>Thanks and regards.</div></div><div><div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 10, 2014 at 3:09 PM, \
Malintha Adikari <span dir="ltr">&lt;<a href="mailto:malintha@wso2.com" \
target="_blank">malintha@wso2.com</a>&gt;</span> wrote:<br>




















<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi Rukshan,<br><br><br><div \
class="gmail_extra"><br><br><div class="gmail_quote"><div>On Tue, Jun 10, 2014 at \
2:49 PM, Rukshan Chathuranga <span dir="ltr">&lt;<a \
href="mailto:rcrukshan17@gmail.com" \
target="_blank">rcrukshan17@gmail.com</a>&gt;</span> wrote:<br>






















</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div><div>These days i \
am working on Automatically Generating Client code. Now i able to generate Client \
Code using String Template. For That i Used previously Used String Template file with \
Some Modification.</div>























<div><br></div><div>Now project can generate the Stub file and automatically generate \
the Client Based on the WSDL and \
Stub.</div></div></div></blockquote><div><br></div><div>I have a doubt about using \
single string template for generating client code for all stubs. The purpose and the \
implementation of each admin service is different. So Can we use one string template \
for generating the clients for all those different WSDLs. String template approach is \
better. IMO, we have to come up with a way to treat all different admin services \
through string templates. <br>






















<br>  <br></div><div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div> Also generated \
Client can be used as Library to Robot Framework to implement keyword driven testing. \
Also it&#39;s possible to invoke Admin services and Assert the operation.</div>























<div><br></div><div>With all of these modification i create the new Project and \
committed to the Git Repo. It is available at here.</div><div><br></div><div><a \
href="https://github.com/ruks/Automated-test-case-generation-tool/tree/991e6e21927288d237c0a8d1985b7d2787f91a9b/Auto-TAF" \
target="_blank">https://github.com/ruks/Automated-test-case-generation-tool/tree/991e6e21927288d237c0a8d1985b7d2787f91a9b/Auto-TAF</a></div>
























<div><br></div><div>Then for the next few days i&#39;m hoping to understand the Robot \
Framework scripting in depth to verify whether we can improve Robot framework \
scripting.</div><div><br></div></div></blockquote></div>




















<div>Yes, We have to make test writing user friendly. First we have to find points \
that make test writing difficult. Then we have to come up with a generic solution to \
call all those difficulties. Can you try to write test cases for some different admin \
services with your existing solution. Then you can refer those test to analyze \
difficulties.<br>






















<br></div><div>Regards,<br></div><div>Malintha \
Adikari<br></div><div><div><br><br></div><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div \
dir="ltr"><div></div> <div>Thanks and regards.</div>


</div><div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Sun, Jun \
8, 2014 at 12:17 AM, Rukshan Chathuranga <span dir="ltr">&lt;<a \
href="mailto:rcrukshan17@gmail.com" \
target="_blank">rcrukshan17@gmail.com</a>&gt;</span> wrote:<br>























<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br><div><br></div><div>These days \
i am working on solving the problems that are occurred during the Client Generation. \
These exceptions are occurred when using the &quot;cxf-codegen-plugin&quot; with \
wsdl2java. As a alternative solution, i decided to understand the existing service \
stub generating procedure to generate Stub code. And then generate Client code that \
could be use as Library to Robot Framework.</div>
























<div><br></div><div>For that i refereed these two  </div><div><br></div><div><a \
href="https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/service-stubs/" \
target="_blank">https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/service-stubs/</a><br>

























</div><div><a href="https://svn.wso2.org/repos/wso2/carbon/platform/trunk/service-stubs/" \
target="_blank">https://svn.wso2.org/repos/wso2/carbon/platform/trunk/service-stubs/</a><br></div><div><br></div><div> \
repositories to generate Stub sources to support my requirement. up to now i could be \
able to generate Stub code for WSDL listed in these repositories.  </div>
























<div><br></div><div>Also the main problem had earlier the &quot;<span \
style="font-family:arial,sans-serif;font-size:13px">certificate \
Exception</span>&quot; occurred initiating Client, could be solved by setting up \
certificate file properly in system property.</div>
























<div><br></div><div>Now Robot framework able to run test case with authenticate and \
invoke some basic admin service that are hard coded as Library to Robot \
framework.</div><div><br></div><div>Thus my next step is to Generate this Library \
Classes Automatically based on the WSDL file and provide to the Robot framework as \
Library. For this I decided to use my previous method that used String Template to \
generate Library Files, with few modification.</div>
























<div><br></div><div>Thanks and regards.<span><font color="#888888"><br \
clear="all"><div><br></div>-- <br><div dir="ltr"><div><div>Department Of Computer \
Science &amp; Engineering,<br></div><div><span \
style="font-family:arial;font-size:small">Faculty Of Engineering,</span><br>
























</div>University Of Moratuwa.</div>Sri lanka<div>WEB:  <a href="http://rukspot.com/" \
target="_blank">http://rukspot.com/</a><br><div><br></div></div></div> \
</font></span></div></div></div> </blockquote></div><br><br \
clear="all"><div><br></div>-- <br></div></div><div \
dir="ltr"><div><div><div><div>Department Of Computer Science &amp; \
Engineering,<br></div><div><span style="font-family:arial;font-size:small">Faculty Of \
Engineering,</span><br>























</div>University Of Moratuwa.</div></div></div>Sri lanka.<div>WEB:  <a \
href="http://rukspot.com/" \
target="_blank">http://rukspot.com/</a><br><div><br></div></div></div> </div>
</blockquote></div></div><span><font color="#888888"><br><br clear="all"><br>-- \
<br><div dir="ltr"><span></span><b>Malintha Adikari</b><br>


<div><span><font color="#888888"><font color="#888888"></font><div><font \
color="#888888"><div>

Software Engineer<br>

WSO2 Inc.;  <a href="http://wso2.com/" style="color:rgb(17,85,204)" \
target="_blank">http://wso2.com</a><br>




lean.enterprise.middleware<br>

<br></div>Mobile:  <font color="#999999"><a value="+94718954922">+94 71 \
2312958<br></a></font></font></div><div><font color="#888888"><font \
color="#999999">Blog:       <a href="http://malinthas.blogspot.com" \
target="_blank">http://malinthas.blogspot.com</a><br>






















</font></font></div><div><font color="#888888"><font color="#999999">Page:     <a \
href="http://about.me/malintha" \
target="_blank">http://about.me/malintha</a><br></font></font></div></font></span></div></div>
 </font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
dir="ltr"><div><div>Department Of Computer Science &amp; \
Engineering,<br></div><div><span style="font-family:arial;font-size:small">Faculty Of \
Engineering,</span><br>




















</div>University Of Moratuwa.</div>Sri lanka.<div>WEB:  <a href="http://rukspot.com/" \
target="_blank">http://rukspot.com/</a><br><div><br></div></div></div> </div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
dir="ltr"><div><div>Department Of Computer Science &amp; \
Engineering,<br></div><div><span style="font-family:arial;font-size:small">Faculty Of \
Engineering,</span><br>



















</div>University Of Moratuwa.</div>Sri lanka.<div>WEB:  <a href="http://rukspot.com/" \
target="_blank">http://rukspot.com/</a><br><div><br></div></div></div> </div>
</div></div></blockquote></div><br><br \
clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div \
dir="ltr"><br><div><span>Dharshana</span> Warusavitharana</div><div><span>Senior \
Software Engineer , Test Automation</span></div>

















<div><span>WSO2 Inc.  </span><a href="http://wso2.com" \
target="_blank">http://wso2.com</a><br> <span><span>email</span> :<a \
href="mailto:dharshanaw@wso2.com" target="_blank">  \
dharshanaw@wso2.com</a></span><font color="#1155cc" face="verdana, \
sans-serif"><span></span></font></div><div><div>Tel   : +<a value="+94112145345" \
style="color:rgb(17,85,204)">94 11 214 5345</a></div>


















<div>Fax <span>:</span><a href="tel:%2B94%2011%C2%A02145300" value="+94112145300" \
target="_blank">+94 11  2145300</a>  </div></div><div><span>cell</span> : <a \
href="tel:%2B94772202595" value="+94772202595" target="_blank">+94772202595</a></div>

















<div><span><span>blog</span> :  </span><a href="http://dharshanaw.blogspot.com/" \
target="_blank">http://dharshanaw.blogspot.com</a><br> <br><span><span>lean</span> . \
<span>enterprise</span> . <span>middleware</span></span></div></div> \
</font></span></div> </blockquote></div><br><br clear="all"><div><br></div>-- \
<br><div dir="ltr"><div><div>Department Of Computer Science &amp; \
Engineering,<br></div><div><span style="font-family:arial;font-size:small">Faculty Of \
Engineering,</span><br>

















</div>University Of Moratuwa.</div>Sri lanka.<div>WEB:  <a href="http://rukspot.com/" \
target="_blank">http://rukspot.com/</a><br><div><br></div></div></div> </div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
dir="ltr"><div><div>Department Of Computer Science &amp; \
Engineering,<br></div><div><span style="font-family:arial;font-size:small">Faculty Of \
Engineering,</span><br>
















</div>University Of Moratuwa.</div>Sri lanka.<div>WEB:  <a href="http://rukspot.com/" \
target="_blank">http://rukspot.com/</a><br><div><br></div></div></div> </div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div \
dir="ltr"><span></span><b>Malintha Adikari</b><br>


<div><span><font color="#888888"><font color="#888888"></font><div><font \
color="#888888"><div>

Software Engineer<br>

WSO2 Inc.;  <a href="http://wso2.com/" style="color:rgb(17,85,204)" \
target="_blank">http://wso2.com</a><br>




lean.enterprise.middleware<br>

<br></div>Mobile:  <font color="#999999"><a value="+94718954922">+94 71 \
2312958<br></a></font></font></div><div><font color="#888888"><font \
color="#999999">Blog:       <a href="http://malinthas.blogspot.com" \
target="_blank">http://malinthas.blogspot.com</a><br>















</font></font></div><div><font color="#888888"><font color="#999999">Page:     <a \
href="http://about.me/malintha" \
target="_blank">http://about.me/malintha</a><br></font></font></div></font></span></div></div>
 </div>
</div></div></blockquote></div></div></div><div><div><br><br clear="all"><br>-- \
<br><div dir="ltr"><span></span><b>Malintha Adikari</b><br>


<div><span><font color="#888888"><font color="#888888"></font><div><font \
color="#888888"><div>

Software Engineer<br>

WSO2 Inc.;  <a href="http://wso2.com/" style="color:rgb(17,85,204)" \
target="_blank">http://wso2.com</a><br>




lean.enterprise.middleware<br>

<br></div>Mobile:  <font color="#999999"><a value="+94718954922">+94 71 \
2312958<br></a></font></font></div><div><font color="#888888"><font \
color="#999999">Blog:       <a href="http://malinthas.blogspot.com" \
target="_blank">http://malinthas.blogspot.com</a><br>














</font></font></div><div><font color="#888888"><font color="#999999">Page:     <a \
href="http://about.me/malintha" \
target="_blank">http://about.me/malintha</a><br></font></font></div></font></span></div></div>
 </div></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
dir="ltr"><div><div>Department Of Computer Science &amp; \
Engineering,<br></div><div><span style="font-family:arial;font-size:small">Faculty Of \
Engineering,</span><br>












</div>University Of Moratuwa.</div>Sri lanka.<div>WEB:  <a href="http://rukspot.com/" \
target="_blank">http://rukspot.com/</a><br><div><br></div></div></div> </div>
</div></div></blockquote></div></div></div><div><div><br><br clear="all"><br>-- \
<br><div dir="ltr"><span></span><b>Malintha Adikari</b><br>


<div><span><font color="#888888"><font color="#888888"></font><div><font \
color="#888888"><div>

Software Engineer<br>

WSO2 Inc.;  <a href="http://wso2.com/" style="color:rgb(17,85,204)" \
target="_blank">http://wso2.com</a><br>




lean.enterprise.middleware<br>

<br></div>Mobile:  <font color="#999999"><a value="+94718954922">+94 71 \
2312958<br></a></font></font></div><div><font color="#888888"><font \
color="#999999">Blog:       <a href="http://malinthas.blogspot.com" \
target="_blank">http://malinthas.blogspot.com</a><br>











</font></font></div><div><font color="#888888"><font color="#999999">Page:     <a \
href="http://about.me/malintha" \
target="_blank">http://about.me/malintha</a><br></font></font></div></font></span></div></div>
 </div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
dir="ltr"><div><div>Department Of Computer Science &amp; \
Engineering,<br></div><div><span style="font-family:arial;font-size:small">Faculty Of \
Engineering,</span><br>









</div>University Of Moratuwa.</div>Sri lanka.<div>WEB:  <a href="http://rukspot.com/" \
target="_blank">http://rukspot.com/</a><br><div><br></div></div></div> </div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
dir="ltr"><div><div>Department Of Computer Science &amp; \
Engineering,<br></div><div><span style="font-family:arial;font-size:small">Faculty Of \
Engineering,</span><br>








</div>University Of Moratuwa.</div>Sri lanka.<div>WEB:  <a href="http://rukspot.com/" \
target="_blank">http://rukspot.com/</a><br><div><br></div></div></div> </div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div \
dir="ltr"><span></span><b>Malintha Adikari</b><br>


<div><span><font color="#888888"><font color="#888888"></font><div><font \
color="#888888"><div>

Software Engineer<br>

WSO2 Inc.;  <a href="http://wso2.com/" style="color:rgb(17,85,204)" \
target="_blank">http://wso2.com</a><br>




lean.enterprise.middleware<br>

<br></div>Mobile:  <font color="#999999"><a value="+94718954922">+94 71 \
2312958<br></a></font></font></div><div><font color="#888888"><font \
color="#999999">Blog:       <a href="http://malinthas.blogspot.com" \
target="_blank">http://malinthas.blogspot.com</a><br>







</font></font></div><div><font color="#888888"><font color="#999999">Page:     <a \
href="http://about.me/malintha" \
target="_blank">http://about.me/malintha</a><br></font></font></div></font></span></div></div>
 </div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
dir="ltr"><div><div>Department Of Computer Science &amp; \
Engineering,<br></div><div><span style="font-family:arial;font-size:small">Faculty Of \
Engineering,</span><br>





</div>University Of Moratuwa.</div>Sri lanka.<div>WEB:  <a href="http://rukspot.com/" \
target="_blank">http://rukspot.com/</a><br><div><br></div></div></div> </div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div \
dir="ltr"><span></span><b>Malintha Adikari</b><br>


<div><span><font color="#888888"><font color="#888888"></font><div><font \
color="#888888"><div>

Software Engineer<br>

WSO2 Inc.;  <a href="http://wso2.com/" style="color:rgb(17,85,204)" \
target="_blank">http://wso2.com</a><br>




lean.enterprise.middleware<br>

<br></div>Mobile:  <font color="#999999"><a value="+94718954922">+94 71 \
2312958<br></a></font></font></div><div><font color="#888888"><font \
color="#999999">Blog:       <a href="http://malinthas.blogspot.com" \
target="_blank">http://malinthas.blogspot.com</a><br>




</font></font></div><div><font color="#888888"><font color="#999999">Page:     <a \
href="http://about.me/malintha" \
target="_blank">http://about.me/malintha</a><br></font></font></div></font></span></div></div>
 </div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
dir="ltr"><div><div>Department Of Computer Science &amp; \
Engineering,<br></div><div><span style="font-family:arial;font-size:small">Faculty Of \
Engineering,</span><br>


</div>University Of Moratuwa.</div>Sri lanka.<div>WEB:  <a href="http://rukspot.com/" \
target="_blank">http://rukspot.com/</a><br><div><br></div></div></div> </div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
dir="ltr"><div><div>Department Of Computer Science &amp; \
Engineering,<br></div><div><span style="font-family:arial;font-size:small">Faculty Of \
Engineering,</span><br>

</div>University Of Moratuwa.</div>Sri lanka.<div>WEB:  <a href="http://rukspot.com/" \
target="_blank">http://rukspot.com/</a><br><div><br></div></div></div> </div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
dir="ltr"><br><div><span>Dharshana</span> Warusavitharana</div><div><span>Senior \
Software Engineer , Test Automation</span></div><div><span>WSO2 Inc.  </span><a \
href="http://wso2.com" target="_blank">http://wso2.com</a><br> \
<span><span>email</span> :<a href="mailto:dharshanaw@wso2.com" target="_blank">  \
dharshanaw@wso2.com</a></span><font color="#1155cc" face="verdana, \
sans-serif"><span></span></font></div><div><div>Tel   : +<a value="+94112145345" \
style="color:rgb(17,85,204)">94 11 214 5345</a></div> <div>Fax <span>:</span>+94 11  \
2145300  </div></div><div><span>cell</span> : \
+94772202595</div><div><span><span>blog</span> :  </span><a \
href="http://dharshanaw.blogspot.com/" \
target="_blank">http://dharshanaw.blogspot.com</a><br> <br><span><span>lean</span> . \
<span>enterprise</span> . <span>middleware</span></span></div></div> </div>



_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic