Re: [Dev] (no subject)

2017-11-15 Thread Dilusha Alphonso
Hi All,

According to the internal discussion with Mushthaq Rumy, I got an idea on
how to use the single user to achieve this.

After that, I created one user and assigned the particular role for this
user and assigned the same scope to both resources. Now both resources are
working fine.

Thanks for your support.

Thanks
Dilusha


On Wed, Nov 15, 2017 at 6:43 PM, Mushthaq Rumy  wrote:

> Hi Dilusha,
>
> AFAIK, since this is scope based permission for resources, this should
> work for both POST and DELETE resources even with the same user with the
> Administrator role.
>
> For example, if you create a scope with Administrator role and add this
> scope to all 3 resources, you should be able to generate an access token
> with the curl command.
>
> Have you given the correct scope while generating the access token? If so
> could please you provide the response of the access token generation curl?
>
> Thanks & Regards,
> Mushthaq
>
> On Wed, Nov 15, 2017 at 4:54 PM, Dilusha Alphonso 
> wrote:
>
>> Hi All,
>>
>> The Administrator(role) has resource permission for DELETE and POST.
>>
>> First  I have assigned the same user to both resources. so that
>> doesn't work for POST. But works for DELETE.
>>
>> After that, I created a new user (Admin_user) and assigned the same role
>> (Administrator). I used that username and password to get the access token.
>> I tested the POST resource with that access token. Now POST resource is
>> working fine.
>> Is this correct method?
>>
>> Thanks
>> Dilusha.
>>
>>
>>
>> On Wed, Nov 15, 2017 at 3:51 PM, Pubudu Gunatilaka 
>> wrote:
>>
>>> Hi Dilusha,
>>>
>>> Please make sure you have the correct scope in the response of the token
>>> generation.
>>>
>>> Thank you!
>>>
>>> On Wed, Nov 15, 2017 at 5:52 PM, Dilusha Alphonso 
>>> wrote:
>>>
 Hi All,

 I am trying to add SCOPE to API manager 2.1.0. I have the user role. We
 have to give the resource permission for the particular role.I follow this
 link [1]

 1. I created a new user in APIM management console using super tenant.
 ( user is User_Administrator) I didn't give any permission to that user.
 2. I assigned the roles to that user. ( user role is administrator).
 3. After I added the scope of the resource  API in the publisher for
 roles.
 4.I used the curl command to get the access token for that particular
 user.
 5.After I got access token I used it in the curl command to access the
 resource.  The GET and DELETE are working fine. but POST is giving the
 following error response.

 {"fault":{"code":900910,"message":"The access token does not allow you
 to access the requested resource","description":"Access failure for
 API: /test/1.0.0, version: 1.0.0 status: (900910) - The access token does
 not allow you to access the requested resource"}}

 It will be great if any of you can suggest a solution for this.


 [1].https://wso2.com/library/articles/2017/01/article-an-ove
 rview-of-scope-management-with-wso2-api-manager/


 Thanks
 Dilusha
 --


 *Best Regards,Dilusha Alphonso*

 *Software Engineer - Support Team*


 *WSO2*
 *Mobile : *

 *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
 *

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


>>>
>>>
>>> --
>>> *Pubudu Gunatilaka*
>>> Committer and PMC Member - Apache Stratos
>>> Senior Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> mobile : +94774078049 <%2B94772207163>
>>>
>>>
>>
>>
>> --
>>
>>
>> *Best Regards,Dilusha Alphonso*
>>
>> *Software Engineer - Support Team*
>>
>>
>> *WSO2*
>> *Mobile : *
>>
>> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
>> *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Mushthaq Rumy
> *Software Engineer*
> Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194>
> Email : musht...@wso2.com
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middleware.
>
> 
>



-- 


*Best Regards,Dilusha Alphonso*

*Software Engineer - Support Team*


*WSO2*
*Mobile : *

*+94766837098[image: http://wso2.com/signature] *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2017-11-15 Thread Mushthaq Rumy
Hi Dilusha,

AFAIK, since this is scope based permission for resources, this should work
for both POST and DELETE resources even with the same user with the
Administrator role.

For example, if you create a scope with Administrator role and add this
scope to all 3 resources, you should be able to generate an access token
with the curl command.

Have you given the correct scope while generating the access token? If so
could please you provide the response of the access token generation curl?

Thanks & Regards,
Mushthaq

On Wed, Nov 15, 2017 at 4:54 PM, Dilusha Alphonso  wrote:

> Hi All,
>
> The Administrator(role) has resource permission for DELETE and POST.
>
> First  I have assigned the same user to both resources. so that
> doesn't work for POST. But works for DELETE.
>
> After that, I created a new user (Admin_user) and assigned the same role
> (Administrator). I used that username and password to get the access token.
> I tested the POST resource with that access token. Now POST resource is
> working fine.
> Is this correct method?
>
> Thanks
> Dilusha.
>
>
>
> On Wed, Nov 15, 2017 at 3:51 PM, Pubudu Gunatilaka 
> wrote:
>
>> Hi Dilusha,
>>
>> Please make sure you have the correct scope in the response of the token
>> generation.
>>
>> Thank you!
>>
>> On Wed, Nov 15, 2017 at 5:52 PM, Dilusha Alphonso 
>> wrote:
>>
>>> Hi All,
>>>
>>> I am trying to add SCOPE to API manager 2.1.0. I have the user role. We
>>> have to give the resource permission for the particular role.I follow this
>>> link [1]
>>>
>>> 1. I created a new user in APIM management console using super tenant. (
>>> user is User_Administrator) I didn't give any permission to that user.
>>> 2. I assigned the roles to that user. ( user role is administrator).
>>> 3. After I added the scope of the resource  API in the publisher for
>>> roles.
>>> 4.I used the curl command to get the access token for that particular
>>> user.
>>> 5.After I got access token I used it in the curl command to access the
>>> resource.  The GET and DELETE are working fine. but POST is giving the
>>> following error response.
>>>
>>> {"fault":{"code":900910,"message":"The access token does not allow you
>>> to access the requested resource","description":"Access failure for
>>> API: /test/1.0.0, version: 1.0.0 status: (900910) - The access token does
>>> not allow you to access the requested resource"}}
>>>
>>> It will be great if any of you can suggest a solution for this.
>>>
>>>
>>> [1].https://wso2.com/library/articles/2017/01/article-an-ove
>>> rview-of-scope-management-with-wso2-api-manager/
>>>
>>>
>>> Thanks
>>> Dilusha
>>> --
>>>
>>>
>>> *Best Regards,Dilusha Alphonso*
>>>
>>> *Software Engineer - Support Team*
>>>
>>>
>>> *WSO2*
>>> *Mobile : *
>>>
>>> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
>>> *
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Pubudu Gunatilaka*
>> Committer and PMC Member - Apache Stratos
>> Senior Software Engineer
>> WSO2, Inc.: http://wso2.com
>> mobile : +94774078049 <%2B94772207163>
>>
>>
>
>
> --
>
>
> *Best Regards,Dilusha Alphonso*
>
> *Software Engineer - Support Team*
>
>
> *WSO2*
> *Mobile : *
>
> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Mushthaq Rumy
*Software Engineer*
Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194>
Email : musht...@wso2.com
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.


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


Re: [Dev] (no subject)

2017-11-15 Thread Dilusha Alphonso
Hi All,

The Administrator(role) has resource permission for DELETE and POST.

First  I have assigned the same user to both resources. so that
doesn't work for POST. But works for DELETE.

After that, I created a new user (Admin_user) and assigned the same role
(Administrator). I used that username and password to get the access token.
I tested the POST resource with that access token. Now POST resource is
working fine.
Is this correct method?

Thanks
Dilusha.



On Wed, Nov 15, 2017 at 3:51 PM, Pubudu Gunatilaka  wrote:

> Hi Dilusha,
>
> Please make sure you have the correct scope in the response of the token
> generation.
>
> Thank you!
>
> On Wed, Nov 15, 2017 at 5:52 PM, Dilusha Alphonso 
> wrote:
>
>> Hi All,
>>
>> I am trying to add SCOPE to API manager 2.1.0. I have the user role. We
>> have to give the resource permission for the particular role.I follow this
>> link [1]
>>
>> 1. I created a new user in APIM management console using super tenant. (
>> user is User_Administrator) I didn't give any permission to that user.
>> 2. I assigned the roles to that user. ( user role is administrator).
>> 3. After I added the scope of the resource  API in the publisher for
>> roles.
>> 4.I used the curl command to get the access token for that particular
>> user.
>> 5.After I got access token I used it in the curl command to access the
>> resource.  The GET and DELETE are working fine. but POST is giving the
>> following error response.
>>
>> {"fault":{"code":900910,"message":"The access token does not allow you
>> to access the requested resource","description":"Access failure for API:
>> /test/1.0.0, version: 1.0.0 status: (900910) - The access token does not
>> allow you to access the requested resource"}}
>>
>> It will be great if any of you can suggest a solution for this.
>>
>>
>> [1].https://wso2.com/library/articles/2017/01/article-an-ove
>> rview-of-scope-management-with-wso2-api-manager/
>>
>>
>> Thanks
>> Dilusha
>> --
>>
>>
>> *Best Regards,Dilusha Alphonso*
>>
>> *Software Engineer - Support Team*
>>
>>
>> *WSO2*
>> *Mobile : *
>>
>> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
>> *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Senior Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>


-- 


*Best Regards,Dilusha Alphonso*

*Software Engineer - Support Team*


*WSO2*
*Mobile : *

*+94766837098[image: http://wso2.com/signature] *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2017-11-15 Thread Pubudu Gunatilaka
Hi Dilusha,

Please make sure you have the correct scope in the response of the token
generation.

Thank you!

On Wed, Nov 15, 2017 at 5:52 PM, Dilusha Alphonso  wrote:

> Hi All,
>
> I am trying to add SCOPE to API manager 2.1.0. I have the user role. We
> have to give the resource permission for the particular role.I follow this
> link [1]
>
> 1. I created a new user in APIM management console using super tenant. (
> user is User_Administrator) I didn't give any permission to that user.
> 2. I assigned the roles to that user. ( user role is administrator).
> 3. After I added the scope of the resource  API in the publisher for roles.
> 4.I used the curl command to get the access token for that particular user.
> 5.After I got access token I used it in the curl command to access the
> resource.  The GET and DELETE are working fine. but POST is giving the
> following error response.
>
> {"fault":{"code":900910,"message":"The access token does not allow you to
> access the requested resource","description":"Access failure for API:
> /test/1.0.0, version: 1.0.0 status: (900910) - The access token does not
> allow you to access the requested resource"}}
>
> It will be great if any of you can suggest a solution for this.
>
>
> [1].https://wso2.com/library/articles/2017/01/article-an-ove
> rview-of-scope-management-with-wso2-api-manager/
>
>
> Thanks
> Dilusha
> --
>
>
> *Best Regards,Dilusha Alphonso*
>
> *Software Engineer - Support Team*
>
>
> *WSO2*
> *Mobile : *
>
> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Pubudu Gunatilaka*
Committer and PMC Member - Apache Stratos
Senior Software Engineer
WSO2, Inc.: http://wso2.com
mobile : +94774078049 <%2B94772207163>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2017-11-15 Thread Rukshan Premathunga
Hi Dilusha,

What roles did you assign to that user? just administrator role assigned?
Can you assign login and subscriber role to that user and check?

Thanks and Regards

On Wed, Nov 15, 2017 at 3:22 PM, Dilusha Alphonso  wrote:

> Hi All,
>
> I am trying to add SCOPE to API manager 2.1.0. I have the user role. We
> have to give the resource permission for the particular role.I follow this
> link [1]
>
> 1. I created a new user in APIM management console using super tenant. (
> user is User_Administrator) I didn't give any permission to that user.
> 2. I assigned the roles to that user. ( user role is administrator).
> 3. After I added the scope of the resource  API in the publisher for roles.
> 4.I used the curl command to get the access token for that particular user.
> 5.After I got access token I used it in the curl command to access the
> resource.  The GET and DELETE are working fine. but POST is giving the
> following error response.
>
> {"fault":{"code":900910,"message":"The access token does not allow you to
> access the requested resource","description":"Access failure for API:
> /test/1.0.0, version: 1.0.0 status: (900910) - The access token does not
> allow you to access the requested resource"}}
>
> It will be great if any of you can suggest a solution for this.
>
>
> [1].https://wso2.com/library/articles/2017/01/article-an-ove
> rview-of-scope-management-with-wso2-api-manager/
>
>
> Thanks
> Dilusha
> --
>
>
> *Best Regards,Dilusha Alphonso*
>
> *Software Engineer - Support Team*
>
>
> *WSO2*
> *Mobile : *
>
> *+94766837098 <+94%2076%20683%207098>[image: http://wso2.com/signature]
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
+94711822074
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Configuring Subject Claim URI for File based Service Provider didn't work and no proper documentation to get it done

2017-07-28 Thread Isura Karunaratne
HI Johann,

Created a Jira to track the issue [1]. Will fix this with IS 5.4.0

Thanks
Isura.

[1] https://wso2.org/jira/browse/IDENTITY-6192

On Wed, Jul 19, 2017 at 2:29 PM, Samuel Gnaniah  wrote:

> Ack for docs. Can we get some content for this?
>
> *Samuel Gnaniah*
> Lead Technical Writer
>
> WSO2 (pvt.) Ltd.
> Colombo, Sri Lanka
> (+94) 773131798 <+94%2077%20313%201798>
>
> On Tue, Jul 18, 2017 at 10:51 AM, Johann Nallathamby 
> wrote:
>
>> Hi All,
>>
>> I tried to get "Subject Claim URI" configuration working for a file based
>> SP, pointing it to a different claim other than username, but didn't
>> succeed. Also seems our documentation is still lacking on how to get this
>> done.
>>
>> Thanks & Regards,
>> Johann.
>>
>> --
>>
>> *Johann Dilantha Nallathamby*
>> Senior Lead Solutions Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - *+9476950*
>> Blog - *http://nallaa.wordpress.com *
>>
>
>


-- 

*Isura Dilhara Karunaratne*
Senior Software Engineer | WSO2
Email: is...@wso2.com
Mob : +94 772 254 810
Blog : http://isurad.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Configuring Subject Claim URI for File based Service Provider didn't work and no proper documentation to get it done

2017-07-19 Thread Samuel Gnaniah
Ack for docs. Can we get some content for this?

*Samuel Gnaniah*
Lead Technical Writer

WSO2 (pvt.) Ltd.
Colombo, Sri Lanka
(+94) 773131798

On Tue, Jul 18, 2017 at 10:51 AM, Johann Nallathamby 
wrote:

> Hi All,
>
> I tried to get "Subject Claim URI" configuration working for a file based
> SP, pointing it to a different claim other than username, but didn't
> succeed. Also seems our documentation is still lacking on how to get this
> done.
>
> Thanks & Regards,
> Johann.
>
> --
>
> *Johann Dilantha Nallathamby*
> Senior Lead Solutions Engineer
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+9476950*
> Blog - *http://nallaa.wordpress.com *
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2016-09-12 Thread Vanjikumaran Sivajothy
Hi Roger,

I have updated [1]

[1] https://github.com/vanjikumaran/CustomHandler

On Mon, Sep 12, 2016 at 12:54 PM, Vanjikumaran Sivajothy 
wrote:

> Hi,
> I have not updated the sample, but will do it soon and update you.
>
>
> On Monday, 12 September 2016, Roger Giuffre  wrote:
>
>> I see
>>  https://github.com/vanjikumaran/CustomHandler
>>
>>
>> but it is not updated to the last version of wso2am.
>> Is there a maven solution  to which I can refer to build custom handler
>> for wso2am 2.0?
>>
>> Thanks.
>>
>> Roger
>>
>
>
> --
> Sent from Gmail Mobile
>



-- 
Vanjikumaran Sivajothy
*Associate Technical Lead*
*WSO2 Inc. http://wso2.com *
 *+1-925-464-6816*
[image: Facebook]  [image: Twitter]
 [image: LinkedIn]
 [image:
Blogger]  [image: SlideShare]


This communication may contain privileged or other confidential information
and is intended exclusively for the addressee/s. If you are not the
intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print,
copy, re-transmit, disseminate, or otherwise use the information contained
in this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2016-05-25 Thread Chamila De Alwis
Could you include the full output from the Puppet run? There might be
dependencies that have failed before the Service[wso2esb] instruction.


Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Thu, May 26, 2016 at 1:37 AM, Manuranga Perera  wrote:

> I am running vagrent up [1] and I following error
>
> ==> wso2esb.4.9.0.dev.wso2.org: Error: Could not start Service[wso2esb]:
> Execution of '/etc/init.d/wso2esb start' returned 2:
> ==> wso2esb.4.9.0.dev.wso2.org: Error:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb]/ensure
> :
> change from stopped to running failed: Could not start Service[wso2esb]:
> Execution of '/etc/init.d/wso2esb start' returned 2:
> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Service[wso2esb
> ]: Triggered
> 'refresh' from 2 events
> ==> wso2esb.4.9.0.dev.wso2.org: Notice:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>  started
> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
> 192.168.100.2/wso2esb-4.9.0]: Dependency Service[wso2esb] has failures:
> true
> ==> wso2esb.4.9.0.dev.wso2.org: Warning:
> /Stage[main]/Wso2esb/Wso2base::Server[/mnt/
> 192.168.100.2/wso2esb-4.9.0]/Notify[Successfully
>  started
> WSO2 service [name] wso2esb, [CARBON_HOME] /mnt/
> 192.168.100.2/wso2esb-4.9.0]: Skipping because of failed dependencies
> ==> wso2esb.4.9.0.dev.wso2.org: Notice: Finished catalog run in 13.66
> seconds
>
> Are these error lines expected ?
>
> [1] https://github.com/wso2/puppet-modules/tree/master/vagrant
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2016-04-19 Thread Vijini Liyanage
vijiniliyanage...@cse.mrt.ac.lk

On 21 March 2016 at 11:51, Vijini Liyanage 
wrote:

> vijiniliyanage...@cse.mrt.ac.lk
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2016-03-09 Thread Isuru Haththotuwa
Hi Hardik,

Nice to see your interest in the project.

You do not need external hardware, can setup Openshift locally using Docker
[1].

The basic requirement is to get WSO2 middleware products running in
OpenShift. As a starting point, please get an understanding of how you can
deploy a WSO2 product in OpenShift. Afterwards, please get an understanding
of how Carbon Clustering works, and check the existing Membership scheme
for Kubernetes [2].

Please communicate via WSO2 Developer List (dev@wso2.org) to get a better
visibility and wider input.

[1]. https://docs.openshift.org/latest/getting_started/administrators.html

[2].
https://github.com/wso2/kubernetes-artifacts/tree/master/common/kubernetes-membership-scheme

On Wed, Mar 9, 2016 at 9:46 PM, Hardik Patel  wrote:

> Hello sir,
>
> I am Final year student in BE CSE. Working on Java based IOT project.
> I am interested in taking part in gsoc 2016. I am interested in
> project 30 "[cloud] Native Cloud Support for Running WSO2 Middleware
> on RedHat OpenShift".
> Can you give me more details about this project?
> And what hardware required for this cloud project? Do I need external
> hardware like server and etc?
>



-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-09-20 Thread Ishara Cooray
Hi,

Correct URL for the admin dash board is
https://localhost:9443/admin-dashboard

You are getting 405 because, you are trying to call a method that is not
available.

Regards,

Ishara Cooray
Senior Software Engineer
Mobile : +9477 262 9512
WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

On Thu, Sep 17, 2015 at 2:41 PM, Irham Iqbal  wrote:

> Hi ,
>
> I am trying to add workflow extensions to APIM by following the
> document[1]. First I am trying with the "Adding an Application Creation
> Workflow" document [2].  Under "Engaging the WS Workflow Executor in the
> API Manager" when I am doing the 3rd point "Creating a application in
> store" I am getting a popup window with a "null" value. Also as mention in
> the 5th point i tried https://localhost:9443/workflow-admin URL and got
> "HTTP Status 405 - HTTP method GET is not supported by this URL". Is there
> any necessary steps that I need to follow other than the document ?
>
> [1] https://docs.wso2.com/display/AM190/Adding+Workflow+Extensions
> [2]
> https://docs.wso2.com/display/AM190/Adding+an+Application+Creation+Workflow
>
> Please note I am using APIM 1.9 and BPS 3.2
>
> Thanks,
> Iqbal
>
>
>
> --
> Irham Iqbal
> Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
> phone: +94 777888452
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-02-20 Thread Ishara Karunarathna
Hi Suharsha,

Welcome to the list.

For a beginning better to get some understanding on OAuth and try out
sample scenarios with that.
Then go through the specifications attached to proposal 7 description

[1] You can download the WSo2 Identity server
[2] Documentation on OAuth concepts
[3] Try out OAuth sample

Thanks,
Ishara

[1] http://wso2.com/products/identity-server/
[2] https://docs.wso2.com/display/IS500/OAuth+Concepts
[3]
https://docs.wso2.com/display/IS450/OAuth+2.0+Playground+with+WSO2+Identity+Server

On Wed, Feb 18, 2015 at 6:44 AM, Suharsha fonseka 
suharshafonsek...@gmail.com wrote:

 Hi,

 I am Suharsha Fonseka.
 I am Currently  an undergraduate student of Informatics Institute of
 Technology(IIT).

 And i like to work in the project proposal - 07
 User-Managed Access (UMA) Profile for OAuth2
 and i want some guidence to work in the project

 Thanks,

 Suharsha Fonseka

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




-- 
Ishara Karunarathna
Senior Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile: +94
718211678
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-02-17 Thread Pubudu Dodangoda
Sending null as the remote address param solved the problem!

On Tue, Feb 17, 2015 at 2:14 PM, Pubudu Dodangoda pubu...@wso2.com wrote:


 I am trying to authenticate a valid user (say admin/admin) via a
 webservice which is hosted inside the BAM
 The procedure I followed is as follows

 Create an AuthenticationAdminStub
 login using admin/ admin

 I have 3 issues
 1) Will this procedure work?
 2)What should be the service URL which should be given as a parameter to
 the AuthenticationAdminStub?
 3)What should be the remote address which should be given to the
 login(userName,password,remoteAddress) method?
 --
 Pubudu Dodangoda
 BSc Engineering(Hon's) Undergraduate
 Department of Computer Science Engineering
 University of Moratuwa
 0716053681 / 0775192994

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




-- 
Pubudu Dodangoda
BSc Engineering(Hon's) Undergraduate
Department of Computer Science Engineering
University of Moratuwa
0716053681 / 0775192994
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-02-17 Thread Malintha Adikari
Hi Pubudu,

AFAIK above procedure is  correct. Please fine answers inline


On Tue, Feb 17, 2015 at 8:44 AM, Pubudu Dodangoda pubu...@wso2.com wrote:


 I am trying to authenticate a valid user (say admin/admin) via a
 webservice which is hosted inside the BAM
 The procedure I followed is as follows

 Create an AuthenticationAdminStub
 login using admin/ admin

 I have 3 issues
 1) Will this procedure work?


Yes


 2)What should be the service URL which should be given as a parameter to
 the AuthenticationAdminStub?


https://; + hostName + : + httpsPort + / + webContextRoot + / + 
services/ + AuthenticationAdmin;

As an example https://localhost:9443/services/AuthenticationAdmin;


3)What should be the remote address which should be given to the
 login(userName,password,remoteAddress) method?


It should be the hostname of the remote host (String). If you have resolved
it in /etc/hosts your can put that here. I think in your case it should be
localhost

Please look at this blog post for sample code [1]

[1]
http://nuwanwimalasekara.blogspot.com/2013/02/invoking-wso2-carbon-admin-services.html

Regards,
Malintha Adikari

 --
 Pubudu Dodangoda
 BSc Engineering(Hon's) Undergraduate
 Department of Computer Science Engineering
 University of Moratuwa
 0716053681 / 0775192994

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




-- 
*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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-02-04 Thread Shavantha Weerasinghe
Hi Chalitha

I got the similar error on https://wso2.org/jira/browse/BAM-1689. The
answer will be on this jira

regards

Shavantha Weerasinghe
Senior Software Engineer QA
WSO2, Inc.
lean.enterprise.middleware.
http://wso2.com
http://wso2.org
Tel : 94 11 214 5345
Fax :94 11 2145300


On Wed, Sep 10, 2014 at 5:03 PM, Chalitha Waldeniyage chali...@wso2.com
wrote:

 Hi

 When i am integrating API Manager latest pack(04/09/2014) with BAM 2.3.0
 and invoking the API through Jmeter, following error message has prompted
 in API Manager side. Please provide directives in proceeding.


  ERROR - AsyncDataPublisher Stream definition already exist
 org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedException:
 Same stream id with different definition already defined before sending
 this event definitions to TCP,10.100.5.45:7612,TCP,10.100.5.45:7712
 at
 org.wso2.carbon.databridge.agent.thrift.internal.publisher.client.EventPublisher.defineStream(EventPublisher.java:237)
 at
 org.wso2.carbon.databridge.agent.thrift.DataPublisher.defineStream(DataPublisher.java:295)
 at
 org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher$DataPublishWorker.run(AsyncDataPublisher.java:690)
 at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask.run(FutureTask.java:262)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:744)
 Caused by:
 org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedException:
 Thrift Different Stream Definition Already Defined
 at
 org.wso2.carbon.databridge.agent.thrift.internal.publisher.client.ThriftEventPublisher.defineStream(ThriftEventPublisher.java:112)
 at
 org.wso2.carbon.databridge.agent.thrift.internal.publisher.client.EventPublisher.defineStream(EventPublisher.java:222)
 ... 7 more
 Caused by:
 ThriftDifferentStreamDefinitionAlreadyDefinedException(message:Similar
 event stream for
 StreamDefinition{
 streamId='org.wso2.apimgt.statistics.fault:1.0.0',
 name='org.wso2.apimgt.statistics.fault',
 version='1.0.0',
 nickName='API Manager Fault Data',
 description='Fault Data',
 tags=null,
 metaData=[Attribute{name='clientType', type=STRING}],
 correlationData=null,
 payloadData=[Attribute{name='consumerKey', type=STRING},
 Attribute{name='context', type=STRING}, Attribute{name='api_version',
 type=STRING}, Attribute{name='api', type=STRING},
 Attribute{name='resourcePath', type=STRING}, Attribute{name='method',
 type=STRING}, Attribute{name='version', type=STRING},
 Attribute{name='errorCode', type=STRING}, Attribute{name='errorMessage',
 type=STRING}, Attribute{name='requestTime', type=STRING},
 Attribute{name='userId', type=STRING}, Attribute{name='tenantDomain',
 type=STRING}, Attribute{name='hostName', type=STRING},
 Attribute{name='apiPublisher', type=STRING},
 Attribute{name='applicationName', type=STRING},
 Attribute{name='applicationId', type=STRING}],
 }
  with the same name and version already exist:
 StreamDefinition{
 streamId='org.wso2.apimgt.statistics.fault:1.0.0',
 name='org.wso2.apimgt.statistics.fault',
 version='1.0.0',
 nickName='API Manager Fault Data',
 description='Fault Data',
 tags=null,
 metaData=[Attribute{name='clientType', type=STRING}],
 correlationData=null,
 payloadData=[Attribute{name='consumerKey', type=STRING},
 Attribute{name='context', type=STRING}, Attribute{name='api_version',
 type=STRING}, Attribute{name='api', type=STRING},
 Attribute{name='resource', type=STRING}, Attribute{name='method',
 type=STRING}, Attribute{name='version', type=STRING},
 Attribute{name='errorCode', type=STRING}, Attribute{name='errorMessage',
 type=STRING}, Attribute{name='requestTime', type=STRING},
 Attribute{name='userId', type=STRING}, Attribute{name='tenantDomain',
 type=STRING}, Attribute{name='hostName', type=STRING},
 Attribute{name='apiPublisher', type=STRING},
 Attribute{name='applicationName', type=STRING},
 Attribute{name='applicationId', type=STRING}],
 }
 )
 at
 org.wso2.carbon.databridge.commons.thrift.service.general.ThriftEventTransmissionService$defineStream_result.read(ThriftEventTransmissionService.java:1441)
 at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
 at
 org.wso2.carbon.databridge.commons.thrift.service.general.ThriftEventTransmissionService$Client.recv_defineStream(ThriftEventTransmissionService.java:80)
 at
 org.wso2.carbon.databridge.commons.thrift.service.general.ThriftEventTransmissionService$Client.defineStream(ThriftEventTransmissionService.java:66)
 at
 

Re: [Dev] (no subject)

2015-01-20 Thread Chanaka Cooray
Hi,
I will check that.

Thank you.

On Tue, Jan 20, 2015 at 11:29 AM, Malaka Silva mal...@wso2.com wrote:

 Hi,

 There was some code re factoring done in the admin stub some time ago.
 Please merge with upstream.

 Build seems to be ok [1].

 [1] https://wso2.org/jenkins/job/carbon-mediation/398/

 On Tue, Jan 20, 2015 at 11:23 AM, Eranda Rajapakshe eran...@wso2.com
 wrote:

 I got this error when I am building the inbound-endpoint-ui component. It
 doesn't show any error logs in the console, but the only problem is that
 inbound-endpoint ui is not coming up. And the error message 
 org.wso2.carbon.inbound.stub.InboundAdminStub.
 getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;
 comes in a message dialog box when I am trying to access the inbound
 endpoint ui.

 On Tue, Jan 20, 2015 at 11:07 AM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi Chanaka,

 Can you please provide the complete error? Also, the archived mail [1],
 talks about a similar issue. Have a look at it too.

 [1]] - https://www.mail-archive.com/dev%40wso2.org/msg38252.html

 Thank you,
 Shiva Balachandran

 On Tue, Jan 20, 2015 at 10:33 AM, Chanaka Cooray chana...@wso2.com
 wrote:

 I forgot to attach the error.


 org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;

 On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray chana...@wso2.com
 wrote:


 I am trying to build the inbound endpoint ui in carbon-mediation. I
 used mvn clean install in this
 directory components/mediation-ui/org.wso2.carbon.inbound.ui  to
 build the jar and copied it to the
 /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.

 Even though the build was successful, the inbound endpoint tab doesn't
 appear in the ESB management console. It shows the following error.



 Is there any step that I have missed in the process of building the
 jar file?

 Thank you!
 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884




 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884

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




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788

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




 --
 *Eranda Rajapakshe*
 Software Engineering intern
 WSO2 Inc. www.wso2.com

 *B. Sc. Eng. (Hons) Undergraduate*
 *Dept. of Computer Science and Engineering*
 *University of Moratuwa, Sri Lanka*
 Tel : +94784822608
 Email : eran...@wso2.com




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.




-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-01-19 Thread Chanaka Cooray
I forgot to attach the error.

org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;

On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray chana...@wso2.com wrote:


 I am trying to build the inbound endpoint ui in carbon-mediation. I used
 mvn clean install in this
 directory components/mediation-ui/org.wso2.carbon.inbound.ui  to
 build the jar and copied it to the
 /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.

 Even though the build was successful, the inbound endpoint tab doesn't
 appear in the ESB management console. It shows the following error.



 Is there any step that I have missed in the process of building the jar
 file?

 Thank you!
 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884




-- 
*Chanaka Sampath Cooray*
Software Engineering Intern,
WSO2 Lanka (pvt) Ltd.
Mobile:+94713614884
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-01-19 Thread Malaka Silva
Hi,

There was some code re factoring done in the admin stub some time ago.
Please merge with upstream.

Build seems to be ok [1].

[1] https://wso2.org/jenkins/job/carbon-mediation/398/

On Tue, Jan 20, 2015 at 11:23 AM, Eranda Rajapakshe eran...@wso2.com
wrote:

 I got this error when I am building the inbound-endpoint-ui component. It
 doesn't show any error logs in the console, but the only problem is that
 inbound-endpoint ui is not coming up. And the error message 
 org.wso2.carbon.inbound.stub.InboundAdminStub.
 getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;
 comes in a message dialog box when I am trying to access the inbound
 endpoint ui.

 On Tue, Jan 20, 2015 at 11:07 AM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi Chanaka,

 Can you please provide the complete error? Also, the archived mail [1],
 talks about a similar issue. Have a look at it too.

 [1]] - https://www.mail-archive.com/dev%40wso2.org/msg38252.html

 Thank you,
 Shiva Balachandran

 On Tue, Jan 20, 2015 at 10:33 AM, Chanaka Cooray chana...@wso2.com
 wrote:

 I forgot to attach the error.


 org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;

 On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray chana...@wso2.com
 wrote:


 I am trying to build the inbound endpoint ui in carbon-mediation. I
 used mvn clean install in this
 directory components/mediation-ui/org.wso2.carbon.inbound.ui  to
 build the jar and copied it to the
 /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.

 Even though the build was successful, the inbound endpoint tab doesn't
 appear in the ESB management console. It shows the following error.



 Is there any step that I have missed in the process of building the jar
 file?

 Thank you!
 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884




 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884

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




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788

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




 --
 *Eranda Rajapakshe*
 Software Engineering intern
 WSO2 Inc. www.wso2.com

 *B. Sc. Eng. (Hons) Undergraduate*
 *Dept. of Computer Science and Engineering*
 *University of Moratuwa, Sri Lanka*
 Tel : +94784822608
 Email : eran...@wso2.com




-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-01-19 Thread Shiva Balachandran
Hi Chanaka,

Can you please provide the complete error? Also, the archived mail [1],
talks about a similar issue. Have a look at it too.

[1]] - https://www.mail-archive.com/dev%40wso2.org/msg38252.html

Thank you,
Shiva Balachandran

On Tue, Jan 20, 2015 at 10:33 AM, Chanaka Cooray chana...@wso2.com wrote:

 I forgot to attach the error.


 org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;

 On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray chana...@wso2.com
 wrote:


 I am trying to build the inbound endpoint ui in carbon-mediation. I used
 mvn clean install in this
 directory components/mediation-ui/org.wso2.carbon.inbound.ui  to
 build the jar and copied it to the
 /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.

 Even though the build was successful, the inbound endpoint tab doesn't
 appear in the ESB management console. It shows the following error.



 Is there any step that I have missed in the process of building the jar
 file?

 Thank you!
 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884




 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884

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




-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2015-01-19 Thread Eranda Rajapakshe
I got this error when I am building the inbound-endpoint-ui component. It
doesn't show any error logs in the console, but the only problem is that
inbound-endpoint ui is not coming up. And the error message 
org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[
Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO; comes in a
message dialog box when I am trying to access the inbound endpoint ui.

On Tue, Jan 20, 2015 at 11:07 AM, Shiva Balachandran sh...@wso2.com wrote:

 Hi Chanaka,

 Can you please provide the complete error? Also, the archived mail [1],
 talks about a similar issue. Have a look at it too.

 [1]] - https://www.mail-archive.com/dev%40wso2.org/msg38252.html

 Thank you,
 Shiva Balachandran

 On Tue, Jan 20, 2015 at 10:33 AM, Chanaka Cooray chana...@wso2.com
 wrote:

 I forgot to attach the error.


 org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()[Lorg/wso2/carbon/inbound/stub/types/carbon/InboundEndpointDTO;

 On Tue, Jan 20, 2015 at 10:31 AM, Chanaka Cooray chana...@wso2.com
 wrote:


 I am trying to build the inbound endpoint ui in carbon-mediation. I used
 mvn clean install in this
 directory components/mediation-ui/org.wso2.carbon.inbound.ui  to
 build the jar and copied it to the
 /wso2esb-4.9.0-SNAPSHOT/repository/components/plugins directory.

 Even though the build was successful, the inbound endpoint tab doesn't
 appear in the ESB management console. It shows the following error.



 Is there any step that I have missed in the process of building the jar
 file?

 Thank you!
 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884




 --
 *Chanaka Sampath Cooray*
 Software Engineering Intern,
 WSO2 Lanka (pvt) Ltd.
 Mobile:+94713614884

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




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788

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




-- 
*Eranda Rajapakshe*
Software Engineering intern
WSO2 Inc. www.wso2.com

*B. Sc. Eng. (Hons) Undergraduate*
*Dept. of Computer Science and Engineering*
*University of Moratuwa, Sri Lanka*
Tel : +94784822608
Email : eran...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2014-03-17 Thread Bhathiya Jayasekara
Seems $Subject is undefined. :)


On Mon, Mar 17, 2014 at 11:53 PM, Nila tharshay...@gmail.com wrote:


 Hi,
 I would like to express my interest on the $Subject.

 I've gone through the Developer Studio page and documentation [1] and have
 downloaded the source, had a look on SWTBOT [2] [3] and Maven Tycho
 integration [4].

 I'm bit familiar with Maven, JUnit (SWTBOT seems similar but it's for
 testing SWT UI) and Eclipse Plugins. The project seems exciting and I'm
 keen to enrich the other required knowledge and practices to attempt this
 project.

 Please let me know your feedback and guidance.

 Thanks in advance.

 [1] http://wso2.com/products/developer-studio/

 [2] http://eclipse.org/swtbot/

 [3] http://www.vogella.com/tutorials/SWTBot/article.html

 [4] https://wiki.eclipse.org/SWTBot/Automate_test_execution




 Regards,
 Tharshayene Loganathan
 Undergraduate,
 Dept. of Computer Science  Engineering,
 IIT,Sri Lanka.



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




-- 
*Bhathiya Jayasekara*
*Software Engineer,*
*WSO2 inc., http://wso2.com http://wso2.com*

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
http://www.linkedin.com/in/bhathiyaj*
*Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*
*Blog: http://movingaheadblog.blogspot.com
http://movingaheadblog.blogspot.com/*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2014-03-17 Thread Nila
I've defined the $Subject but it didn't get posted, just wondering.

Anyway pardon me.

The Subject is supposed to be,

Student Introduction, GSoC-2014 project: UI Testing Framework for
Developer Studio

Thanks.



Regards,
Tharshayene Loganathan
Undergraduate,
Dept. of Computer Science  Engineering,
IIT,Sri Lanka.




On 18 March 2014 00:12, Bhathiya Jayasekara bhath...@wso2.com wrote:

 Seems $Subject is undefined. :)


 On Mon, Mar 17, 2014 at 11:53 PM, Nila tharshay...@gmail.com wrote:


 Hi,
 I would like to express my interest on the $Subject.

 I've gone through the Developer Studio page and documentation [1] and
 have downloaded the source, had a look on SWTBOT [2] [3] and Maven Tycho
 integration [4].

 I'm bit familiar with Maven, JUnit (SWTBOT seems similar but it's for
 testing SWT UI) and Eclipse Plugins. The project seems exciting and I'm
 keen to enrich the other required knowledge and practices to attempt this
 project.

 Please let me know your feedback and guidance.

 Thanks in advance.

 [1] http://wso2.com/products/developer-studio/

 [2] http://eclipse.org/swtbot/

 [3] http://www.vogella.com/tutorials/SWTBot/article.html

 [4] https://wiki.eclipse.org/SWTBot/Automate_test_execution




 Regards,
 Tharshayene Loganathan
 Undergraduate,
 Dept. of Computer Science  Engineering,
 IIT,Sri Lanka.



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




 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*
 *Blog: http://movingaheadblog.blogspot.com
 http://movingaheadblog.blogspot.com/*

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


Re: [Dev] (no subject)

2014-03-17 Thread Nila
It seems like it's better to repost with the subject. I've placed the
subject for sure, but I'm not sure what has gone wrong. I'll try again.

Sorry for any inconvenience.


Regards,
Tharshayene Loganathan
Undergraduate,
Dept. of Computer Science  Engineering,
IIT,Sri Lanka.




On 18 March 2014 00:22, Nila tharshay...@gmail.com wrote:

 I've defined the $Subject but it didn't get posted, just wondering.

 Anyway pardon me.

 The Subject is supposed to be,

 Student Introduction, GSoC-2014 project: UI Testing Framework for
 Developer Studio

 Thanks.



 Regards,
 Tharshayene Loganathan
 Undergraduate,
 Dept. of Computer Science  Engineering,
 IIT,Sri Lanka.




 On 18 March 2014 00:12, Bhathiya Jayasekara bhath...@wso2.com wrote:

 Seems $Subject is undefined. :)


 On Mon, Mar 17, 2014 at 11:53 PM, Nila tharshay...@gmail.com wrote:


 Hi,
 I would like to express my interest on the $Subject.

 I've gone through the Developer Studio page and documentation [1] and
 have downloaded the source, had a look on SWTBOT [2] [3] and Maven Tycho
 integration [4].

 I'm bit familiar with Maven, JUnit (SWTBOT seems similar but it's for
 testing SWT UI) and Eclipse Plugins. The project seems exciting and I'm
 keen to enrich the other required knowledge and practices to attempt this
 project.

 Please let me know your feedback and guidance.

 Thanks in advance.

 [1] http://wso2.com/products/developer-studio/

 [2] http://eclipse.org/swtbot/

 [3] http://www.vogella.com/tutorials/SWTBot/article.html

 [4] https://wiki.eclipse.org/SWTBot/Automate_test_execution




 Regards,
 Tharshayene Loganathan
 Undergraduate,
 Dept. of Computer Science  Engineering,
 IIT,Sri Lanka.



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




 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*
 *Blog: http://movingaheadblog.blogspot.com
 http://movingaheadblog.blogspot.com/*



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


