Re: [Dev] WSO2 Committers += Prasanna Dangalla

2015-04-09 Thread Asok Perera
Congratz Prasanna ! *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94722241032 On Thu, Apr 9, 2015 at 2:40 PM, Chamin Dias wrote:

[Dev] Apache configurations for Windows MDM testing

2015-03-23 Thread Asok Perera
Hi, MDM plugin for Windows device management needs a proxy in front of MDM server and I used below apache configurations, to use it as the proxy. ProxyRequests off ProxyPreserveHost off Order deny,allow Deny from all Allow from all RewriteEngine On RewriteCond

Re: [Dev] WSO2 Committers += Malithi Edirisinghe

2015-03-20 Thread Asok Perera
Congratz Malithi !!! *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94722241032 On Fri, Mar 20, 2015 at 6:38 PM, Gayan Gunawardana

Re: [Dev] WSO2 Committers += Amila Godwin Shrimal

2015-03-20 Thread Asok Perera
Congratz Godwin !!! *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94722241032 On Fri, Mar 20, 2015 at 6:36 PM, Gayan Gunawardana w

Re: [Dev] WSO2 Committers += Dinesh J Weerakkody

2015-03-11 Thread Asok Perera
Congratz Dinesh ! *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94722241032 On Thu, Mar 12, 2015 at 10:05 AM, Kasun De Silva wrote

Re: [Dev] WSO2 Committers += Aiyadurai Rajeevn

2015-03-02 Thread Asok Perera
Congratulations Rajeevan!!! *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94722241032 On Mon, Mar 2, 2015 at 10:03 AM, Harsha Thiri

Re: [Dev] Certificate CN in ASN1 PRINTABLE_STRING format - Using bouncycastle

2015-01-27 Thread Asok Perera
thub.com/pulasthi7/carbon-identity/blob/feature/ca-component/components/identity/org.wso2.carbon.identity.certificateauthority/src/main/java/org/wso2/carbon/identity/certificateauthority/CSRGenerator.java > > On Tue, Jan 27, 2015 at 1:53 PM, Asok Perera wrote: > >

[Dev] Certificate CN in ASN1 PRINTABLE_STRING format - Using bouncycastle

2015-01-27 Thread Asok Perera
Hi, I'm using bouncycastle for certificate signing process (use X509v3CertificateBuilder), and I need to generate the signed certificate with a CommonName encoded in ASN1 PRINTABLE_STRING format instead of bouncycastle's default - UTF8. Is there a way to do this ? BR *Asok Aravinda Perera* So

[Dev] Disable chunking of data - AS

2015-01-22 Thread Asok Perera
Hi, I have a JAX WS web service hosted in WSO2 AS which sends a large amount of data within the response, hence the content get chunked. But the client side expects a response without being chunked. Is there a way to do this, maybe changing AS configuration ? BR *Asok Aravinda Perera* Software

Re: [Dev] JAX WS - Enabling Security in SOAP Header

2015-01-12 Thread Asok Perera
tware Engineer WSO2, Inc.;http://wso2.com/ <http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ> lean.enterprise.middleware Mobile: +94722241032 On Tue, Jan 13, 2015 at 12:24 PM, Sagara Gunathunga wrote: > > > On Tue

[Dev] JAX WS - Enabling Security in SOAP Header

2015-01-12 Thread Asok Perera
Hi, I'm developing a JAX WS service and I need to enable security such a way that it supports below tags in SOAP header. u...@contoso.com http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss- username-token-profile-1.0#PasswordText">mypassword

Re: [Dev] Apache CXF - JAX-WS and JAX-RS issue for same endpoint

2015-01-08 Thread Asok Perera
ogle.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ> lean.enterprise.middleware Mobile: +94722241032 On Thu, Jan 8, 2015 at 9:38 PM, Sagara Gunathunga wrote: > > > On Thu, Jan 8, 2015 at 8:51 PM, Asok Perera wrote: > >> Hi, &

[Dev] Apache CXF - JAX-WS and JAX-RS issue for same endpoint

2015-01-08 Thread Asok Perera
Hi, I need to implement JAX WS and JAX RS services to the same endpoint in CXF. Here, JAX WS will be used for a POST call, while JAX RS is for a GET. In the POST call there is a SOAP message as the body and GET call will be a normal REST call. My example cxf-servlet.xml looks like, * * **

Re: [Dev] SOAP response generation

2014-12-16 Thread Asok Perera
> You can use axis2 SOAPFactory to perform this. This might be helpful[1] >>> >>> [1] >>> http://amilachinthaka.blogspot.com/2009/09/sending-arbitrary-soap-message-with.html >>> >>> Regards, >>> Inosh >>> >>> On We

[Dev] SOAP response generation

