Re: [Dev] canot invoke bps service using jaggery app

2014-07-30 Thread Danushka Fernando
Hi Akila Seems you are not extracting the cookie correct. Try this code var cookieString = request.getResponseHeader("Set-Cookie"); var cookie = cookieString.split(";")[0]; Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On

Re: [Dev] canot invoke bps service using jaggery app

2014-07-30 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Danushka, FYI I did some changes in jaggery code, inserting session.put() and session.get() to pass cockie value through functions I created. Now it shows canot invoke service error(previous “HTTPHeader” problem solved). Please check attached files for both AS log and BPS log and jaggery ap

Re: [Dev] Request to merge pull requests for Balana and Carbon-Identity

2014-07-30 Thread Chamath Gunawardana
Hi Pulasthi, The two pull requests have merged to wso2-dev and also synced to wso2 org repo. carbon-identity and balana builds are successful in integration and PR builders. @Maheshika, Please trigger following builds in wso2 builder. wso2-amber wso2-balana carbon-identity Is the automatic buil

Re: [Dev] [DEV] [IS 5.0.0] SAML2 IdP with SimpleSAMLphp Service Provider

2014-07-30 Thread Hasintha Indrajee
The reason should be that you have not enabled single logout on service provider side. In SAML SSO configurations of your service provider there will be an option to enable single logout. At the same time make sure to have a custom logout url (for simplesaml it is required). The custom logout url f

Re: [Dev] [DEV] [IS 5.0.0] SAML2 IdP with SimpleSAMLphp Service Provider

2014-07-30 Thread Gimantha Bandara
I was able to login using IS, but when I logout from simpleSAMLphp, it gives the following error, SimpleSAML_Error_BadRequest: BADREQUEST('%REASON%' => 'Invalid message received to AssertionConsumerService endpoint.') Backtrace: 1 /var/simplesamlphp/simplesamlphp/modules/saml/www/sp/saml2-acs.php

Re: [Dev] WSO2-DSS - error on creating data service

2014-07-30 Thread Danushka Fernando
Hi Goodwin I got that point. I just wanted to let you guys know the facts I mentioned. Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Jul 31, 2014 at 10:55 AM, Godwin Shrimal wrote: > Hi Danushka, > > I didn't compile the source co

Re: [Dev] [DEV] [IS 5.0.0] SAML2 IdP with SimpleSAMLphp Service Provider

2014-07-30 Thread Gimantha Bandara
Hi, @prasanna, IDP entitiy ID is set correctly. @hasintha, Thats was the problem. Default resident identity provider is localhost. Thanks all On Thu, Jul 31, 2014 at 9:47 AM, Prasanna Dangalla wrote: > Hi, > > Check the IDP entity ID. It might be the wrong one. > > Prasanna Dangalla > Softwa

Re: [Dev] WSO2-DSS - error on creating data service

2014-07-30 Thread Godwin Shrimal
Hi Danushaka, Thanks for the info. Thanks & Regards Godwin On Thu, Jul 31, 2014 at 11:00 AM, Danushka Fernando wrote: > Hi Goodwin > I got that point. I just wanted to let you guys know the facts I mentioned. > > Thanks & Regards > Danushka Fernando > Software Engineer > WSO2 inc. http://ws

Re: [Dev] WSO2-DSS - error on creating data service

2014-07-30 Thread Godwin Shrimal
Hi Danushka, I didn't compile the source code, just run the distribution. It worked well with JDK6 and JDK7, and faced many issues with JDK8, It seems not supporting JDK8 on runtime. Thanks Godwin On Mon, Jul 28, 2014 at 9:42 PM, Danushka Fernando wrote: > Hi Goodwin and Rajitha > We build o

Re: [Dev] [DEV] [IS 5.0.0] SAML2 IdP with SimpleSAMLphp Service Provider

2014-07-30 Thread Prasanna Dangalla
Hi, Check the IDP entity ID. It might be the wrong one. Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77 On Thu, Jul 31, 2014 at 9:35 AM, Hasintha Indrajee wrote: > The problem is that the

Re: [Dev] Is there a direct method to retrieve number of assets from the registry?