Re: [Dev] (no subject)

2014-02-20 Thread Udara Liyanage
Please use a proper subject so it easy for readers.

Touched, not typed. Erroneous words are a feature, not a typo.
On Feb 19, 2014 3:06 PM, Mihil Ranathunga mi...@wso2.com wrote:

 Hi all,

 I'm trying to create rest resources in wso2dss. I get following error when
 i try to put resource parameters in the resource path

 https://gist.github.com/mihilranathunga/9088513

 *my query*

query id=GetDeviceByID useConfig=WSO2_HWDREPO_SERVICE
   sqlselect * from device where device_id=:device_id and :emp_id in
 (select employee_id from assignment where
 assignment.device_id=:device_id)/sql
   result element=BaseElement rowName=Element
  element column=device_id name=device_id xsdType=integer/
  element column=make name=make xsdType=string/
  element column=model name=model xsdType=string/
  element column=rating name=rating xsdType=integer/

 ...
   /result
   param name=device_id sqlType=INTEGER/
   param name=emp_id sqlType=STRING/
/query

 *resource*

  resource method=GET path=user/{emp_id}/devices/{device_id}
   descriptionGet device details by providing id  /description
   call-query href=GetDeviceByID
  with-param name=device_id query-param=device_id/
  with-param name=emp_id query-param=emp_id/
   /call-query

 But it works when i put path=user/devices/{device_id}

 serviceUrl/user/mi...@wso2.com/devices/210  is not working(browser)
 ServiceUrl/user/devices/210?emp_id=mi...@wso2.com is working in the
 browser when path is set to user/devices/{device_id}

 Any ideas?

 Thanks,
 Mihil

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


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


