Improving JavaScript Support with Axiom Integrated Rhino

2008-06-29 Thread Saliya Ekanayake
Hi, The JavaScript execution in Synapse is performed via Rhino which has the built in support for E4X. The Rhino implementation, however, does not support direct mapping between Axiom elements and E4X objects. If such mapping is enabled then we will be able to achieve better performance and e

Re: Improving JavaScript Support with Axiom Integrated Rhino

2008-06-30 Thread Saliya Ekanayake
, and any performance improvement will be very welcome. Paul On Mon, Jun 30, 2008 at 6:23 AM, Saliya Ekanayake <[EMAIL PROTECTED]> wrote: Hi, The JavaScript execution in Synapse is performed via Rhino which has the built in support for E4X. The Rhino implementation, however, does not sup

Re: [VOTE] Afkham Azeez as a Synapse committer

2008-08-25 Thread Saliya Ekanayake
+1 for making Azeez a committer Thanks Saliya Ruwan Linton wrote: Folks, Azeez has been contributing to the Apache Synapse for quite a while now, and has been contributed a number of fixes and improvements to the load balancing and clustering sections of synapse, including the documents and

Setting the Required Function in Inlined Scripts

2008-08-26 Thread Saliya Ekanayake
Hi all, I am bit new to the script mediator. The synapse configuration language mentions that we can define the which function to be executed in the script if the script already exists (i.e. referred by a key). The script can also be inlined according to the document, but in this case it does

Re: Setting the Required Function in Inlined Scripts

2008-08-26 Thread Saliya Ekanayake
functions.. we also need someone to take the Script mediator to support JDK 1.6 :-) ! asankha Saliya Ekanayake wrote: Hi all, I am bit new to the script mediator. The synapse configuration language mentions that we can define the which function to be executed in the script

Re: How to debug Synapse

2008-10-15 Thread Saliya Ekanayake
Agreeing with Eric and Ruwan, Synapse provides very easy method to do remote debugging. Just use the -xdebug option and that's it. Use the default configuration of the IDE altering just the port to 8000 and it will get attached. Run/Debug on Synapse code from the IDE is useful when you want to

Re: [Axis2] SMS transport for axis2

2009-03-26 Thread Saliya Ekanayake
Charith, Have a look at [1] for a sample scenario with SMS and [2] for some insight into sending SMS based on XML. IMHO I guess it would be nice to have application level reliability in the case of notifying a user on an event. [1] http://www.pymma.com/eng/content/download/620/3501/file/Soa

Dependency Management with Synapse

2009-04-03 Thread Saliya Ekanayake
Hi, At present Synapse may fail due to dangling references. As an example consider a proxy service which refers to a sequence. If the sequence definition is not there it will be a dangling reference and Synapse will fail to mediate properly. The following items are the possible items on whic

Error when retrieving mail from GMail

2009-05-03 Thread Saliya Ekanayake
Hi all, I have encountered two issues with sample 256 - using mail transport with Synapse. 1. The configuration is wrong as it simply sends the response back to the same mail address. Then, Synapse will again send that response mail back to the service thinking it is a request. 2. When retrievin

Re: Error when retrieving mail from GMail

2009-05-03 Thread Saliya Ekanayake
"Unexpected character" (Woodstock 3.2.4: BasicStreamReader: line 2047). Thanks, Saliya On Mon, May 4, 2009 at 10:22 AM, Saliya Ekanayake wrote: > Hi all, > > I have encountered two issues with sample 256 - using mail transport with > Synapse. > > 1. The configuration

Re: Error when retrieving mail from GMail

2009-05-03 Thread Saliya Ekanayake
recipient (the configuration simply checks for the "from" address and send the reply). So in fact I think it's not an error. Thanks, Saliya On Mon, May 4, 2009 at 11:41 AM, Saliya Ekanayake wrote: > Regarding issue 2, I think the reason is having a wrong input stream

Re: Error when retrieving mail from GMail

2009-05-04 Thread Saliya Ekanayake
I am using the snapshot. thanks, Saliya On Mon, May 4, 2009 at 1:13 PM, Andreas Veithen wrote: > Saliya, > > Can you please tell us the version of Synapse you are using? > > Andreas > > On Mon, May 4, 2009 at 08:45, Saliya Ekanayake wrote: >> Hi, >> >> I

Re: Error when retrieving mail from GMail

2009-05-22 Thread Saliya Ekanayake
e content type of the attachment will depend on the email > client or operation system that is used. > > - Play with the transport.mail.ContentType property to override the > content type of the message. > > Andreas > > On Mon, May 4, 2009 at 09:53, Saliya Ekanayake wrote: >

Re: Error when retrieving mail from GMail

2009-05-22 Thread Saliya Ekanayake
wrote: > Saliya, > > Did you try setting the transport.mail.ContentType property in the > plain text case? > > Andreas > > On Fri, May 22, 2009 at 11:44, Saliya Ekanayake wrote: >> Hi Andreas, >> >> I tried the suggested approach, yet was unsuccessful. In both plain

Re: Error when retrieving mail from GMail