2014-12-16 Thread Asok Perera
Hi, I need to create a SOAP response for a particular request as given below. Request : 1. http://www.w3.org/2005/08/addressing"; xmlns:s="http://www.w3.org/2003/05/soap-envelope";> http://schemas.microsoft.com/windows/management/2012/01/enrollment/IDiscoveryS

Re: [Dev] iOS device enrolment

2014-12-08 Thread Asok Perera
et/Conceptual/iPhoneOTAConfiguration/OTASecurity/OTASecurity.html > > Regards, > > Dilshan > > On Mon, Dec 8, 2014 at 1:57 AM, Asok Perera wrote: > >> Hi Dilshan, >> >> If I'm correct, there are several APIs exposed for iOS functionality (ca >> / checkin

Re: [Dev] iOS device enrolment

2014-12-08 Thread Asok Perera
you have to consume the > IS provided functionality. Right now we have written our own implementation > in there since it did not exist earlier. Information on how protocol works > can be found in Apple documentations. > > > Regards, > > DIlshan > > On Thu, Dec 4, 2

[Dev] iOS device enrolment

2014-12-04 Thread Asok Perera
Hi, We are in the process of designing iOS bundle plugin of CDM. As the first step, I need to write the device enrolment functionality at the CDM side. Can anyone give a brief on, how this case is handled for iOS specifically ? Regards *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://

[Dev] Please merge pull request

2014-12-02 Thread Asok Perera
Hi, Please merge pull request for following two JIRAs. Pull request : https://github.com/wso2-dev/product-emm/pull/6 Jira 1 :https://wso2.org/jira/browse/EMM-744?filter=11894 Jira 2 :https://wso2.org/jira/browse/EMM-751?filter=11894 Regards *Asok Aravinda Perera* Software Engineer WSO2, Inc.;h

Re: [Dev] Carbon kernel build failure

2014-11-26 Thread Asok Perera
//wso2.com/ > *lean.enterprise.middleware* > Mobile: +94713448188 > > On Wed, Nov 26, 2014 at 4:36 PM, Asok Perera wrote: > >> Hi, >> >> Yes Gayashan, That might be the problem. >> I will try using 1.6 >> >> Thanks >> >> >> *Asok Aravi

Re: [Dev] Carbon kernel build failure

2014-11-26 Thread Asok Perera
middleware Mobile: +94722241032 On Wed, Nov 26, 2014 at 4:25 PM, Gayashan Amarasinghe wrote: > Hi Asok, > > Are you using JDK 1.7 to build? Please use JDK 1.6 to build the kernel. > > Thanks. > /Gayashan > > On Wed, Nov 26, 2014 at 4:21 PM, Asok Perera wrote: > >>

Re: [Dev] Carbon kernel build failure

2014-11-26 Thread Asok Perera
KVUCYOtEsNCmIAQ> lean.enterprise.middleware Mobile: +94722241032 On Wed, Nov 26, 2014 at 4:06 PM, Inosh Perera wrote: > Hi Asok, > Try, skipping the tests with -Dmaven.test.skip=true. > It says, There are test failures. > > Regards, > Inosh > > On Wed, Nov 26, 2014 at 3:4

[Dev] Carbon kernel build failure

2014-11-26 Thread Asok Perera
Hi, I couldn't build carbon kernel cloned from git[1]. I encounter the following error. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (test-set1) on project org.wso2.carbon.registry.core: There are test failures. [ERROR] [ERROR] Please refer to /Users/

[Dev] Please apply the patch

2014-11-17 Thread Asok Perera
Hi, Please apply the patch for jira [1] [1] https://wso2.org/jira/browse/EMM-744?filter=11894# This fix is for preventing user registration without admin logging. BR *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/

Re: [Dev] Calling web service within REST api

2014-11-03 Thread Asok Perera
Hi Susinda, Difference between these two soap versions are described in the below[1] w3c specification. [1] http://www.w3.org/2003/06/soap11-soap12.html Check whether that answers you question. I found this[2] answer is also informative - [2] http://stackoverflow.com/questions/8588309/what-is-th

Re: [Dev] [CEP] Acceptable event processing time and Event queue size

2014-10-20 Thread Asok Perera
; http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/locks/Lock.html > > On Fri, Oct 17, 2014 at 7:14 PM, Asok Perera wrote: > >> Hi, >> >> Could I know how the Event queuing (Not referring to the window >> extension) happens in Siddhi whenever ther

Re: [Dev] Frequency extension for CEP - TopK Capacity and processing time relation

2014-10-20 Thread Asok Perera
sok, > > Can you send the svn link to the source. We also did lot of memory > optimizations for disk backed window. would like to share our experience. > > Thanks > > On Sun, Oct 19, 2014 at 8:15 PM, Asok Perera wrote: > >> Hi All, >> >> I ran several tes

[Dev] Frequency extension for CEP - TopK Capacity and processing time relation

