Re: [Dev] Failed to download integration-base jar

2015-02-16 Thread Ramindu Deshapriya
-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- Au revoir! Ramindu Deshapriya. Member - Sahana Software Foundation http://sahanafoundation.org http://rdeshapriya.com http://www.facebook.com/rdeshapriya https://twitter.com/RamdeshLota https://plus.google.com

Re: [Dev] [EMM] Correct Source Repository?

2015-02-01 Thread Ramindu Deshapriya
Hi Prabath, Any updates on this? I noticed a 'develop' branch on the repo. Will checking this branch out give me the latest from EMM? Thanks. On Sun, Jan 4, 2015 at 10:13 PM, Ramindu Deshapriya rasad...@gmail.com wrote: Thanks, Prabath! Will await updates. On Sun, Jan 4, 2015 at 10:07 PM

[Dev] [EMM] Correct Source Repository?

2015-01-04 Thread Ramindu Deshapriya
Hello, I forked and cloned [1] to get a copy of EMM, built and ran it. I was able to enter the management console as well. However, this Management Console seems to be quite different from the binary distribution that can be downloaded from the WSO2 website. It has less features as well. Is [1]

Re: [Dev] [EMM] Correct Source Repository?

2015-01-04 Thread Ramindu Deshapriya
. Cheers, Prabath On Sun, Jan 4, 2015 at 5:32 PM, Ramindu Deshapriya [hidden email] http:///user/SendEmail.jtp?type=nodenode=109653i=0 wrote: Hello, I forked and cloned [1] to get a copy of EMM, built and ran it. I was able to enter the management console as well. However, this Management

Re: [Dev] Gsoc Intro and contibuting to WSO2

2014-12-22 Thread Ramindu Deshapriya
%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- Au revoir! Ramindu Deshapriya. Member - Sahana Software Foundation http://sahanafoundation.org http://rdeshapriya.com http://www.facebook.com/rdeshapriya http://twitter.com/#%21/rami_lota

Re: [Dev] Requesting guidance for Nest ESB connector

2014-11-27 Thread Ramindu Deshapriya
%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- Au revoir! Ramindu

Re: [Dev] Adding a namespace prefix using XSLT

2014-09-20 Thread Ramindu Deshapriya
=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- Au revoir! Ramindu Deshapriya. Member - Sahana

Re: [Dev] Test case error on esb connectors

2014-09-12 Thread Ramindu Deshapriya
-send_instant_email%21nabble%3Aemail.naml -- Au revoir! Ramindu Deshapriya. Member - Sahana Software Foundation http://sahanafoundation.org http://rdeshapriya.com http://www.facebook.com/rdeshapriya http://twitter.com/#%21/rami_desh https://plus.google.com/113801459480978566130 http://www.linkedin.com

Re: [Dev] Best approach to send json array from ESB Connector

2014-09-10 Thread Ramindu Deshapriya
=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- Au revoir! Ramindu Deshapriya. Member - Sahana

Re: [Dev] Fwd: Generating Basic Authentication header using the code

2014-09-08 Thread Ramindu Deshapriya
-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- Au revoir! Ramindu Deshapriya. Member - Sahana Software Foundation http://sahanafoundation.org http

[Dev] [ESB] Extract attachment from incoming REST request

2014-09-05 Thread Ramindu Deshapriya
Hi, We are sending a request to a through an ESB connector as follows: { AddFiles:[{ DocumentName:sick.txt, File: aSBhbSBzaWNr , Description:sick }] } The File value is the Base64-encoded content of the file. However, rather than asking the client to send a Base64-encoded string, we would

Re: [Dev] WSO2 Committers += Akila Ravihansa Perera

2014-09-04 Thread Ramindu Deshapriya
%3Aemail.naml -- Au revoir! Ramindu Deshapriya. Member - Sahana Software Foundation http://sahanafoundation.org http://rdeshapriya.com http://www.facebook.com/rdeshapriya http://twitter.com/#%21/rami_desh https://plus.google.com/113801459480978566130 http://www.linkedin.com/profile/view?id

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

