[Dev] API Gateway alters POST request URLs in API-Manager 1.7.0

2014-05-01 Thread Asanthi Kulasinghe
Hi, Context path of POST request URLs of APIs get dropped at the gateway when invoked with the content-type 'text/xml'. I have reported the issue under [1]. Please look into this. [1] - https://wso2.org/jira/browse/APIMANAGER-2256 Regards *Asanthi Kulasinghe* WSO2 Inc; http://www.wso2.com/.

[Dev] Fwd: Do we need the capability to publish same web application through the multiple applications in AppManager

2014-05-01 Thread Dinusha Senanayaka
Hi, $subject is something practical (AFAIS). Say we have a web-app A. Then we have published two applications in AppM by pointing to the web-app A as endpoint. If we need to collect stats, we need to include the tracking code generated by AppM for that particular web-app. Can we include

Re: [Dev] [UES] Embeding Gadgets into a web page

2014-05-01 Thread Ruchira Wageesha
Your url should be http://privateIP:9763/*gadgets*/ifr?url=http:// privateIP:9763/gadget-test/gadget.xml /Ruchira On Thu, May 1, 2014 at 6:08 AM, Shani Ranasinghe sh...@wso2.com wrote: Hi, I have a gadget in the UES server at the location http://localhost:9763/gadget-test/gadget.xml.

Re: [Dev] API Gateway alters POST request URLs in API-Manager 1.7.0

2014-05-01 Thread Nuwan Dias
Its not that it alters request urls, it drops the request parameters from the outgoing request when the Content-Type is text/xml. If the API context is: /stockquote/1.0.0 Endpoint is: http://host:port/StockQuoteService Request url is: /stockquote/1.0.0/getQuote In the case of applcation/xml,

Re: [Dev] Do we need the capability to publish same web application through the multiple applications in AppManager

2014-05-01 Thread Ravi Undupitiya
Hi Dinusha, From the GA perspective, I don't think this is an issue (if I'm understanding you correctly, sorry if i'm not). Currently the unique ID sent to google analytics is stored in a cookie that takes the API name into consideration. So for each app manager app in your scenario (even if

[Dev] Registry rxts, how to sort by date-time when retrieving artifacts?

2014-05-01 Thread Nuwan Dias
Hi, I need to have an rxt field type which can store a date-time. AFAIK rxt's have a date field but it cannot store a time. As a workaround, I have stored the current time in millis as a text field so storing the time problem is solved through that. But now I need to sort by time descending when

[Dev] AppServer - CommodityQuote Sample - scenario 4 (Encryption) does not work

2014-05-01 Thread Afkham Azeez
I get the following error on the server side when I try to run the sample client: [2014-05-01 16:58:54,385] ERROR {org.apache.catalina.core.StandardWrapperValve} - Servlet.service() for servlet [bridgeservlet] in context with path [/] threw exception java.lang.NullPointerException at

Re: [Dev] Do we need the capability to publish same web application through the multiple applications in AppManager

2014-05-01 Thread Rajeeva Uthayasangar
Hi Dinusha, In BAM scenario, tracking ID is generated based on context and version of the proxy web app in app manager.So if we create two proxy web apps for a real app, tracing ID will be unique. And in the Handler, we are validating the tracking ID against the context before publish. Thanks,

[Dev] CallBack Handler Class in Entitlement Mediator

2014-05-01 Thread Sohani Weerasinghe
Hi All, Is there any particular reason for having Callback Handler Classes as follows based on the 'Entitlement Callback Handler' in Entitlement Mediator? UT - org.wso2.carbon.identity.entitlement.mediator.callback.UIEntitlementCallbackHandler SAML -

Re: [Dev] API Gateway alters POST request URLs in API-Manager 1.7.0

2014-05-01 Thread Nirodha Pramod
Hi Nuwan, Isn't this a bug? When we tested this we used a RESTful service (starbucks sample) as the back end. And you can't expect the client would always send application/xml as the Content-Type when calling a rest backend. Sending a text/xml is totally valid when calling a RESTful backend.