2014-07-30 Thread Ayesha Dissanayaka
Hi, Considering above constrains we have decided to go with following two options. 1. Use infinite scroll As the scroll go down, an API call is sent to retrieve next set of assets (using query parameters 'start & 'count'') Once empty(or less than count) array of assets are retrieved, it will

Re: [Dev] [DEV] [IS 5.0.0] SAML2 IdP with SimpleSAMLphp Service Provider

2014-07-30 Thread Hasintha Indrajee
The problem is that the issuer of the response (IS) does not match to the identity provider which simplesaml sent the request To avoid the error you should follow the following simple steps. Go to IS admin panel In Main menu , Identity Providers -> list -> resident Identity provider >From the me

Re: [Dev] AS - UI tests failures

2014-07-30 Thread Dimuthu De Lanerolle
Hi Krishantha, Will look into this. Thanks. On Wed, Jul 30, 2014 at 6:39 PM, Krishantha Samaraweera wrote: > Hi Dimuthu, > > Solution for the same issue is discussed at [Dev] AM 1.7.0 UI-Integration > test fail. Please refer. > > Thanks, > Krishantha. > > > On Tue, Jul 29, 2014 at 12:56 PM, Kr

Re: [Dev] Esb connector and authentication

2014-07-30 Thread Flavio Pompermaier
Thank you all for the suggestions, I'll try to read carefully all those links! Best, FP On Wed, Jul 30, 2014 at 5:41 PM, Malaka Silva wrote: > Hi Flavio, > > There are several ways you can hit WSO2 ESB using an external client. > > Eg:- Proxy service, Api or Main sequence > > Following tutoria

Re: [Dev] Esb connector and authentication

2014-07-30 Thread Malaka Silva
Hi Flavio, There are several ways you can hit WSO2 ESB using an external client. Eg:- Proxy service, Api or Main sequence Following tutorial will help you to quickly add a proxy service. Further you can modify it by adding the connector in side this proxy. https://docs.wso2.com/display/ESB481/L

Re: [Dev] MB Menagement console cannot be accessed when clustering is enabled

2014-07-30 Thread Kishanthan Thangarajah
On Wed, Jul 30, 2014 at 12:33 PM, Sewwandi Perera wrote: > Hi Kishanthan, > > I debugged the code and found that HazelcastClusteringAgent's init method > is never hit when AvoidInitiation is set to true. > Then there seems to an issue at your end. The cluster initialization is handled within th

[Dev] Smooks problem

2014-07-30 Thread Ramon Gordillo
Hi, dev list. I have opened ESBJAVA-3238 , because it seems that the smooks mediator is doing something strange. I guess, it is something related to ESBJAVA-2977 . The problem is that I can no longer use it to pa

Re: [Dev] Removing poxsecurity test cases from AS

2014-07-30 Thread Krishantha Samaraweera
Thanks for clarification Sagara. I think we can reuse the same POX test cases with minor modifications to test Axis2 RESTful services. We've used RESTful service named "StudentService.aar" to verify POX scenarios, so it is matter of adding relevant policies to services.xml. We might need to maint

[Dev] [DEV] [IS 5.0.0] SAML2 IdP with SimpleSAMLphp Service Provider

2014-07-30 Thread Gimantha Bandara
Hi, I am trying to set up $subject using IS 5.0.0 by following the instruction given here[1]. when clicking on "wso-sp" in SimpleSAMLphp It redirects me to the IS SAML2 idP for Login and after I entered the login info, SimpleSAMLphp gives the following error. SimpleSAML_Error_Error: UNHANDLEDEXCEP

Re: [Dev] canot invoke bps service using jaggery app

2014-07-30 Thread Danushka Fernando
Hi Akila I guess error you attached is the error in the AS / tomcat side. Can you attach the BPS side error logs as well. Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Jul 30, 2014 at 6:02 PM, Akila Nimantha [IT/EKO/LOITS] < aki...@

Re: [Dev] Approval needed to fork Apache Woden M9

