[Dev] Testing endpoint URL existence, in WSO2 ESB not showing the correct result

2014-04-22 Thread Buddhima Wijeweera
Hi, I faced following issue while creating an Endpoint, at WSO2 ESB - 4.8.1 *Reproduce the problem:* 1. Goto Add new Address Endpoint view in ESB 2. Enter a name as Endpoint name 3. Enter a url of a non-existing service (in my case, I entered http://localhost:9000/services/OrderProcessServiceNO

[Dev] [Data mapper] Declare project constants in a Util class

2014-04-22 Thread Gayan Yalpathwala
Hi, I am thinking of moving all datamapper visual editor project constants to dataMapper.diagram.custom.util.Editorutils class. Currently, some extensions, prefixes and suffixes are scattered around the code base and hope this will help making them reusable. Any thoughts? Thanks, -- *Gayan Kaus

Re: [Dev] PostgreSQL configuration failure in API-Manager 1.7.0.

2014-04-22 Thread Chathurika Mahaarachchi
Check with this [1] [1]. http://www.daily-dev-solutions.com/2011/01/orgpostgresqlutilpsqlexception-error.html On Wed, Apr 23, 2014 at 11:14 AM, Asanthi Kulasinghe wrote: > Hi, > > FYI. > > [1] has been reported for PostgreSQL configuration failure in API-Manager > 1.7.0. > > [1] https://wso2.

[Dev] PostgreSQL configuration failure in API-Manager 1.7.0.

2014-04-22 Thread Asanthi Kulasinghe
Hi, FYI. [1] has been reported for PostgreSQL configuration failure in API-Manager 1.7.0. [1] https://wso2.org/jira/browse/APIMANAGER-2203?filter=-2 Regards *Asanthi Kulasinghe* Software Engineer - QA WSO2 Inc; http://www.wso2.com/. Mobile: +94777355522 __

[Dev] Not enough disk space in Jenkins sever.

2014-04-22 Thread Krishantha Samaraweera
DSS build failed with following error. Please have a look. Caused by: org.apache.axis2.schema.SchemaCompilationException: javax.xml.transform.TransformerException: java.io.IOException: No space left on device [java] at org.apache.axis2.schema.writer.JavaBeanWriter.write(JavaBeanWriter.jav

[Dev] svn deployment synchronizer issue

2014-04-22 Thread Vijayaratha Vijayasingam
Hi; In a worker manager setup. when we deploy and undeploy again redeploy gives svn error..[1] To overcome, i need to clean the repo and need to get fresh checkout. How can i avoid this issue? [1]svn: File or directory 'webapps' is out of date; try updating svn: resource out of date; try updating

Re: [Dev] Proxy service created on ESB not accepting paramters from SOAP

2014-04-22 Thread Chanaka Fernando
Hi Awanthika, What is the SOAP request you are sending? Thanks, Chanaka On Wed, Apr 23, 2014 at 9:05 AM, Awanthika Senarath wrote: > Hi, > > I have created a service in wso2esb with 4 methods with add and get tasks. > > the getall service, where i don't pass any parameters into the service, is

[Dev] [Data mapper] Wrong placement of new tree elements

2014-04-22 Thread Gayan Yalpathwala
Hi, I am adding new elements to existing tree nodes of input and output trees and encounter a wrong placing issue for newly added tree elements. The following code snippet is used to add a new element to a tree node. EObject object = ((Node) selectedEP.getModel()).getElement(); // Used to identif

[Dev] [DEV] MB/ESB Integration Flows

2014-04-22 Thread Pamod Sylvester
Hi All, Just to give a quick update on the scenarios we'll be illustrating to demonstrate the ESB/MB integration, the following are the flows which will be illustrated as per our discussion during the review meeting, *(1) http to jms (For Both queue and topic subscriptions)* ~ ESB as a p

Re: [Dev] Flush the 4.3.0 Kernel PR queue

2014-04-22 Thread Ajith Vitharana
On Tue, Apr 22, 2014 at 12:18 PM, Kasun Gajasinghe wrote: > Hi Sameera, > > Could you please do $subject? There are 15+ commits waiting in the queue. > > [1] https://github.com/wso2/carbon4-kernel/pull/4 > Please review and merge immediately, because some fixes are blockers for the build stabil

[Dev] Proxy service created on ESB not accepting paramters from SOAP

2014-04-22 Thread Awanthika Senarath
Hi, I have created a service in wso2esb with 4 methods with add and get tasks. the getall service, where i don't pass any parameters into the service, is working fine. but all other methods which do accept parameters gives an error I have not done any processing to the soap messages. I am sendin

Re: [Dev] [ESB][SecureClient][Axis2Fault] Must Understand check failed for header

2014-04-22 Thread Prasad Fernando
hi, Let's see. I am currently using the policy file uploaded to ESB registry. It seems that esb is not getting the policy engaged with this approach. Thanks On Tue, Apr 22, 2014 at 8:39 PM, Rajith Siriwardena wrote: > Hi all, > > I too get the same error, but it works when the policy file is

Re: [Dev] HTTP Patch support by ESB 4.8.1

2014-04-22 Thread Miyuru Wanninayaka
I can't imagine a way which fixed done in [1],[2] cause JSON issues in script mediator, it's a only minor change to http request factory and nothing to do with script mediator. It should be a some other fix done early causing this issue. [1] https://wso2.org/jira/browse/ESBJAVA-3051 [2] https://w

Re: [Dev] Exception thrown when close the eclipse after run as eclipse application

2014-04-22 Thread Viraj Rajaguru
Hi Lali, Can you try following code snippet for getEditingDomain() method ? /** * @generated NOT */ public TransactionalEditingDomain getEditingDomain() { IDocument document = null; if (getDocumentProvider() != null) { document = getEditorInput() != null ? getDocumentProvider().getDocument( get

[Dev] Exception thrown when close the eclipse after run as eclipse application

2014-04-22 Thread Lali Devamanthri
Hi, Following exception throw when close the eclipse after run as eclipse application. org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4397) at org.eclipse.swt.SWT.error(SWT.java:4312) ... Caused by: java.lan

Re: [Dev] IS 5.0.0 - QA status update

2014-04-22 Thread Shani Ranasinghe
Hi, The beta pack was supposed to be released today right? But seems it won't. Can we get a date when it will be released? On Mon, Apr 21, 2014 at 8:13 AM, Pavithra Madurangi wrote: > Hi all, > > Following is the QA status update of IS 5.0.0 release as at 18/04/2014. > > New features tested at

Re: [Dev] HTTP Patch support by ESB 4.8.1

2014-04-22 Thread Krishantha Dinesh
this is already experienced issue with above patch. hope malaka can help you on solve this as he is already solve this on other connector Malaka can you share the solution please On Tue, Apr 22, 2014 at 5:09 PM, Madhawa Bandara wrote: > Hi, > I applied the above patches and the requests with H

Re: [Dev] No usages of org.wso2.carbon.utils.transport.http.GenericHttpsTransportListener

2014-04-22 Thread Afkham Azeez
These were used sometime back, perhaps they are not used anymore & are replaced by a different class. On Tue, Apr 22, 2014 at 11:28 PM, Eranda Sooriyabandara wrote: > Hi All, > I found that there are two HTTP transport listeners > in org.wso2.carbon.utils, which I didn't find any usages. > >

[Dev] No usages of org.wso2.carbon.utils.transport.http.GenericHttpsTransportListener

2014-04-22 Thread Eranda Sooriyabandara
Hi All, I found that there are two HTTP transport listeners in org.wso2.carbon.utils, which I didn't find any usages. 1. GenericHttpTransportListener 2. GenericHttpsTransportListener What is the usages of these two classes? thanks Eranda -- *Eranda Sooriyabandara*Senior Software Enginee

Re: [Dev] Globally defined constants for Data Types

2014-04-22 Thread Sohani Weerasinghe
Hi Malintha, Yes, this is what I exactly wanted. Thanks Regards, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Tue, Apr 22, 2014 at 9:15 PM, Mali

Re: [Dev] Globally defined constants for Data Types

2014-04-22 Thread Malintha Adikari
Hi Sohani, AFAIU you want something like this[1] Here we can use those constants as follows. Most of common types are there. See the documentation. * System.out.println(javax.ws.rs.core.MediaType.APPLICATION_XML);* [1]http://docs.oracle.com/javaee/6/api/javax/ws/rs/core/MediaType.html Regards,

Re: [Dev] [ESB][SecureClient][Axis2Fault] Must Understand check failed for header

2014-04-22 Thread Rajith Siriwardena
Hi all, I too get the same error, but it works when the policy file is taken from the local repository, as in the sample. Thanks On Tue, Apr 22, 2014 at 12:34 PM, Prasad Fernando wrote: > Hi, > > Any updates on the root cause for the above issue? I am using the > dependent libraries (includin

[Dev] Globally defined constants for Data Types

2014-04-22 Thread Sohani Weerasinghe
Hi All, If I want to use datatypes like "text/csv", "application/xml" etc. Instead of defining them as shown below, is there a way to use globally defined constants for those known data types? If so, can someone please state the way to use those constants? private final static String CSV_CONTENT_

[Dev] [AppServer]WS-Security Sample on Signature and Encryption

2014-04-22 Thread Sameera Kannangara
Hi all, When running sample "WS-Security Sample on Signature and Encryption"[1]user have to follow set up instruction at [2]. Due to a known

[Dev] [Blocker] [API-M 1.7.0] KeyManager cluster fronted with ELB doesn't function properly

2014-04-22 Thread Nirodha Pramod
Hi, APIs cannot be invoked when we use clustered keymanger fronted with ELB, in the distributed setup. This is blocker to continue testing on the keymanager cluster. Please have a look. https://wso2.org/jira/browse/APIMANAGER-2192 regards, Nirodha -- *Nirodha Gallage* Senior Software Engineer,

Re: [Dev] Need help on 'Can not serialize OM Element Envelope' Exception in Axis2

2014-04-22 Thread Supun Sethunga
Hi Malintha, Bingo! It worked. Thanks, Supun On Tue, Apr 22, 2014 at 5:19 PM, Malintha Adikari wrote: > > > > On Tue, Apr 22, 2014 at 5:03 PM, Supun Sethunga wrote: > >> Hi Gayan, >> >> Thanks for looking in to it. >> >> So what alternations can I take instead of sending an OMElement? Does >

Re: [Dev] Need help on 'Can not serialize OM Element Envelope' Exception in Axis2

2014-04-22 Thread Malintha Adikari
On Tue, Apr 22, 2014 at 5:03 PM, Supun Sethunga wrote: > Hi Gayan, > > Thanks for looking in to it. > > So what alternations can I take instead of sending an OMElement? Does > "anyType" accepts objects of some custom class (manually written), other > than generic type? > Or is it okay to send dat

Re: [Dev] HTTP Patch support by ESB 4.8.1

2014-04-22 Thread Madhawa Bandara
Hi, I applied the above patches and the requests with HTTP PATCH method work well now. But now I get a new exception for the requests in which a JSON payload is used (inside the script mediator with language="js"): com.sun.phobos.script.util.ExtendedScriptException: org.mozilla.javascript.EcmaErro

Re: [Dev] Need help on 'Can not serialize OM Element Envelope' Exception in Axis2

2014-04-22 Thread Supun Sethunga
Hi Gayan, Thanks for looking in to it. So what alternations can I take instead of sending an OMElement? Does "anyType" accepts objects of some custom class (manually written), other than generic type? Or is it okay to send data using generic types (since it does not sound a very good practice)?

Re: [Dev] Need help on 'Can not serialize OM Element Envelope' Exception in Axis2

2014-04-22 Thread Gayan Yalpathwala
Hi Supun, On Tue, Apr 22, 2014 at 3:08 PM, Supun Sethunga wrote: > Hi Gayan, > > I went through the link, but doesn't seems to be the issue in my case. > > Message sent by the client does not contain the SOAP envelop. And the same > method actually works when accessed using sendReceive() functi

Re: [Dev] Need help on 'Can not serialize OM Element Envelope' Exception in Axis2

2014-04-22 Thread Supun Sethunga
Hi Gayan, I went through the link, but doesn't seems to be the issue in my case. Message sent by the client does not contain the SOAP envelop. And the same method actually works when accessed using sendReceive() function. I think the issue is with the data type of the element in the wsdl, which i

Re: [Dev] rampart-core:jar:1.6.1-wso2v12-SNAPSHOT was not deployed into the online SNAPSHOT repository

2014-04-22 Thread Kasun Gajasinghe
Hi Sagara, Could you please check whether this has something to do with Nexus? I have checked Jenkins, and the configuration seems to be identical to other jobs such as wso2-synapse, wso2-wsdl4j etc. (except job name, github url etc. of course) So, this might be an issue with the configuration in

Re: [Dev] Need help on 'Can not serialize OM Element Envelope' Exception in Axis2

2014-04-22 Thread Gayan Yalpathwala
Hi Supun, As far as I have identified, this can occur when the input does not match with the expected. I think you might have sent a message wrapped by an envelope where the method only expects the actual payload. Please refer comments in [1]. [1] https://issues.apache.org/jira/browse/AXIOM-237

Re: [Dev] Fwd: What is the XML reading method in C5?

2014-04-22 Thread Manoj Kumara
Hi Shazni, Currently we decided to use JAXB since its already available in JDK and ease of use. From C5 onwards we'll use JAXB as the standard. Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Tue, Apr 22, 2014 at 2

[Dev] Fwd: What is the XML reading method in C5?

2014-04-22 Thread Shazni Nazeer
Shazni Nazeer Senior Software Engineer Mob : +94 715 440 607 LinkedIn : http://lk.linkedin.com/in/shazninazeer Blog : http://shazninazeer.blogspot.com -- Forwarded message -- From: Shazni Nazeer Date: Tue, Apr 22, 2014 at 2:10 PM Subject: What is the XML reading method in C5? T

[Dev] [Exception in regenerating Oauth tokens in APIM]

2014-04-22 Thread Gayan Gunawardana
Hi, We are working on Integrating APIM components to EMM for API security. I have installed APIM features according to 1.6 release and Identity components according to 5.0 release (next IS release). Following exception occurs while regenerating tokens. I will revert back identity features accordi

[Dev] Aggregate operations support for life cycles - Issue

2014-04-22 Thread Maheshakya Wijewardena
Hi, I have encountered an issue during the implementation. Initial plan was as follows: governance.api contains following modules. - GovernanceBatchValidate interface: This interface contains the validate method. - GovernanceAggregateOperations: This uses the OSGi service tracker to

Re: [Dev] DSS(wso2dss-3.3.0-SNAPSHOT) Integration Test Migration

2014-04-22 Thread Nuwan Wimalasekara
Hi, All the test classes for DSS samples have been improved to make compatible with both user and tenant mode test execution at once. Now test classes for samples are running as the user(supper admin) and as the tenant( ad...@wso2.com) when executing the integration tests. It will ensure the same s

Re: [Dev] [ESB][SecureClient][Axis2Fault] Must Understand check failed for header

2014-04-22 Thread Prasad Fernando
Hi, Any updates on the root cause for the above issue? I am using the dependent libraries (including rampart) come with the ESB 4.8.1 repository/components/plugins folder for my esb client. Included the bouncy castle jar which is for jdk 1.5 - 1.7 and both ESB and client are running on jdk 1.6 u45