Re: [Dev] Meeting Notes on EMM Carbon

2014-05-01 Thread Gayan Gunawardana
Hi Kishanthan, After going through some points you have given during the discussion(e.g kernel patches) we could be able to resolve most of intermittent issues. Further I will look at the link you provided for default profiles. Thanks for your great help to make EMM server stable. On Wed, Apr

Re: [Dev] API Gateway alters POST request URLs in API-Manager 1.7.0

2014-05-01 Thread Nuwan Dias
I'm sure this has been done deliberately in synapse. If so we need to know why exactly. Will it break proxying SOAP 1.1 services if we allow these to be passed to the back-end? The defined standards for the Content-Type are as follows SOAP 1.1 - text/xml SOAP 1.2 - application/soap+xml POX -

[Dev] WSO2 BAM 2.4.1 Final Pack Location

2014-05-01 Thread Dunith Dhanushka
Hi all, BAM 2.4.1 has been released with chunk-09 and final pack is available at [1] Final pack was created from revision 201564 with tests and artifacts deployed to nexus from same revision. SVN tag [2] has been created for this release. [1]

[Dev] WSO2 ESB Connector Store Icons

2014-05-01 Thread Chanaka Jayasena
Hi Dushan, [1] contains the images you requested for the Connector Store. Amazon s3 and Survey Monkey icons are missing. I will upload those ones they are done. 1 - https://drive.google.com/a/wso2.com/folderview?id=0B_CCkDYHWyB9VGlJc0MzWnRpYkUusp=sharing#grid thanks, Chanaka -- Chanaka

Re: [Dev] [UES] Embeding Gadgets into a web page

2014-05-01 Thread Shani Ranasinghe
Hi Ruchira, Thanks that works. would you please explain what this URL is? I was under the impression that we should point to the server which is at http://localhost:9763/gagdet-test http://localhost:9763/portal. On Wed, Apr 30, 2014 at 11:44 PM, Ruchira Wageesha ruch...@wso2.com wrote: Your

Re: [Dev] WSO2 ESB Connector Store Icons

2014-05-01 Thread Malaka Silva
Hi All, IMO we should not modify the backgroung color and layout outside what vendors(Third parties) are using. Eg: - Salesforce logo is in green color whereas standard is blue. Best Regards, Malaka On Fri, May 2, 2014 at 8:08 AM, Chanaka Jayasena chan...@wso2.com wrote: Hi Dushan, [1]

Re: [Dev] GSOC-Automated test case generation tool for WSO2 products

2014-05-01 Thread Rukshan Chathuranga
HI maintha, I followed this http://wso2.com/library/95/ tutorial to generate client. I successfully come to the step 4. But in step 5 generated SimpleServiceStub.java not generate as appropriate(some code is missing). because when create Client get unknown syntax like Echo. Generated java class

Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-05-01 Thread Hasitha Hiranya
During testing I followed following steps. 1. create a topic subscriber 2. publish 1000 msgs 3. wait until the subscriber get 1000 messages and close 4. now underneath MB will still be leisurely deleting the content of removed messages (with timeouts etc) 5. I shutdown the broker by Ctrl+c 6. Now

Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-05-01 Thread Shameera Rathnayaka
Hi HasithaH, Shall we try with log messages to identify service deactivation and bundle undeployment order of andes and cassandra ? Thanks, Shameera. On Fri, May 2, 2014 at 9:18 AM, Hasitha Hiranya hasit...@wso2.com wrote: During testing I followed following steps. 1. create a topic

Re: [Dev] Help

2014-05-01 Thread Pavithra Madurangi
Hi, Appreciate your interest in WSO2 products. From WSO2 Carbon platform 4.0.0 release onwards we have dropped the official support for hosting WSO2 products on third party containers. Thus we do not have a write-up or reference on how to run WSO2 products in JBoss container. Please note that