Re: [Dev] (no subject)

2013-10-21 Thread Manoj Kumara
Hi,

I think this is due to not adding the lib directory inside kernel patch0001
to the product distribution. Once the product teams correctly applied all
the elements on patch0001 this should be fixed.

Thanks,
Manoj

Best Regards..


Manoj Kumara
Software Engineer
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/ManKuma
Mobile: +94713448188


On Mon, Oct 21, 2013 at 8:17 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 This issue is not seem to be fixed.
 https://wso2.org/jira/browse/CARBON-14488

 Occurred in BAM.
 https://wso2.org/jira/browse/BAM-1352

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*

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


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


Re: [Dev] (no subject)

2013-10-21 Thread Gokul Balakrishnan
Hi Chamara,

We had missed adding the lib directory from patch0001 to the BAM
distribution pack. I've already fixed this yesterday with r19, and the
fix should be available in the latest packs.

Thanks,
Gokul.


On 21 October 2013 23:11, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 I think this is due to not adding the lib directory inside kernel
 patch0001 to the product distribution. Once the product teams correctly
 applied all the elements on patch0001 this should be fixed.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Mon, Oct 21, 2013 at 8:17 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 This issue is not seem to be fixed.
 https://wso2.org/jira/browse/CARBON-14488

 Occurred in BAM.
  https://wso2.org/jira/browse/BAM-1352

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*

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



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