2014-10-19 Thread Asok Perera
Hi All, I ran several test runs for getting the correlation between 'event processing time' and 'TopK capacity' for Frequency implementation (transformer extension). I have put the stats for each test runs below (Graphs are event vs processing time). According to the results, it seems we need to d

[Dev] [CEP] Acceptable event processing time and Event queue size

2014-10-17 Thread Asok Perera
Hi, Could I know how the Event queuing (Not referring to the window extension) happens in Siddhi whenever there is synchronised method in a class which is called through siddhi extension (Say transformer extension) ? The exact case I'm referring here is, there is a function which consumes some ti

Re: [Dev] Custome Function in siddhi query

2014-10-17 Thread Asok Perera
Hi Shashika/Mohan, Just for my knowledge, Wouldn't a custom window keep a set of complete events when only a set of attributes (eg: set of 'bookID's from events) is need to be considered ? So won't this be unnecessary overhead ? If we can create a custom function such that is keeps the BookID att

Re: [Dev] CEP Window in Siddhi Query

2014-10-13 Thread Asok Perera
query language. >> When you want to send data out of the window execute >> nextProcessor.process(event). It will send particular set of events to the >> next execution element of the query(ex: Selector) >> >> [1] https://docs.wso2.com/display/CEP310/Siddhi+Language+Spe

[Dev] CEP Window in Siddhi Query

2014-10-13 Thread Asok Perera
Hi, I wrote a window extension for Siddhi (implementing Stremlib library) which suppose to be keeping most frequent K events in the window. According to the logs, the window in functional. Now I need to get the events which are *inside* the window into an output stream. Im using below siddhi query

Re: [Dev] [IS] Exception when running STS sample client

2014-10-08 Thread Asok Perera
Hi Mailthi, Could you mention the exact java version in your system ? In my case, the java version was "1.6.0_65" and it worked without a problem. BR *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/

Re: [Dev] Debugging ESB - Required components for ESB

2014-09-24 Thread Asok Perera
orrect source code of the > synapse component. > > > > Thanks, > Chanaka > > > On Tue, Sep 23, 2014 at 9:54 PM, Malaka Silva wrote: > >> Hi, >> >> I am assuming you are referring to esb 4.8.1. Source can be found in [1] >> >> [1] http://svn.ws

[Dev] Debugging ESB - Required components for ESB

2014-09-23 Thread Asok Perera
Hi, I'm trying to run the ESB in remote debug mode and could someone point me out the correct components (sources) for ESB ? Regards *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/

[Dev] Building ESB on built Carbon platform

2014-09-22 Thread Asok Perera
Hi, I need to clear a doubt on building ESB using built carbon platform. What I did was, first building carbon (building orbit,kernel & platform) and then running a maven clean install on the POM file found in , Carbon/platform/turing/product-releases/chunk-07/products path. In the POM file I co

Re: [Dev] Clarification on IS sample is needed - Configuring SAML2 SSO

2014-09-17 Thread Asok Perera
gt; > > On Mon, Sep 15, 2014 at 4:34 AM, Asok Perera wrote: > >> Thank you Pushpalanka ! >> But there is another clarification needed. >> What if a user needs to isolate two web apps ? Meaning, what if there >> 'cannot' be a super user sort of a logging

Re: [Dev] Clarification on IS sample is needed - Configuring SAML2 SSO

2014-09-15 Thread Asok Perera
, > Pushpalanka. > -- > Pushpalanka Jayawardhana, B.Sc.Eng.(Hons). > Software Engineer, WSO2 Lanka (pvt) Ltd; wso2.com/ > Mobile: +94779716248 > Blog: pushpalankajaya.blogspot.com/ | LinkedIn: > lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka > > > On Fri, Sep

[Dev] Clarification on IS sample is needed - Configuring SAML2 SSO

2014-09-11 Thread Asok Perera
Hi, This is a question occurred to me while working on 'Configuring SAML2 SSO' sample in Identity server. (link below) https://docs.wso2.com/display/IS500/Configuring+SAML2+SSO According to that sample, a user can log into service provider's site/portal with Identity server's admin credentials. I

Re: [Dev] how to pass credentials - using a AXIOM (client)

2014-09-09 Thread Asok Perera
Hi, I have the same question and please check below how I tried to implement this. -- System.setProperty("javax.net.ssl.trustStore", "/Users/asok/Documents/wso2esb-4.8.1/repository/resources/security/client-truststore.jks" ); System.setProperty("javax.net.ssl.trustSt

[Dev] Publish-Subscribe Channel-ESB sample running problem

2014-09-03 Thread Asok Perera
Hi, I was running Publish-Subscribe Channel - ESB sample according to the guidelines given in, https://docs.wso2.com/display/IntegrationPatterns/Publish-Subscribe+Channel and the sample simulation appeared to be working (Both services read the symbol on one client request correctly) only on certai