Re: [Dev] WSO2 BAM 2.4.1 Final Pack Location

2014-05-01 Thread Jaminda Batuwangala
Thank you all for releasing the product as planned. There was exceptional commitment from all members to get this in place and all worked very hard continuously for two days without any break to make this happen. Again a special thank you goes to Depp, Tayalan, Pandula, Shavantha and all of BAM

Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-05-01 Thread Hasitha Hiranya
Hi Shameera, I have added logs and tested. Full Log is attached at ( https://drive.google.com/a/wso2.com/file/d/0B57HoxWKqqNnN2FPRE9FeC0yYXM/edit?usp=sharing). Deactivate of andes service is like follows. protected void deactivate(ComponentContext ctx) { // Unregister QpidService

[Dev] AS samples - JAX-RS Content Negotiation

2014-05-01 Thread Niranda Perera
Dear all, In the AS docs, JAX-RS Content Negotiation sample ( https://docs.wso2.org/display/AS521/JAX-RS+Sample+on+Content+Negotiation), an HTTP GET request is being sent to the service with an ACCEPT header set to 'application/xml' or 'application/json', and the response is given in the format

Re: [Dev] Usage of internal and Export-Package in AM components

2014-05-01 Thread Ajith Vitharana
Hi Ruwan, On Thu, May 1, 2014 at 9:48 PM, Ruwan Yatawara ruw...@wso2.com wrote: Hi Ajith, I've done the necessary changes to remove the impl.internal references. Can you please apply the attached patch as it seems I don't have access to the carbon-apimgt component for some reason (ERROR:

[Dev] Research - Unfamiliar Configurations Came From Qpid to WSO2 MB

2014-05-01 Thread Hasitha Hiranya
Hi Team, This is a try to resolve https://wso2.org/jira/browse/MB-407. I did a search to find out what are the unfamiliar configurations in andes-config.xml file. We need to know them, test if they work, consider if they are valid, remove if not relevant (specially the highlighted ones).

Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-05-01 Thread Shameera Rathnayaka
Hi HasithaH, In the shutdown logs i could see following line, before start andes deactivation, what does actually mean? does it stop cassandra transport listener? [2014-05-02 10:12:19,021] INFO {org.apache.cassandra.transport.Server} - Stop listening for CQL clients On Fri, May 2, 2014

Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-05-01 Thread Hasitha Hiranya
Hi Shameera, Good catch. [2014-05-02 10:12:19,015] INFO {org.wso2.carbon.core.ServerManagement} - Stopped all transport listeners [2014-05-02 10:12:19,015] INFO {org.wso2.carbon.core.ServerManagement} - Waiting for request service completion... [2014-05-02 10:12:19,019] INFO

Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-05-01 Thread Hasitha Hiranya
Looping in PrabathA. On Fri, May 2, 2014 at 11:18 AM, Hasitha Hiranya hasit...@wso2.com wrote: Hi Shameera, Good catch. [2014-05-02 10:12:19,015] INFO {org.wso2.carbon.core.ServerManagement} - Stopped all transport listeners [2014-05-02 10:12:19,015] INFO

[Dev] [GIT]G-Reg 5 startup error due to Identity components.

2014-05-01 Thread Ajith Vitharana
Hi All, I'm getting following error. The exception doesn't say the file name :) , So we need to open the code and find the file name. it is thrift-authentication.xml, where this file should go and what is the feature should copy this to distribution ? [2014-05-02 11:02:34,621] ERROR

Re: [Dev] [C5] Expose a RESTful service in Carbon Kernel 5

2014-05-01 Thread Pradeep Fernando
Hi kishanthan/devs, I believe we already have the first cut implementation of that. If so shall we do a quick review. I want to see the capabilities it has right now vs things what we need... thanks On Wed, Apr 30, 2014 at 9:02 PM, Aruna Karunarathna ar...@wso2.com wrote: Thanks Kishanthan.