-- 
*Balakrishnan Gokulakrishnan*
Software Engineer,
WSO2, Inc.; http://wso2.com
Tel: 0094 11 214 5345  |  Fax: 0094 11 214 5300

Twitter:  http://twitter.com/gokulbs
Mobile: 0094 77 593 5789
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-07-01 Thread Afkham Azeez
Hold on. The System properties are only for tests. In the Carbon runtime,
these providers are obtained as OSGi services.

In CarbonCoreActivator you will find the following entries;
context.registerService(AnnotationProvider.class, new
AnnotationProviderImpl(), null);
context.registerService(CachingProvider.class, new
CachingProviderImpl(), null);

Perhaps, the CachingServiceComponent set methods are not getting called.
Can you check?


On Mon, Jul 1, 2013 at 7:23 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Azeez,

 Pulasthi got the following error while he was running the tests after the
 Caching changes.

 *Caused by: java.lang.IllegalStateException: No CachingProviders found in
 classpath.*
 *
 *
 After some digging we found out that the following system properties have
 been set in the caching test cases.

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Where should we initialize these properties in the code base?

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-07-01 Thread Pulasthi Supun
Hi Azeez,

I got this error when running registry core tests, so will have to add the
two lines in the tests right?

Regards,
Pulasthi


On Mon, Jul 1, 2013 at 7:34 PM, Afkham Azeez az...@wso2.com wrote:

 Hold on. The System properties are only for tests. In the Carbon runtime,
 these providers are obtained as OSGi services.

 In CarbonCoreActivator you will find the following entries;
 context.registerService(AnnotationProvider.class, new
 AnnotationProviderImpl(), null);
 context.registerService(CachingProvider.class, new
 CachingProviderImpl(), null);

 Perhaps, the CachingServiceComponent set methods are not getting called.
 Can you check?


 On Mon, Jul 1, 2013 at 7:23 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Azeez,

 Pulasthi got the following error while he was running the tests after the
 Caching changes.

 *Caused by: java.lang.IllegalStateException: No CachingProviders found
 in classpath.*
 *
 *
 After some digging we found out that the following system properties have
 been set in the caching test cases.

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Where should we initialize these properties in the code base?

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*

 *
 *
 *Lean . Enterprise . Middleware*