2009-05-24 Thread Saliya Ekanayake
stribution (to be fixed). Aha! this may have been the issue for getting a null subject for mail messages. Thanks, Saliya > > Andreas > > On Fri, May 22, 2009 at 20:20, Saliya Ekanayake wrote: >> Hi, >> >> I didn't specifically set it. Anyway, while debugging I

Re: Error when retrieving mail from GMail

2009-05-24 Thread Saliya Ekanayake
Hi, Yep, things worked out fine when I remove the geronimo jars. Thanks for the support. Saliya On Mon, May 25, 2009 at 9:54 AM, Saliya Ekanayake wrote: > Andreas, > > Thank you for the quick response and resolution. I will test this and confirm. > > On Sat, May 23, 2009 at 11

Re: [VOTE] Saliya Ekanayake as a Synapse Committer

2009-06-08 Thread Saliya Ekanayake
t;> WSO2 Inc.; http://wso2.org >>>> email: ru...@wso2.com; cell: +94 77 341 3097 >>>> blog: http://ruwansblog.blogspot.com >>>> >>> >>> >>> >>> -- >>> Hiranya Jayathilaka >>> Software Engineer; >>> WSO2 Inc.; http://wso2.org >>> E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 >>> Blog: http://techfeast-hiranya.blogspot.com >>> >> >> > > > -- > Ruwan Linton > Senior Software Engineer & Product Manager; WSO2 ESB; http://wso2.org/esb > WSO2 Inc.; http://wso2.org > email: ru...@wso2.com; cell: +94 77 341 3097 > blog: http://ruwansblog.blogspot.com > -- Saliya Ekanayake Software Engineer, WSO2 Inc. (http://www.wso2.com)

Re: XPath doesn't return attribute value

2009-06-11 Thread Saliya Ekanayake
Apache foundation the rights to use the code).. then one of the comitters of > the relevant project (Synapse, Axiom etc) will apply the patch to the > codebase > > cheers > asankha > > -- > Asankha C. Perera > AdroitLogic, http://adroitlogic.org > http://esbmagic.blogspot.com > > > -- Saliya Ekanayake http://www.esaliya.blogspot.com http://www.esaliya.wordpress.com

Re: XPath doesn't return attribute value

2009-06-11 Thread Saliya Ekanayake
t; Thanks for pointing this out. It saves making a change to Axis2/Axiom. >> >> Congrats on being made a committer! >> >> Regards, >> Bill >> >> >> On Thu, Jun 11, 2009 at 6:42 AM, Saliya Ekanayake wrote: >> >>> >>> Hi Bill,

Re: XPath evaluation doesn't work on resources picked from registry

2009-06-20 Thread Saliya Ekanayake
gt; To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org > > For additional commands, e-mail: dev-h...@synapse.apache.org > > > > > > - > To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org > For additional commands, e-mail: dev-h...@synapse.apache.org > > -- Saliya Ekanayake http://www.esaliya.blogspot.com http://www.esaliya.wordpress.com

Re: XPath evaluation doesn't work on resources picked from registry

2009-06-21 Thread Saliya Ekanayake
xpath = new AXIOMXPath("//hello/something"); > OMElement node = (OMElement) xpath.selectSingleNode(root); > System.out.println(node == null); > if (node != null) { > System.out.println(node.getText()); > } > >Output >

Re: Endpoint address dynamic look up

2009-06-26 Thread Saliya Ekanayake
n't work. So my idea is to allow the endpoints to use an > expression to pick the endpoint address. > > This may be valid or I might be missing something :). Your comments are > welcome. > > Thanks, > Supun.. > > -- > Software Engineer, WSO2 Inc > http

Re: [VOTE] Heshan Suriyaarachchi as a committer for Synapse

2011-01-25 Thread Saliya Ekanayake
>> https://issues.apache.org/jira/browse/SYNAPSE-695 >> >> Here is my +1 for the Heshan's committorship. >> >> > +1 > > thanks, > Charith > >> Thanks, >> Supun.. >> >> --------- >> To unsubscribe, e-mail: dev-unsub

[jira] Updated: (SYNAPSE-392) An I/O error cccurs when FORCE_HTTP_1.0 parameter is used

