hi all,

i used Axis 2 1.0 both on Ubuntu and windows. but same result occur. when
comparing generated SimpleServiceStub with tutorial SimpleServiceStub,
Generated class have less code. Then when i try to run the client, it says
SimpleServiceStub.Echo is unknown.

@Rajkumar,

I couldn't generate SimpleServiceStub as yours using the WSDL2Java. Some
part of the code has been vanished.

But i found nice video and resource tutorial on
*https://www.youtube.com/playlist?list=PLvDH105YsUxGLHnLHEC0vXzuukqjJGkGA
<https://www.youtube.com/playlist?list=PLvDH105YsUxGLHnLHEC0vXzuukqjJGkGA>*
 .

It use Maven plug-in to generate and run the test case. and it worked.

Thanks and regards.




On Sun, May 4, 2014 at 11:34 AM, Rajkumar Rajaratnam <[email protected]>wrote:

> Hi Rukshan,
>
> This is what I have done[1]. And it works fine for me. Let us know if
> anything wrong.
>
> 1.
> http://hoovam.blogspot.com/2014/05/hello-world-web-service-apache-axis2.html
>
> Thanks.
>
>
> On Sun, May 4, 2014 at 2:26 AM, Rajkumar Rajaratnam <[email protected]>wrote:
>
>> Hi Rukshan,
>>
>> What is your Axis2 version? I am using 1.6.2.
>>
>> Attached herewith are generated classes and Client.java. And, It is
>> working.
>>
>>
>>
>>
>>
>> On Sun, May 4, 2014 at 1:39 AM, Krishantha Samaraweera <
>> [email protected]> wrote:
>>
>>> Hi Rukshan,
>>>
>>> Can you try out the Axis2 Client generation guide in the article at [1]
>>>
>>> Thanks,
>>> Krishantha
>>>
>>> [1]http://wso2.com/library/3862/
>>>
>>>
>>> On Sun, May 4, 2014 at 12:19 AM, Dilini Muthumala <[email protected]>wrote:
>>>
>>>> Hi Rukshan,
>>>>
>>>> But in step 5 generated
>>>>> SimpleServiceStub.java not generate as appropriate(some code is
>>>>> missing)
>>>>>
>>>> What code is missing. Can you please specify?
>>>>
>>>> Also, what's the exact error you're getting when you compile
>>>> Client.java?
>>>>
>>>> BTW, if you post this question on a separate thread, I think more
>>>> people will be able to help you :)
>>>>
>>>> Regards,
>>>> Dilini
>>>>
>>>>
>>>> On Fri, May 2, 2014 at 9:17 AM, Rukshan Chathuranga <
>>>> [email protected]> wrote:
>>>>
>>>>> HI maintha,
>>>>>
>>>>> I followed this http://wso2.com/library/95/ tutorial to generate
>>>>> client. I successfully come to the step 4. But in step 5 generated
>>>>> SimpleServiceStub.java not generate as appropriate(some code is
>>>>> missing). because when create Client get unknown syntax like "Echo".
>>>>>
>>>>> Generated java class attached here.
>>>>>
>>>>>
>>>>> On Wed, Apr 30, 2014 at 10:44 AM, Dharshana Warusavitharana <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hi Rukshan,
>>>>>>
>>>>>> Did you try out the maven plugin. I think it would be easy for you
>>>>>> and us this is believed you don't need python installed
>>>>>>
>>>>>>  http://robotframework.org/MavenPlugin/
>>>>>>
>>>>>> Thank You,
>>>>>> Dharshana.
>>>>>>
>>>>>>
>>>>>> On Wed, Apr 30, 2014 at 8:59 AM, Rukshan Chathuranga <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi krishantha,
>>>>>>>
>>>>>>> I followed the instruction to install the robot. Most of
>>>>>>> dependencies already had in the system and installation was success. but
>>>>>>> when installing "ride", it give a warning to install wxPython 2.8 
>>>>>>> toolkit
>>>>>>> with Unicode support. Also it's doesn't work without wxPython.
>>>>>>>
>>>>>>> It suggest the installation guide by this link
>>>>>>> http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/.
>>>>>>>
>>>>>>> But it is hard to find the correct file to install. may be this one
>>>>>>> is not important now.
>>>>>>> if you already encountered this problem let me know how to install.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Apr 29, 2014 at 10:39 PM, Krishantha Samaraweera <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> Selenium2Library API documentation -
>>>>>>>> https://github.com/rtomac/robotframework-selenium2library
>>>>>>>> Source - https://github.com/rtomac/robotframework-selenium2library
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Krishantha.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Apr 29, 2014 at 10:33 PM, Krishantha Samaraweera <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Robot framework installation on Linux
>>>>>>>>> ================================
>>>>>>>>>
>>>>>>>>> 1. Install Python if doesn't exists in your machine -
>>>>>>>>>
>>>>>>>>> *easy_install pip*
>>>>>>>>> *pip install python*
>>>>>>>>>
>>>>>>>>> 2. Install Jyton (Optinal)
>>>>>>>>>
>>>>>>>>> *sudo apt-get install jython*
>>>>>>>>>
>>>>>>>>> 3. Install robot framework
>>>>>>>>>
>>>>>>>>> *pip install robotframework *OR* easy_install robotframework  *
>>>>>>>>>
>>>>>>>>> 4. Install ride (The IDE for robot test case writing)
>>>>>>>>>
>>>>>>>>> *pip install robotframework-ride *OR *easy_install
>>>>>>>>> robotframework-ride*
>>>>>>>>>
>>>>>>>>> 5. Install Selenium2Library - Selenium implementation compatible
>>>>>>>>> with robot
>>>>>>>>>
>>>>>>>>> *pip install robotframework-selenium2library *OR* easy_install
>>>>>>>>> robotframework-selenium2library*
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Let me know if you find any difficulty with installation.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Krishantha.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Apr 29, 2014 at 10:23 PM, Krishantha Samaraweera <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Rukshan,
>>>>>>>>>>
>>>>>>>>>> Some sample robot scripts are attached here with.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> Krishantha.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Apr 29, 2014 at 10:17 PM, Malintha Adikari <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> adding
>>>>>>>>>>>
>>>>>>>>>>> 3. WSO2 Application Server Documentation[4]
>>>>>>>>>>>
>>>>>>>>>>> [4]
>>>>>>>>>>> https://docs.wso2.org/display/AS521/WSO2+Application+Server+Documentation
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Apr 29, 2014 at 10:12 PM, Malintha Adikari <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Rukshan,
>>>>>>>>>>>>
>>>>>>>>>>>> Following resources would help you to understand the basics of
>>>>>>>>>>>> required technologies.
>>>>>>>>>>>>
>>>>>>>>>>>> 1. Hello world with Axis2 web service [1]
>>>>>>>>>>>> 2. Understanding WSDL files.[2], [3]
>>>>>>>>>>>>
>>>>>>>>>>>> [1]http://wso2.com/library/95/
>>>>>>>>>>>> [2]http://oreilly.com/catalog/webservess/chapter/ch06.html
>>>>>>>>>>>> [3]http://predic8.com/wsdl-reading.htm
>>>>>>>>>>>>
>>>>>>>>>>>> Regards,
>>>>>>>>>>>> Malintha Adikari
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, Apr 29, 2014 at 9:43 PM, Rukshan Chathuranga <
>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Could understand the ultimate objective of the project and
>>>>>>>>>>>>> stating points of the project. Feasibility of the keyword driven 
>>>>>>>>>>>>> testing
>>>>>>>>>>>>> using Robot frame, should be evaluate in this week.
>>>>>>>>>>>>> Also to get understand about the Admin back-end services and WSDL
>>>>>>>>>>>>> experiment, is it possible to give  the required resources and 
>>>>>>>>>>>>> sample Test
>>>>>>>>>>>>> Script?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks and regards.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Apr 28, 2014 at 6:23 PM, Rukshan Chathuranga <
>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> yeah i'm OK with the time and place.
>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Apr 28, 2014 at 5:33 PM, Dharshana Warusavitharana <
>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Rukshan,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> How is your availability at 4.30 PM tomorrow.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> If you are ok with the time shall we schedule our discussion
>>>>>>>>>>>>>>> at that time at WSO2 office.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thank you,
>>>>>>>>>>>>>>> Dharshana.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sun, Apr 27, 2014 at 5:33 PM, Rukshan Chathuranga <
>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Yes. Afternoon is possible.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Sun, Apr 27, 2014 at 11:23 AM, Dharshana Warusavitharana
>>>>>>>>>>>>>>>> <[email protected]> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Sure Rukshan,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> How is your availability on afternoon sessions. I will
>>>>>>>>>>>>>>>>> discuss with the team and arrange a discussion.
>>>>>>>>>>>>>>>>> Meanwhile, if you need any clarifications please feel free
>>>>>>>>>>>>>>>>> to raise a mail.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thank You,
>>>>>>>>>>>>>>>>> Dharshana.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Sun, Apr 27, 2014 at 10:06 AM, Rukshan Chathuranga <
>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> hi,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> These days i trying to understand my project architecture
>>>>>>>>>>>>>>>>>> in deep. Also i am doing robot and NLP experiments to verify 
>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> feasibility.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> SO can we arrange a session to discuss more about this
>>>>>>>>>>>>>>>>>> next week?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> thanks and regards.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> 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 : [email protected] <[email protected]>
>>>>>>>>>>>>>>>>> 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/
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Dharshana Warusavitharana
>>>>>>>>>>>>>>> Senior Software Engineer , Test Automation
>>>>>>>>>>>>>>> WSO2 Inc. http://wso2.com
>>>>>>>>>>>>>>> email : [email protected] <[email protected]>
>>>>>>>>>>>>>>> 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
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Krishantha Samaraweera
>>>>>>>>>> Senior Technical Lead - Test Automation
>>>>>>>>>> Mobile: +94 77 7759918
>>>>>>>>>> WSO2, Inc.; http://wso2.com/
>>>>>>>>>> lean . enterprise . middlewear.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Krishantha Samaraweera
>>>>>>>>> Senior Technical Lead - Test Automation
>>>>>>>>> Mobile: +94 77 7759918
>>>>>>>>> WSO2, Inc.; http://wso2.com/
>>>>>>>>> lean . enterprise . middlewear.
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Krishantha Samaraweera
>>>>>>>> Senior Technical Lead - Test Automation
>>>>>>>> Mobile: +94 77 7759918
>>>>>>>> WSO2, Inc.; http://wso2.com/
>>>>>>>> lean . enterprise . middlewear.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> 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 : [email protected] <[email protected]>
>>>>>> 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/
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Dilini Muthumala*
>>>> Software Engineer,
>>>> WSO2 Inc.
>>>>
>>>> *E-mail :* [email protected]
>>>> *Mobile: *+94713 400 029
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Krishantha Samaraweera
>>> Senior Technical Lead - Test Automation
>>> Mobile: +94 77 7759918
>>> WSO2, Inc.; http://wso2.com/
>>> lean . enterprise . middlewear.
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Rajkumar Rajaratnam
>> Software Engineer | WSO2, Inc.
>>  Mobile +94783498120
>>
>
>
>
> --
> Rajkumar Rajaratnam
> Software Engineer | WSO2, Inc.
> Mobile +94783498120
>



-- 
Department Of Computer Science & Engineering,
Faculty Of Engineering,
University Of Moratuwa.
Sri lanka.
WEB: http://rukspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to