-- 
--
Pulasthi Supun
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: pulas...@wso2.com
Mobile: +94 (71) 9258281
Blog : http://pulasthisupun.blogspot.com/
Git hub profile: https://github.com/pulasthi
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-07-01 Thread Afkham Azeez
Yes, tests that use the cache will require these System props.


On Mon, Jul 1, 2013 at 7:48 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Azeez,

 I got this error when running registry core tests, so will have to add the
 two lines in the tests right?

 Regards,
 Pulasthi


 On Mon, Jul 1, 2013 at 7:34 PM, Afkham Azeez az...@wso2.com wrote:

 Hold on. The System properties are only for tests. In the Carbon runtime,
 these providers are obtained as OSGi services.

 In CarbonCoreActivator you will find the following entries;
 context.registerService(AnnotationProvider.class, new
 AnnotationProviderImpl(), null);
 context.registerService(CachingProvider.class, new
 CachingProviderImpl(), null);

 Perhaps, the CachingServiceComponent set methods are not getting called.
 Can you check?


 On Mon, Jul 1, 2013 at 7:23 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Azeez,

 Pulasthi got the following error while he was running the tests after
 the Caching changes.

 *Caused by: java.lang.IllegalStateException: No CachingProviders found
 in classpath.*
 *
 *
 After some digging we found out that the following system properties
 have been set in the caching test cases.

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Where should we initialize these properties in the code base?

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*

 *
 *
 *Lean . Enterprise . Middleware*




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-07-01 Thread Afkham Azeez
Also get an update of javax.cache.wso2. I have added code which retries to
init if the providers a missing.