2008-07-07 Thread Saliya Ekanayake (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Saliya Ekanayake updated SYNAPSE-392: - Attachment: 20080707_fix.patch The patch contains the fix to the issue raised here

[jira] Created: (SYNAPSE-392) An I/O error cccurs when FORCE_HTTP_1.0 parameter is used

2008-07-07 Thread Saliya Ekanayake (JIRA)
Reporter: Saliya Ekanayake If FORCE_HTTP_1.0 parameter is used in synapse.xml, the getRequest() method of the org.apache.synapse.transport.nhttp.Axis2HttpRequest class will serialize the underlying stream in order to find the content length of the payload. This however, consumes the stream as well

[jira] Updated: (SYNAPSE-392) An I/O error cccurs when FORCE_HTTP_1.0 parameter is used

2008-07-24 Thread Saliya Ekanayake (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Saliya Ekanayake updated SYNAPSE-392: - Attachment: 20080724_fix.patch The file here contains the fix for the next issue raised

[jira] Created: (SYNAPSE-408) Improve Synapse Memory Footprint under HTTP 1.0

2008-07-27 Thread Saliya Ekanayake (JIRA)
Improve Synapse Memory Footprint under HTTP 1.0 --- Key: SYNAPSE-408 URL: https://issues.apache.org/jira/browse/SYNAPSE-408 Project: Synapse Issue Type: Improvement Reporter: Saliya

[jira] Updated: (SYNAPSE-408) Improve Synapse Memory Footprint under HTTP 1.0

2008-07-27 Thread Saliya Ekanayake (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Saliya Ekanayake updated SYNAPSE-408: - Priority: Minor (was: Major) > Improve Synapse Memory Footprint under HTTP

[jira] Commented: (SYNAPSE-408) Improve Synapse Memory Footprint under HTTP 1.0

2008-07-28 Thread Saliya Ekanayake (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617702#action_12617702 ] Saliya Ekanayake commented on SYNAPSE-408: -- The alternative approach you

[jira] Updated: (SYNAPSE-412) REST Invocation Issue with Proxy Services

2008-07-29 Thread Saliya Ekanayake (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Saliya Ekanayake updated SYNAPSE-412: - Attachment: 20080729_fix.patch This contains the fix for the issue raised here. Thanks

[jira] Created: (SYNAPSE-412) REST Invocation Issue with Proxy Services

2008-07-29 Thread Saliya Ekanayake (JIRA)
Reporter: Saliya Ekanayake Priority: Minor Attachments: 20080729_fix.patch A proxy service in Synapse (say, myproxy) can be accessed via an HTTP GET call. This, however, requires the user to type in the operation name after the proxy name (e.g. http://localhost:8280/services

[jira] Commented: (SYNAPSE-393) Convertion not complete when using SOAPUtils.convertSOAP11toSOAP12()

2008-08-01 Thread Saliya Ekanayake (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618957#action_12618957 ] Saliya Ekanayake commented on SYNAPSE-393: -- I tried to recreate your issue

[jira] Commented: (SYNAPSE-365) REST support not working in synapse 1.2

2008-08-01 Thread Saliya Ekanayake (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618961#action_12618961 ] Saliya Ekanayake commented on SYNAPSE-365: -- Hi Keith, This issue is now f

[jira] Reopened: (SYNAPSE-392) An I/O error cccurs when FORCE_HTTP_1.0 parameter is used

2008-08-03 Thread Saliya Ekanayake (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Saliya Ekanayake reopened SYNAPSE-392: -- The latest patch is still not applied to the code base. Thanks, Saliya > An I/O er

[jira] Commented: (SYNAPSE-408) Improve Synapse Memory Footprint under HTTP 1.0

2008-08-03 Thread Saliya Ekanayake (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619341#action_12619341 ] Saliya Ekanayake commented on SYNAPSE-408: -- It seems that the latest patc

[jira] Created: (SYNAPSE-532) Dependency Management in Synapse

2009-04-05 Thread Saliya Ekanayake (JIRA)
Dependency Management in Synapse Key: SYNAPSE-532 URL: https://issues.apache.org/jira/browse/SYNAPSE-532 Project: Synapse Issue Type: New Feature Components: Core Reporter: Saliya

[jira] Updated: (SYNAPSE-532) Dependency Management in Synapse

2009-04-06 Thread Saliya Ekanayake (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Saliya Ekanayake updated SYNAPSE-532: - Attachment: diag2.jpeg diag1.jpeg Proposed Design for Synapse

[jira] Created: (SYNAPSE-535) Inline schema definitions get lost

2009-04-20 Thread Saliya Ekanayake (JIRA)
Inline schema definitions get lost -- Key: SYNAPSE-535 URL: https://issues.apache.org/jira/browse/SYNAPSE-535 Project: Synapse Issue Type: Bug Components: Core Reporter: Saliya Ekanayake

[jira] Commented: (SYNAPSE-535) Inline schema definitions get lost

2009-04-21 Thread Saliya Ekanayake (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701110#action_12701110 ] Saliya Ekanayake commented on SYNAPSE-535: -- I was able to debug through

[jira] Created: (SYNAPSE-538) Unable to start synapse with configurations that have no inline endpoint for proxy services

2009-04-28 Thread Saliya Ekanayake (JIRA)
Project: Synapse Issue Type: Bug Reporter: Saliya Ekanayake Attachments: ep_null_check.patch In SynapseConfiguration class under init() method it tries to initialize the inline target endpoint of proxy services without checking the presence of such endpoint

[jira] Updated: (SYNAPSE-538) Unable to start synapse with configurations that have no inline endpoint for proxy services

2009-04-28 Thread Saliya Ekanayake (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Saliya Ekanayake updated SYNAPSE-538: - Attachment: ep_null_check.patch The patch for the issue raised here. Thanks, Saliya

[jira] Resolved: (SYNAPSE-535) Inline schema definitions get lost

2009-05-19 Thread Saliya Ekanayake (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Saliya Ekanayake resolved SYNAPSE-535. -- Resolution: Fixed I am resolving this since it's not a bug with Synapse rat