2014-07-30 Thread Afkham Azeez
WSDL2 is dead AFAIK. No real deployment we know of uses WSDL2. So, why do we have to fix this? On Wed, Jul 30, 2014 at 5:18 PM, Uvindra Dias Jayasinha wrote: > Hi Azeez, > > Need approval to fork Apache Woden M9 in order to fix > > https://wso2.org/jira/browse/APIMANAGER-2528 > > in the upcomin

Re: [Dev] AS - UI tests failures

2014-07-30 Thread Krishantha Samaraweera
Hi Dimuthu, Solution for the same issue is discussed at [Dev] AM 1.7.0 UI-Integration test fail. Please refer. Thanks, Krishantha. On Tue, Jul 29, 2014 at 12:56 PM, Krishantha Samaraweera < krishan...@wso2.com> wrote: > Hi Dimuthu, > > I've migrated AS UI integration test to verify a Jenkins p

Re: [Dev] Removing poxsecurity test cases from AS

2014-07-30 Thread Krishantha Samaraweera
On Wed, Jul 30, 2014 at 6:32 PM, Krishantha Samaraweera wrote: > Thanks for clarification Sagara. > > I think we can reuse the same POX test cases with minor modifications to > test Axis2 RESTful services. We've used RESTful service named > "StudentService.aar" to verify POX scenarios, so it is

Re: [Dev] Approval needed to fork Apache Woden M9

2014-07-30 Thread Ruwan Yatawara
On Wed, Jul 30, 2014 at 6:24 PM, Afkham Azeez wrote: > have Hi Azeez, This was included as per a bug reported by a client for AM 1.6. We thought of adding same to 1.7.1 to avoid future issues. Thanks and Regards, Ruwan Yatawara Senior Software Engineer, WSO2 Inc. email : ruw...@wso2.com mo

Re: [Dev] Esb connector and authentication

2014-07-30 Thread Flavio Pompermaier
Ok but I'm not able to create the endpoint calling my connector..could you help me in that? On Wed, Jul 30, 2014 at 2:09 PM, Ramindu Deshapriya wrote: > Hi Flavio, > > It all comes down to the proxy service you'd use to call the connector. It > will contain the sequences required to call the con

[Dev] canot invoke bps service using jaggery app

2014-07-30 Thread Akila Nimantha [IT/EKO/LOITS]
Hi all, I am trying to invoke human task adminService using jaggery application. What I did was, first created a function called "invokeWebService" to create "login" to bps server. Its working fine and give the result as "true". Next I get the JSESSIONID using same function. Afterthat I created

Re: [Dev] Jaggery - Extracting an uploaded .zip file

2014-07-30 Thread Chan
Yep. What ever product that uses the jaggery feature has this problem. This was discussed before as well [1] [1] - [Architecture] Jaggery unzips all folders? Cheers~ On Tue, Jul 29, 2014 at 9:15 PM, Udara Rathnayake wrote: > Hi Dakshika, > > I noticed the same behavior in latest ES-1.2.0-SNAP

Re: [Dev] chunk13 packs