On Mon, Jul 1, 2013 at 7:50 PM, Afkham Azeez az...@wso2.com wrote:

 Yes, tests that use the cache will require these System props.


 On Mon, Jul 1, 2013 at 7:48 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Azeez,

 I got this error when running registry core tests, so will have to add
 the two lines in the tests right?

 Regards,
 Pulasthi


 On Mon, Jul 1, 2013 at 7:34 PM, Afkham Azeez az...@wso2.com wrote:

 Hold on. The System properties are only for tests. In the Carbon
 runtime, these providers are obtained as OSGi services.

 In CarbonCoreActivator you will find the following entries;
 context.registerService(AnnotationProvider.class, new
 AnnotationProviderImpl(), null);
 context.registerService(CachingProvider.class, new
 CachingProviderImpl(), null);

 Perhaps, the CachingServiceComponent set methods are not getting called.
 Can you check?


 On Mon, Jul 1, 2013 at 7:23 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Azeez,

 Pulasthi got the following error while he was running the tests after
 the Caching changes.

 *Caused by: java.lang.IllegalStateException: No CachingProviders found
 in classpath.*
 *
 *
 After some digging we found out that the following system properties
 have been set in the caching test cases.

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Where should we initialize these properties in the code base?

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*

 *
 *
 *Lean . Enterprise . Middleware*




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-07-01 Thread Pulasthi Supun
Hi Azeez,