Re: [Dev] Esb connector and authentication

2014-07-29 Thread Ramindu Deshapriya
%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- Au revoir! Ramindu Deshapriya. Member - Sahana Software Foundation http://sahanafoundation.org http://rdeshapriya.com http://www.facebook.com/rdeshapriya http://twitter.com/#%21/rami_desh

Re: [Dev] Can we create git branch remotely without checking out

2014-07-24 Thread Ramindu Deshapriya
-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- Au revoir! Ramindu Deshapriya. Member - Sahana Software Foundation http://sahanafoundation.org http://rdeshapriya.com http://www.facebook.com/rdeshapriya http://twitter.com/#%21/rami_desh https://plus.google.com

[Dev] [ESB] Maven Archetype for Cloud Connectors

2014-07-10 Thread Ramindu Deshapriya
Hi all, We have managed to modify the Maven Archetype for connector development in compliance with the latest normalized pom and connector structure. Would appreciate your comments on this. The JAR is available at [1] Thanks. [1]

Re: [Dev] Invitation: [Code Review] ESB - HTTP Connector Generator @ Wed Jul 2, 2014 1:30pm - 2:30pm (va...@wso2.com)

2014-07-02 Thread Ramindu Deshapriya
-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- Au revoir! Ramindu Deshapriya. Member - Sahana Software Foundation http://sahanafoundation.org http

Re: [Dev] Invitation: [Code Review] ESB - HTTP Connector Generator @ Wed Jul 2, 2014 1:30pm - 2:30pm (va...@wso2.com)

2014-07-02 Thread Ramindu Deshapriya
Ramindu, Is it a correct thread? that you are communicating on? BR\ 1G On Thu, Jul 3, 2014 at 10:21 AM, Ramindu Deshapriya [hidden email] http://user/SendEmail.jtp?type=nodenode=98876i=0 wrote: Hi all, We have managed to modify the Maven Archetype for connector development in compliance

Re: [Dev] Connector Integration Test Issue!

2014-06-30 Thread Ramindu Deshapriya
-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- Au revoir! Ramindu Deshapriya. Member - Sahana Software Foundation http://sahanafoundation.org http://rdeshapriya.com http://www.facebook.com/rdeshapriya

Re: [Dev] Service Mediation using Proxy Services- Error!

2014-06-22 Thread Ramindu Deshapriya
%3Aemail.naml -- Au revoir! Ramindu Deshapriya. Member - Sahana Software Foundation http://sahanafoundation.org http://rdeshapriya.com http://www.facebook.com/rdeshapriya http://twitter.com/#%21/rami_desh https://plus.google.com/113801459480978566130 http://www.linkedin.com/profile/view?id

Re: [Dev] Foursquare connector error

2014-06-15 Thread Ramindu Deshapriya
-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- Au revoir! Ramindu Deshapriya. Member - Sahana Software Foundation http://sahanafoundation.org http://rdeshapriya.com http

Re: [Dev] [ESB] JavaScript API for Script mediator

2014-06-02 Thread Ramindu Deshapriya
Hi Dushan, Thanks. It seems that the functions available via the Rhino JAR are available within the Script mediator as well. However, when sending a payload with integer values, the integers seem to be rewritten in to the payload as float values. In the following instance; if

[Dev] [ESB] JavaScript API for Script mediator

2014-05-29 Thread Ramindu Deshapriya
Hi, I am having trouble finding the functions available to the JavaScript API when used within a Script Mediator in the ESB. Could someone please direct me to a list of functions which are available for use within a Script Mediator? Thanks. -- View this message in context:

Re: [Dev] [ESB] JavaScript API for Script mediator

2014-05-29 Thread Ramindu Deshapriya
it in org.apache.synapse.mediators.bsf.ScriptMessageContext. Thanks, Ishan. On Thu, May 29, 2014 at 3:29 PM, Ramindu Deshapriya [hidden email]http://user/SendEmail.jtp?type=nodenode=97415i=0 wrote: Hi, I am having trouble finding the functions available to the JavaScript API when used within a Script Mediator in the ESB