2014-07-30 Thread Evanthika Amarasiri
Hi Samisa, On Wed, Jul 16, 2014 at 8:11 PM, Samisa Abeysinghe wrote: > IS not working is a huge issue :( Are these config issues? > > Also, are we testing stuff like SSO? That is one of the areas we see > issues with clients. > > Also, are we trying to crash and recover the cluster? Do we have a

Re: [Dev] Staus update: API manager 1.7.1 Migration testing 1.6.0 to 1.7.0.

2014-07-30 Thread Chathurika De Silva
Hi All I am going to conduct a testing round in Windows to verify APIMANAGER-2559. Will circle back to you once i am done. Thank You On Wed, Jul 30, 2014 at 6:03 PM, Chalitha Waldeniyage wrote: > Hi All > > We are currently carrying on the $subject and please find the update as of > 30.07.20

[Dev] Staus update: API manager 1.7.1 Migration testing 1.6.0 to 1.7.0.

2014-07-30 Thread Chalitha Waldeniyage
Hi All We are currently carrying on the $subject and please find the update as of 30.07.2014 *QA Personal* : Chalitha Waldeniyage and Chathurika De Silva *Environment details*: Operating System : Linux Java Version/Java VM :jdk1.7.0 (Oracle) Packs : APIM 1.7.1 DBMS: mysql and oracle Browser : F

Re: [Dev] Esb connector and authentication

2014-07-30 Thread Ramindu Deshapriya
Hi Flavio, It all comes down to the proxy service you'd use to call the connector. It will contain the sequences required to call the connector operation you'd need. You need to invoke the proxy service's endpoint using your external Java client. Thanks. -- Au revoir! Ramindu Deshapriya. Memb

[Dev] Approval needed to fork Apache Woden M9

2014-07-30 Thread Uvindra Dias Jayasinha
Hi Azeez, Need approval to fork Apache Woden M9 in order to fix https://wso2.org/jira/browse/APIMANAGER-2528 in the upcoming APIM 1.7.1 release on chunk 13. Sagara is not in a position to do an official release of Woden with the fix we require at the moment so we will need to add this as a depen

Re: [Dev] GitHub repo name of IS product violate convention

2014-07-30 Thread Udara Rathnayake
Hi Chamath, You don't have to update local remotes. Github handles this AFAIK. Regards, UdaraR On Wed, Jul 30, 2014 at 3:08 PM, Chamath Gunawardana wrote: > Hi Azeez, > > Yes. we can rename and comply with the other product names. After > renaming t

Re: [Dev] GitHub repo name of IS product violate convention

2014-07-30 Thread Chamath Gunawardana
The product-identity is renamed to product-is now. Thanks Maheshika renaming the repos. @Udara, Yes it seems git handles it. However they recommend to do following in [1] to update local remote repos, since if new repo is created with same name seems it will fail. > git remote set-url origin http

[Dev] [API-Manager] Enabling OPTIONS for Swagger UI based API invocations

2014-07-30 Thread Asanthi Kulasinghe
Hi, For API invocations through the swagger UI, it is required to have the HTTP verb OPTIONS enabled for each resource according to [1] [1] https://docs.wso2.com/display/AM170/Adding+Documentation+Using+Swagger Why does it have to be enabled separately for each resource? Is it incorrect to enabl

Re: [Dev] Esb connector and authentication

2014-07-30 Thread Flavio Pompermaier
I can't find an example of how to draw a sequence using a esb connector in the ESB console..could you give some insight? I can find only examples that use the eclipse plugin or raw xml... >From what I understood I have to register the connector, enable it, then write a sequence and then create a cu

Re: [Dev] GitHub repo name of IS product violate convention

2014-07-30 Thread Chamath Gunawardana
Hi Azeez, Yes. we can rename and comply with the other product names. After renaming the repo, the local repo remote urls should be updated as well. Will update once this is renamed. Thanks On Wed, Jul 30, 2014 at 2:53 PM, Afkham Azeez wrote: > https://github.com/wso2/product-identity > > It s

Re: [Dev] Removing poxsecurity test cases from AS

2014-07-30 Thread Sagara Gunathunga
On Wed, Jul 30, 2014 at 2:27 PM, Krishantha Samaraweera wrote: > Hi Geeth, > > Are we going to drop POX security support from products ? What is the > alternative for Rest service security? > For Carbon 4.3.0 we have already removed all QoS features which includes security as well. Then the ques

[Dev] GitHub repo name of IS product violate convention

2014-07-30 Thread Afkham Azeez
https://github.com/wso2/product-identity It should have been https://github.com/wso2/product-is, inline with the naming of the other product repos. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ *

Re: [Dev] Removing poxsecurity test cases from AS

2014-07-30 Thread Krishantha Samaraweera
Hi Geeth, Are we going to drop POX security support from products ? What is the alternative for Rest service security? If we are not going to drop POX then this is a product issue which need to be fixed. Thanks, Krishantha. On Wed, Jul 30, 2014 at 1:53 PM, Geeth Munasinghe wrote: > Hi all, >

Re: [Dev] Remote task is not working in wso2bps-3.2.0

2014-07-30 Thread Jeewani Lakshani [IT/EKO/LOITS]
Hi, Thank you Hasitha for your prompt response. We changed our offset to 4 then it worked. Regards, Jeewani From: Hasitha Aravinda [mailto:hasi...@wso2.com] Sent: Wednesday, July 30, 2014 12:46 PM To: Jeewani Lakshani [IT/EKO/LOITS] Cc: dev@wso2.org Subject: Re: [Dev] Remote task is not working

Re: [Dev] Removing poxsecurity test cases from AS

2014-07-30 Thread Kasun Gajasinghe
Hi NuwanW, Is pox security test cases available in other service hosting products like ESB? We need to decide whether we need to rewrite these test cases for aar axis2 services. On Wed, Jul 30, 2014 at 2:09 PM, Nuwan Wimalasekara wrote: > Hi Geeth, > We need to add a new test case for the se

Re: [Dev] Remote task is not working in wso2bps-3.2.0

2014-07-30 Thread Hasitha Aravinda
Hi, When you do the port offset, Please change relevant service url in the location attribute of the wsdl binding for all BPEL process and HumanTask. Otherwise BPEL process will not able to talk to HumanTask service. Thanks, Hasitha. On Wed, Jul 30, 2014 at 2:12 PM, Jeewani Lakshani [IT/EKO/LOI

Re: [Dev] Removing poxsecurity test cases from AS

2014-07-30 Thread Nuwan Wimalasekara
Hi Geeth, We need to add a new test case for the security scenario with the new implementation to ensure the functionality as we remove the existing one. Thanks, Nuwanw On Wed, Jul 30, 2014 at 1:53 PM, Geeth Munasinghe wrote: > Hi all, > > Due to removing persistence logic from the kernal, cur

[Dev] Removing poxsecurity test cases from AS

2014-07-30 Thread Geeth Munasinghe
Hi all, Due to removing persistence logic from the kernal, current test cases for pox security is not valid anymore. The reason is when security is applied to a service, those related details was saved on meta data files. But support for meta data files are dropped now. So those test cases are fai

Re: [Dev] Chunk 13-packs -29/07/2014

2014-07-30 Thread Yasassri Ratnayake
Hi Ratha, Please include these configs [1] in the next pack. [1] - https://wso2.org/jira/browse/APIMANAGER-2555 With Regards, On Wed, Jul 30, 2014 at 11:39 AM, Krishantha Samaraweera < krishan...@wso2.com> wrote: > Please make sure to run all integration tests before handing the packs > over

Re: [Dev] Remote task is not working in wso2bps-3.2.0

2014-07-30 Thread Hasitha Aravinda
Hi, In the error log, I see a Connection refused error. Can you check followings. ? 1) Make sure you have deployed humantask artifacts. 2) If the humantask is deployed in your system, are you running BPS with a portOffset ? On Wed, Jul 30, 2014 at 12:33 PM, Jeewani Lakshani [IT/EKO/LOITS] < jee

[Dev] FW: Remote task is not working in wso2bps-3.2.0

2014-07-30 Thread Jeewani Lakshani [IT/EKO/LOITS]
Hi, We have tried the sample ClaimApprovalProcess BPEL through wso2bps-3.0.0 and it worked fine (human task ). But when we try it (sample process wso2bps-3.2.0) via wso2bps-3.2.0 it get fails at the try it option an error occurred. I have attached herewith the error log for your reference. Are

[Dev] Remote task is not working in wso2bps-3.2.0

2014-07-30 Thread Jeewani Lakshani [IT/EKO/LOITS]
Hi, We have tried the sample ClaimApprovalProcess BPEL through wso2bps-3.0.0 and it worked fine (human task ). But when we try it (sample process wso2bps-3.2.0) via wso2bps-3.2.0 it get fails at the try it option an error occurred. I have attached herewith the error log for your reference. Are

Re: [Dev] MB Menagement console cannot be accessed when clustering is enabled

2014-07-30 Thread Sewwandi Perera
Hi Kishanthan, I debugged the code and found that HazelcastClusteringAgent's init method is never hit when AvoidInitiation is set to true. For more information; I access the Hazelcast OSGI service as shown below with the cardinality "0..1" since I don't use the Hazelcast instance in standalone mo