Ran into a problem when adding the following code into the registry core
tests,

System.getProperties().put(caching.provider.impl, new
CachingProviderImpl());
System.getProperties().put(annotation.provider.impl, new
AnnotationProviderImpl());

Since
org.wso2.carbon.core.clustering.hazelcast.jsr107.AnnotationProviderImpl
and org.wso2.carbon.core.clustering.hazelcast.jsr107.CachingProviderImpl
is in the carbon.core have to add carbon core as an dependency  for the
registry core, but this will create an cyclic dependency since registry
core is already an dependency of carbon.core. how should i proceed?.

Regards,
Pulasthi



On Mon, Jul 1, 2013 at 7:51 PM, Afkham Azeez az...@wso2.com wrote:

 Also get an update of javax.cache.wso2. I have added code which retries to
 init if the providers a missing.


 On Mon, Jul 1, 2013 at 7:50 PM, Afkham Azeez az...@wso2.com wrote:

 Yes, tests that use the cache will require these System props.


 On Mon, Jul 1, 2013 at 7:48 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Azeez,

 I got this error when running registry core tests, so will have to add
 the two lines in the tests right?

 Regards,
 Pulasthi


 On Mon, Jul 1, 2013 at 7:34 PM, Afkham Azeez az...@wso2.com wrote:

 Hold on. The System properties are only for tests. In the Carbon
 runtime, these providers are obtained as OSGi services.

 In CarbonCoreActivator you will find the following entries;
 context.registerService(AnnotationProvider.class, new
 AnnotationProviderImpl(), null);
 context.registerService(CachingProvider.class, new
 CachingProviderImpl(), null);

 Perhaps, the CachingServiceComponent set methods are not getting
 called. Can you check?


 On Mon, Jul 1, 2013 at 7:23 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Azeez,

 Pulasthi got the following error while he was running the tests after
 the Caching changes.

 *Caused by: java.lang.IllegalStateException: No CachingProviders
 found in classpath.*
 *
 *
 After some digging we found out that the following system properties
 have been set in the caching test cases.

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Where should we initialize these properties in the code base?

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*

 *
 *
 *Lean . Enterprise . Middleware*




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




-- 
--
Pulasthi Supun
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: pulas...@wso2.com
Mobile: +94 (71) 9258281
Blog : http://pulasthisupun.blogspot.com/
Git hub profile: https://github.com/pulasthi
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-07-01 Thread Afkham Azeez
Move registry integration tests out of the registry bundle. Introduce a
registry-integration-tests module.

Azeez


On Mon, Jul 1, 2013 at 8:09 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Azeez,

 Ran into a problem when adding the following code into the registry core
 tests,

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Since
 org.wso2.carbon.core.clustering.hazelcast.jsr107.AnnotationProviderImpl
 and org.wso2.carbon.core.clustering.hazelcast.jsr107.CachingProviderImpl
 is in the carbon.core have to add carbon core as an dependency  for the
 registry core, but this will create an cyclic dependency since registry
 core is already an dependency of carbon.core. how should i proceed?.

 Regards,
 Pulasthi



 On Mon, Jul 1, 2013 at 7:51 PM, Afkham Azeez az...@wso2.com wrote:

 Also get an update of javax.cache.wso2. I have added code which retries
 to init if the providers a missing.


 On Mon, Jul 1, 2013 at 7:50 PM, Afkham Azeez az...@wso2.com wrote:

 Yes, tests that use the cache will require these System props.


 On Mon, Jul 1, 2013 at 7:48 PM, Pulasthi Supun pulas...@wso2.comwrote:

 Hi Azeez,

 I got this error when running registry core tests, so will have to add
 the two lines in the tests right?

 Regards,
 Pulasthi


 On Mon, Jul 1, 2013 at 7:34 PM, Afkham Azeez az...@wso2.com wrote:

 Hold on. The System properties are only for tests. In the Carbon
 runtime, these providers are obtained as OSGi services.

 In CarbonCoreActivator you will find the following entries;
 context.registerService(AnnotationProvider.class, new
 AnnotationProviderImpl(), null);
 context.registerService(CachingProvider.class, new
 CachingProviderImpl(), null);

 Perhaps, the CachingServiceComponent set methods are not getting
 called. Can you check?


 On Mon, Jul 1, 2013 at 7:23 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Azeez,

 Pulasthi got the following error while he was running the tests after
 the Caching changes.

 *Caused by: java.lang.IllegalStateException: No CachingProviders
 found in classpath.*
 *
 *
 After some digging we found out that the following system properties
 have been set in the caching test cases.

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Where should we initialize these properties in the code base?

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*

 *
 *
 *Lean . Enterprise . Middleware*




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: 

Re: [Dev] (no subject)

2013-07-01 Thread Pulasthi Supun
Hi Azeez,

Thanks will move the tests to a separate module

Regards,
Pulasthi


On Mon, Jul 1, 2013 at 8:13 PM, Afkham Azeez az...@wso2.com wrote:

 Move registry integration tests out of the registry bundle. Introduce a
 registry-integration-tests module.

 Azeez


 On Mon, Jul 1, 2013 at 8:09 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Azeez,

 Ran into a problem when adding the following code into the registry core
 tests,

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Since
 org.wso2.carbon.core.clustering.hazelcast.jsr107.AnnotationProviderImpl
 and org.wso2.carbon.core.clustering.hazelcast.jsr107.CachingProviderImpl
 is in the carbon.core have to add carbon core as an dependency  for the
 registry core, but this will create an cyclic dependency since registry
 core is already an dependency of carbon.core. how should i proceed?.

 Regards,
 Pulasthi



 On Mon, Jul 1, 2013 at 7:51 PM, Afkham Azeez az...@wso2.com wrote:

 Also get an update of javax.cache.wso2. I have added code which retries
 to init if the providers a missing.


 On Mon, Jul 1, 2013 at 7:50 PM, Afkham Azeez az...@wso2.com wrote:

 Yes, tests that use the cache will require these System props.


 On Mon, Jul 1, 2013 at 7:48 PM, Pulasthi Supun pulas...@wso2.comwrote:

 Hi Azeez,

 I got this error when running registry core tests, so will have to add
 the two lines in the tests right?

 Regards,
 Pulasthi


 On Mon, Jul 1, 2013 at 7:34 PM, Afkham Azeez az...@wso2.com wrote:

 Hold on. The System properties are only for tests. In the Carbon
 runtime, these providers are obtained as OSGi services.

 In CarbonCoreActivator you will find the following entries;
 context.registerService(AnnotationProvider.class, new
 AnnotationProviderImpl(), null);
 context.registerService(CachingProvider.class, new
 CachingProviderImpl(), null);

 Perhaps, the CachingServiceComponent set methods are not getting
 called. Can you check?


 On Mon, Jul 1, 2013 at 7:23 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Azeez,

 Pulasthi got the following error while he was running the tests
 after the Caching changes.

 *Caused by: java.lang.IllegalStateException: No CachingProviders
 found in classpath.*
 *
 *
 After some digging we found out that the following system properties
 have been set in the caching test cases.

 System.getProperties().put(caching.provider.impl, new
 CachingProviderImpl());
 System.getProperties().put(annotation.provider.impl, new
 AnnotationProviderImpl());

 Where should we initialize these properties in the code base?

 Thanks,
 Sameera.

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*

 *
 *
 *Lean . Enterprise . Middleware*




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 

Re: [Dev] (no subject)

2013-06-13 Thread Randika Ratnayake
HI ,
Here is an update for the UI automation of the AppFactory

covered User Stories

1.  Log-in to App Factory
2.  App Factory User Home details verification of the created application
3.  Create an Application
4.  Edit an Application
5.  Basic application overview details verification
6.  view application team verification
7.  Add member to Team.
8.  Repository Management.(this include branching the Application )
9.  Governing an application (Promoting in life Cycle Stages)
10. Complete Application Overview Verification.