Re: [Dev] [ESB]OAuth 1.0 authentication headers failing when sending via Call Mediator

2014-05-27 Thread Ramindu Deshapriya
the correct result. Thanks. -- Au revoir! Ramindu Deshapriya. Member - Sahana Software Foundation http://sahanafoundation.org http://rdeshapriya.com http://www.facebook.com/rdeshapriya http://twitter.com/#%21/rami_desh https://plus.google.com/113801459480978566130 http://www.linkedin.com/profile

Re: [Dev] [ESB]OAuth 1.0 authentication headers failing when sending via Call Mediator

2014-05-27 Thread Ramindu Deshapriya
Hi Krishantha, krishantha wrote it is not identical. if you closely monitor using tcp monitor you will see Host header goes as 80. it should 443 since you are calling https back end. that may be the reason for this. try adding follwing property on top of call mediator. lt;property

[Dev] [ESB]OAuth 1.0 authentication headers failing when sending via Call Mediator

2014-05-26 Thread Ramindu Deshapriya
Hi, I am sending a request to Quickbooks API [1] with an OAuth 1.0 Authentication header as specified as specified at [2]. I am using the SignPost library at [3] to create an OAuth authentication header using the following code: final String consumerKey =

Re: [Dev] [ESB]OAuth 1.0 authentication headers failing when sending via Call Mediator

2014-05-26 Thread Ramindu Deshapriya
Hi Miyuru, Thanks for your response. Miyuru Wanninayaka wrote It might be due to additional HTTP headers sending by call mediator. Accept-Encoding: gzip,deflate Content-Type: application/xml Accept: application/xml Can you try adding those additional headers in SOAP-UI message and see.

Re: [Dev] [ESB] ESB Connector - Fault sequence problem

2014-05-18 Thread Ramindu Deshapriya
authenticate user uid=admin,ou=system]} On Sat, May 17, 2014 at 11:52 AM, Ramindu Deshapriya [hidden email]http://user/SendEmail.jtp?type=nodenode=96898i=0 wrote: Hi Dimuthu, Sorry, my earlier mail didn't get delivered. I think you might have to add a respond mediator to the fault sequence

Re: [Dev] [ESB] ESB Connector - Fault sequence problem

2014-05-15 Thread Ramindu Deshapriya
code 49 - INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system]} On Thu, May 15, 2014 at 8:58 AM, Ramindu Deshapriya rasad...@gmail.comwrote: Hi DImuthu, The HTTP status code will always be 500 for a SOAP fault, which is what you're generating here. Your

Re: [Dev] [ESB] ESB Connector - Fault sequence problem

2014-05-14 Thread Ramindu Deshapriya
Hi DImuthu, The HTTP status code will always be 500 for a SOAP fault, which is what you're generating here. Your custom error code will be available in the message that gets returned within the body of the response. Thanks. On May 14, 2014 6:55 PM, Dimuthu Upeksha [via WSO2 Oxygen Tank]

Re: [Dev] [ESB] Failed to locate the configure element for connector

2014-04-18 Thread Ramindu Deshapriya
used to invoke the mediator in your connector is looking for an org.wso2.carbon.connector namespace (I think this is the default for connectors?). Your connector had the org.wso2.carbon.connectors package name, right? I believe this is not supported. Thanks. -- Au revoir! Ramindu Deshapriya

Re: [Dev] [ESB] Failed to locate the configure element for connector

2014-04-17 Thread Ramindu Deshapriya
=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- Au revoir! Ramindu Deshapriya. Member - Sahana Software Foundation http://sahanafoundation.org http://rdeshapriya.com http://www.facebook.com/rdeshapriya http://twitter.com/#%21

Re: [Dev] [ESB] Getting random NullPointerException on Operation Client during Connector Integration Tests

2014-04-07 Thread Ramindu Deshapriya
Hi, I am still experiencing this problem even after increasing the listener shutdown timeout to 20s. Is there a different solution that I could apply to avoid the Axis Client from throwing a NullpointerException? Thanks. -- View this message in context:

[Dev] [ESB] Adding attachment to Synapse MessageContext

2014-03-19 Thread Ramindu Deshapriya
Hi, I am attempting to add an attachment via DataHandler to the Synapse Message Context in a class mediator via the following code: DataHandler dataHandler = new DataHandler(new InputStreamDataSource(photoStream)); ((Axis2MessageContext)

Re: [Dev] [ESB] Adding attachment to Synapse MessageContext

2014-03-19 Thread Ramindu Deshapriya
Hi Paul, Paul Fremantle-2 wrote How are you serializing the message? I'm not serializing it, as far as I can tell. I'm receiving an input stream for a file from a backend service (Google Contacts API) and attempting to attach it to the Synapse message context by assigning it to a DataHandler.

Re: [Dev] [ESB] Getting random NullPointerException on Operation Client during Connector Integration Tests

2014-03-12 Thread Ramindu Deshapriya
Hi Dushan, Dushan Abeyruwan wrote [2]https://wso2.org/jira/browse/ESBJAVA-2419 Thank you very much for this solution. The fix for this suggests increasing the wait time for transport listener shutdown. What is the default time and what level of increase would you suggest? Thanks. -- View

Re: [Dev] [ESB] Getting random NullPointerException on Operation Client during Connector Integration Tests

2014-03-12 Thread Ramindu Deshapriya
Hi Dushan, Dushan Abeyruwan wrote Hi Shall we try with 5s Thanks a lot, test runs are passing with 5s. Is there a way to set this parameter via a configuration in the ESB? Thanks. -- View this message in context:

Re: [Dev] [ESB] Getting random NullPointerException on Operation Client during Connector Integration Tests

2014-03-12 Thread Ramindu Deshapriya
Hi Dushan, Dushan Abeyruwan wrote Hi In ESB you need to pass -Dtransport.listener.shutdown.wait.sec=xx pass by embedding either that to wso2server.sh or ./wso2server.sh -Dtransport.listener.shutdown.wait.sec=xx That's what I've been using, was just wondering whether there is a way to

Re: [Dev] [ESB] Getting random NullPointerException on Operation Client during Connector Integration Tests

2014-03-12 Thread Ramindu Deshapriya
Hi Dushan, Whoops, sorry, misread your earlier mail, will add the parameter to the *.sh file of the packaged ESB. That should work, right? -- View this message in context:

[Dev] [ESB] Getting random NullPointerException on Operation Client during Connector Integration Tests

2014-03-11 Thread Ramindu Deshapriya
Hi, I have written 50+ Integration Tests for the Google Drive Cloud Connector using a ServiceClient to send messages to the ESB. I use the following method to build the client: public static OperationClient buildMEPClient(EndpointReference endpoint, OMElement request) throws AxisFault {

Re: [Dev] [ESB] Getting random NullPointerException on Operation Client during Connector Integration Tests

2014-03-11 Thread Ramindu Deshapriya
[1] reported similar issue and to avoid what we have suggested [2] [1]https://wso2.org/jira/browse/CARBON-10439 [2]https://wso2.org/jira/browse/ESBJAVA-2419 Cheers, Dushan https://wso2.org/jira/browse/CARBON-10439 On Tue, Mar 11, 2014 at 3:15 PM, Ramindu Deshapriya rasad

Re: [Dev] [Architecture] Developer Studio 3.6.0 RC 1 Released!

2014-03-06 Thread Ramindu Deshapriya
Hi Lahiru, Are you using Ubuntu 13.10? This is am issue with Eclipse. http://stackoverflow.com/questions/19452390/eclipse-menus-dont-show-up-after-upgrading-to-ubuntu-13-10 Hope this helps. On Mar 7, 2014 3:10 AM, Lahiru Gamage lahi...@wso2.com wrote: Hi Susinda, I tried Developer studio

Re: [Dev] Sending SOAP attachments using AxisServiceClient object in Integration Tests

2014-02-27 Thread Ramindu Deshapriya
Hi Isuru, Isuru Udana wrote Hi Ramindu, Following is the path to sample client. ESB_HOME /samples/axis2Client/src/samples/userguide/MTOMSwAClient.java This worked with using TransportUtils to generate the SOAP Envelope. Thanks! -- View this message in context:

Re: [Dev] Sending SOAP attachments using AxisServiceClient object in Integration Tests

2014-02-16 Thread Ramindu Deshapriya
Hi Azeez, Afkham Azeez-2 wrote http://axis.apache.org/axis2/java/core/docs/mtom-guide.html may help Thanks, I used that class. However, when using the following code, the attachment doesn't seem to be getting delivered to the ESB. I am using this to test a cloud connector, and the connector

[Dev] Sending SOAP attachments using AxisServiceClient object in Integration Tests

2014-02-11 Thread Ramindu Deshapriya
Hi, I am attempting to write an integration test for a service on the ESB which requires a SOAP attachment to be sent. I noticed http://wso2.com/library/1148/, however, the AxisServiceClient object I am calling the sendReceive method on does not allow returning a message context object in any

Re: [Dev] Parsing JSON as XML and handling exceptions

2014-02-02 Thread Ramindu Deshapriya
Dushan Abeyruwan wrote We did major refactoring to JSON by moving from Jettison to Staxon, please refer org.apache.synapse.commons.json.JsonUtil under synapse commons. Thanks Dushan, we will look in to this. Dushan Abeyruwan wrote throwing exception there is nothing to re-invent, look

Re: [Dev] [ESB] Sending Binary data as request body

2014-01-26 Thread Ramindu Deshapriya
Essentially what I'm trying to do is, attach a file along with a REStful PUT request, the same as you'd be able to do through a SOAPUI REST project. Thanks. -- View this message in context: http://wso2-oxygen-tank.10903.n7.nabble.com/ESB-Sending-Binary-data-as-request-body-tp90764p91256.html

Re: [Dev] [ESB] Sending POST requests with x-www-form-urlencoded content type

2014-01-22 Thread Ramindu Deshapriya
Fernando chana...@wso2.com wrote: Hi Ramindu, Please attach your configurations with the mail. Thanks, Chanaka -- Au revoir! Ramindu Deshapriya. Member - Sahana Software Foundation http://sahanafoundation.org http://rdeshapriya.com http://www.facebook.com/rdeshapriya http

Re: [Dev] [ESB] Sending POST requests with x-www-form-urlencoded content type

2014-01-22 Thread Ramindu Deshapriya
Managed to solve this problem through adding a Payload Factory mediator with the following format: payloadFactory media-type=xml format soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;

[Dev] [ESB] Sending POST requests with x-www-form-urlencoded content type

2014-01-21 Thread Ramindu Deshapriya
Hi, I am trying to send a POST request with a set of paramters in the form of x-www-form-urlencoded to a backend API. I need to send a set of key value pairs but am having trouble setting these key value pairs using a synapse template. Would appreciate guidance on how to accomplish this.

Re: [Dev] [ESB] Sending Binary data as request body

2014-01-19 Thread Ramindu Deshapriya
I attempted to achieve this by sending the image file as a SOAP attachment. While the content type of the image file is being correctly transferred, the wire log does not show the actual image going through. Are there any configurations I need to do to send the file through? I have not made

Re: [Dev] [ESB] Sending Binary data as request body

2014-01-19 Thread Ramindu Deshapriya
Hi, This old message thread[1] that I found says that I could replace the SOAP payload within the Axis2 context with the binary data from the file I'm trying to send. I've managed to strip the attachments from the SOAP message I'm sending to the Synapse template by using a class mediator, but I

[Dev] [ESB] Sending Binary data as request body

2014-01-17 Thread Ramindu Deshapriya
Hi, I am attempting to send binary data from a file as part of the request body to the following API endpoint: https://developers.google.com/google-apps/contacts/v3/?csw=1#addingupdating_a_photo_for_a_contact However, I am having issues using BinaryBuilder and BinaryFormatter as I do not have a