Uncovered User Stories
1. User registration - this is a email verification process and this has to
be done manually.
2. view update user profile - this feature is not yet implemented
3. edit an Application - only the description could be edited
4. Delete an Application - application deletion feature is not yet
implemented
5. configure data source resources - not yet implemented.



To be covered
1. update team
2. configure database resources
3. configure data source resources
4. configure API resources
5. configure property resources
6. Application development
7. Build Application/deploy application
8. test application

there are few user stories  which should be verified manually (Obtain
server logs,manage issues) working on a way to work on those areas.l


regards

Randika









On Mon, Jun 3, 2013 at 2:27 PM, Shiroshica Kulatilake sh...@wso2.comwrote:

 Hi Randika,

 If that's the case - then OK !

 A new version of the user stories has been posted to the WIP wireframe..
  email thread.

 Thank you,
 Shiro


 On Mon, Jun 3, 2013 at 2:20 PM, Randika Ratnayake rand...@wso2.comwrote:

 hi Shiro,

 Development of this selenium tests are completely based on UI based
 functionality testing.  one purpose of doing this is getting adhere to
  rapid UI change in our end.  as you mentioned there would be a rework due
 to the UI changes, but will continue the UI automation in the Staging and
 tying to work out a mechanism to adhere to the UI changes
 Regards


 On Mon, Jun 3, 2013 at 2:02 PM, Shiroshica Kulatilake sh...@wso2.comwrote:

 Hi Randika,

 I have a few questions;

 1. Will you be doing this based on the current UI's on staging ?
 2. Would you be recording user movements ?
 3. Would there be a functionality only test set which is not dependent
 on the UIs ?

 If the goal is to do this for the AF GA release there might be a bit of
 rework once the new front ends come. These are supposed to be released for
 QA incrementally (please see AF GA Release email thread).

 Letting you know before so that you can plan accordingly.

 Thank you,
 Shiro



  On Mon, Jun 3, 2013 at 1:31 PM, Randika Ratnayake rand...@wso2.comwrote:

  hi all ,

 Selenium Automation test development is started for the AppFactory
  staging . will be referring the below attached user stories for the
 automation process. please update for any missing user stories / use case
 needed to automated to this thread.

 Regards
 --
 Randika Ratnayake,
 Mobile : +94773-440677 rand...@wso2.com

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




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




 --
 Randika Ratnayake,
 Mobile : +94773-440677 rand...@wso2.com




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




-- 
Randika Ratnayake,
Mobile : +94773-440677 rand...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-06-03 Thread Shiroshica Kulatilake
Hi Randika,

I have a few questions;

1. Will you be doing this based on the current UI's on staging ?
2. Would you be recording user movements ?
3. Would there be a functionality only test set which is not dependent on
the UIs ?

If the goal is to do this for the AF GA release there might be a bit of
rework once the new front ends come. These are supposed to be released for
QA incrementally (please see AF GA Release email thread).

Letting you know before so that you can plan accordingly.

Thank you,
Shiro



On Mon, Jun 3, 2013 at 1:31 PM, Randika Ratnayake rand...@wso2.com wrote:

 hi all ,

 Selenium Automation test development is started for the AppFactory
  staging . will be referring the below attached user stories for the
 automation process. please update for any missing user stories / use case
 needed to automated to this thread.

 Regards
 --
 Randika Ratnayake,
 Mobile : +94773-440677 rand...@wso2.com

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




-- 
Shiroshica Kulatilake

Architect,
WSO2, Inc. http://wso2.com/
Phone: +94 776523867
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-06-03 Thread Randika Ratnayake
hi Shiro,

Development of this selenium tests are completely based on UI based
functionality testing.  one purpose of doing this is getting adhere to
 rapid UI change in our end.  as you mentioned there would be a rework due
to the UI changes, but will continue the UI automation in the Staging and
tying to work out a mechanism to adhere to the UI changes
Regards


On Mon, Jun 3, 2013 at 2:02 PM, Shiroshica Kulatilake sh...@wso2.comwrote:

 Hi Randika,

 I have a few questions;

 1. Will you be doing this based on the current UI's on staging ?
 2. Would you be recording user movements ?
 3. Would there be a functionality only test set which is not dependent on
 the UIs ?

 If the goal is to do this for the AF GA release there might be a bit of
 rework once the new front ends come. These are supposed to be released for
 QA incrementally (please see AF GA Release email thread).

 Letting you know before so that you can plan accordingly.

 Thank you,
 Shiro



 On Mon, Jun 3, 2013 at 1:31 PM, Randika Ratnayake rand...@wso2.comwrote:

 hi all ,

 Selenium Automation test development is started for the AppFactory
  staging . will be referring the below attached user stories for the
 automation process. please update for any missing user stories / use case
 needed to automated to this thread.

 Regards
 --
 Randika Ratnayake,
 Mobile : +94773-440677 rand...@wso2.com

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




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




-- 
Randika Ratnayake,
Mobile : +94773-440677 rand...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2013-06-03 Thread Shiroshica Kulatilake
Hi Randika,

If that's the case - then OK !

A new version of the user stories has been posted to the WIP wireframe.. 
email thread.

Thank you,
Shiro


On Mon, Jun 3, 2013 at 2:20 PM, Randika Ratnayake rand...@wso2.com wrote:

 hi Shiro,

 Development of this selenium tests are completely based on UI based
 functionality testing.  one purpose of doing this is getting adhere to
  rapid UI change in our end.  as you mentioned there would be a rework due
 to the UI changes, but will continue the UI automation in the Staging and
 tying to work out a mechanism to adhere to the UI changes
 Regards


 On Mon, Jun 3, 2013 at 2:02 PM, Shiroshica Kulatilake sh...@wso2.comwrote:

 Hi Randika,

 I have a few questions;

 1. Will you be doing this based on the current UI's on staging ?
 2. Would you be recording user movements ?
 3. Would there be a functionality only test set which is not dependent on
 the UIs ?

 If the goal is to do this for the AF GA release there might be a bit of
 rework once the new front ends come. These are supposed to be released for
 QA incrementally (please see AF GA Release email thread).

 Letting you know before so that you can plan accordingly.

 Thank you,
 Shiro



  On Mon, Jun 3, 2013 at 1:31 PM, Randika Ratnayake rand...@wso2.comwrote:

  hi all ,

 Selenium Automation test development is started for the AppFactory
  staging . will be referring the below attached user stories for the
 automation process. please update for any missing user stories / use case
 needed to automated to this thread.

 Regards
 --
 Randika Ratnayake,
 Mobile : +94773-440677 rand...@wso2.com

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




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




 --
 Randika Ratnayake,
 Mobile : +94773-440677 rand...@wso2.com




-- 
Shiroshica Kulatilake

Architect,
WSO2, Inc. http://wso2.com/
Phone: +94 776523867
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (no subject)

2012-05-22 Thread Sameera Jayasoma
Do you have a separate DOM implementation in your classpath. Looks like it
conflicts with XML beans.

Thanks,
Sameera.

On Tue, May 22, 2012 at 3:19 PM, Noel Marquez Batista nmarq...@uci.cuwrote:

 Hi all.

 I’m trying to consume an axis2 web service. In the AS, when I go to the
 trying, it gives me the error

 soapenv:Fault xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;

   faultcodesoapenv:Server/faultcode

   faultstringorg.apache.xmlbeans.impl.values.XmlComplexContentImpl
 cannot be cast to
 akademosws.ObtenerEstudianteDadoIdExpedienteDocument/faultstring

   detail/

 /soapenv:Fault



 I develop a Java client to test the service, and give me the same error:

 org.apache.axis2.AxisFault:
 org.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be cast to
 akademosws.ObtenerEstudianteDadoIdExpedienteDocument

at
 org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:508)

at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)

at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)

at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)

at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)

at
 org.example.www.akademosservice.AkademosServiceStub.obtenerEstudianteDadoIdExpedienteWS(AkademosServiceStub.java:860)

at org.example.www.akademosservice.cliente.main(cliente.java:24)



 --
 The only easy day was yesterday.

 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS
 INFORMATICAS...
 CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

 http://www.uci.cu
 http://www.facebook.com/universidad.uci
 http://www.flickr.com/photos/universidad_uci
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Sameera Jayasoma
Technical Lead

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev