Re: [Dev] Issue: .XPathException: Required item type of first operand of '/' is node(); supplied value has item type xs:string

2017-02-11 Thread Harshana Eranga Martin
Hi Jorge,

I had a similar requirement and here is what i did to overcome the issue.

I appended the complex XML element to Current payload using a combination
of Property mediator (To wrap the complex XML Element with a known Root
element) and enriched the current payload using Enrich Mediator (Append the
complex XML element wrapped with the known Root element as an immediate
child under SOAPDody). Inside my XSLT i process the proper payload and
extract the complex XML element using the known Root element i used to wrap
it. This is the workaround I used.

Hope this helps!

Thanks and Regards,
Harshana

On Sun, 12 Feb 2017 at 2:53 pm, Jorge  wrote:

> Hi all,
> any workaround for this bug:
>
> https://wso2.org/jira/si/jira.issueviews:issue-html/ESBJAVA-4509/ESBJAVA-4509.html
>
> I need to pass 2 complex XML as parameters to a xslt in ESB 5.0.0 with
> this error:
>
> [2017-02-11 20:56:29,320] ERROR - XSLTMediator Unable to perform XSLT
> transformation using : Value {name ='null', keyValue
> ='transformTwoSourcesToOneResult'} against source XPath : s11
> :Body/child::*[position()=1] | s12:Body/child::*[position()=1] reason
> : Error performing XSLT transformation using : Value {name ='null',
> keyValue ='transformTwoSourcesToOneResult'}
> org.apache.synapse.SynapseException: Error performing XSLT
> transformation using : Value {name ='null', keyValue
> ='transformTwoSourcesToOneResult'}
> at
> org.apache.synapse.mediators.AbstractMediator.handleException(AbstractMediator.java:367)
> at
> org.apache.synapse.mediators.transform.XSLTMediator.performXSLT(XSLTMediator.java:372)
> at
> org.apache.synapse.mediators.transform.XSLTMediator.mediate(XSLTMediator.java:202)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97)
> at
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:260)
> at
> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.mediateFromContinuationStateStack(Axis2SynapseEnvironment.java:766)
> at
> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:282)
> at
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:554)
> at
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:188)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
> at
> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:261)
> at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: net.sf.saxon.trans.XPathException: Required item type of
> first operand of '/' is node(); supplied value has item type xs:string
> at
> net.sf.saxon.expr.ItemTypeCheckingFunction.testConformance(ItemTypeCheckingFunction.java:65)
> at
> net.sf.saxon.expr.ItemTypeCheckingFunction.mapItem(ItemTypeCheckingFunction.java:41)
> at
> net.sf.saxon.expr.ItemMappingIterator.next(ItemMappingIterator.java:90)
> at
> net.sf.saxon.expr.ContextMappingIterator.next(ContextMappingIterator.java:52)
> at
> net.sf.saxon.value.SequenceExtent.(SequenceExtent.java:105)
> at
> net.sf.saxon.expr.sort.DocumentOrderIterator.(DocumentOrderIterator.java:31)
> at
> net.sf.saxon.expr.sort.DocumentSorter.iterate(DocumentSorter.java:101)
> at
> net.sf.saxon.expr.SlashExpression.iterate(SlashExpression.java:700)
> at
> net.sf.saxon.expr.sort.DocumentSorter.iterate(DocumentSorter.java:101)
> at
> net.sf.saxon.expr.SlashExpression.iterate(SlashExpression.java:700)
> at
> net.sf.saxon.expr.sort.DocumentSorter.iterate(DocumentSorter.java:101)
> at
> net.sf.saxon.expr.instruct.ForEach.processLeavingTail(ForEach.java:414)
> at
> net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:131)
> at
> net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301)
> at
> net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:254)
> at
> net.sf.saxon.expr.instruct.Template.applyLeavingTail(Template.java:212)
> at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1034)
> at
> net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:58)
> at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1022)
> at net.sf.saxon.Controller.transformDocument(Controller.java:1957)
> at net.sf.saxon.Controller.transform(Controller.java:1803)
> at
> org.apache.synapse.mediators.transform.XSLTMediator.performXSLT(XSLTMediator.java:300)
> ... 13 more
>
> R

Re: [Dev] [Architecture] WSO2 Enterprise Integrator 6.0.0 Alpha Released !

2017-02-10 Thread Harshana Eranga Martin
Thanks Tishan :-)

Thanks and Regards,
Harshana

On Fri, 10 Feb 2017 at 9:39 pm, Tishan Dahanayakage  wrote:

> When are we going to make documents publicaly available
>
> On Feb 10, 2017 3:26 PM, "prabath"  wrote:
>
> Hi Tishan.
>
> Document is not visible to the outside.
>
> Thanks.
>
> On Fri, Feb 10, 2017 at 3:33 PM, Tishan Dahanayakage 
> wrote:
>
> Hi Harshana,
>
> Please find the documentation here[1]. Please note this is Work In
> Progress. So if you find any issues please report. :)
>
> [1]
> https://docs.wso2.com/display/EI600/WSO2+Enterprise+Integrator+Documentation
> Thanks
> /Tishan
>
> On Fri, Feb 10, 2017 at 3:40 AM, Harshana Eranga Martin <
> harshan...@gmail.com> wrote:
>
> Hi Himasha,
>
> What is the url to the product documentation?
>
>
> On Fri, 10 Feb 2017 at 7:34 am, Himasha Guruge  wrote:
>
> WSO2 Integration Team is pleased to announce the alpha release of WSO2
> Enterprise Integrator (EI) 6.0.0.
>
> Source & Distribution:
> https://github.com/wso2/product-ei/releases/tag/v6.0.0-alpha
> Bug fixes:
> https://github.com/wso2/product-ei/issues?page=1&q=is%3Aissue+is%3Aclosed
> Known issues: https://github.com/wso2/product-ei/issues
>
> *How to Run*
>
> 1.Extract the downloaded zip.
>
> 2.Go to the bin directory in the extracted folder.
>
> 3.Run the start-all.sh or start-all.bat as appropriate.
>
> 4.Launch a web browser and navigate to https://localhost:8243/carbon to
> access the Enterprise Integrator Management Console.
>
> 5.Navigate to https://localhost:9444/carbon to access analytics
> management console and https://localhost:9444/dashboard to access
> Enterprise Integrator Dashboard.
>
> 6.Navigate to https://localhost:9445/carbon to access business process
> management console.
>
> 7.Navigate to https://localhost:9446/carbon to access broker management
> console.
>
> 8.Use "admin", "admin" as the username and password to login as an admin.
>
> Thanks,
>
>   -WSO2 Integration Team-
>
> <https://github.com/wso2/product-ei/issues?page=1&q=is%3Aissue+is%3Aclosed>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
> --
> Sent from Gmail Mobile for IPhone
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
>
>
> --
> Tishan Dahanayakage
> Senior Software Engineer
> WSO2, Inc.
> Mobile:+94 716481328 <+94%2071%20648%201328>
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, re-transmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
>
>
> --
> Prabath Ariyarathna.
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
-- 
Sent from Gmail Mobile for IPhone
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] WSO2 Enterprise Integrator 6.0.0 Alpha Released !

2017-02-09 Thread Harshana Eranga Martin
Hi Himasha,

What is the url to the product documentation?


On Fri, 10 Feb 2017 at 7:34 am, Himasha Guruge  wrote:

> WSO2 Integration Team is pleased to announce the alpha release of WSO2
> Enterprise Integrator (EI) 6.0.0.
>
> Source & Distribution:
> https://github.com/wso2/product-ei/releases/tag/v6.0.0-alpha
> Bug fixes:
> https://github.com/wso2/product-ei/issues?page=1&q=is%3Aissue+is%3Aclosed
> Known issues: https://github.com/wso2/product-ei/issues
>
> *How to Run*
>
> 1.Extract the downloaded zip.
>
> 2.Go to the bin directory in the extracted folder.
>
> 3.Run the start-all.sh or start-all.bat as appropriate.
>
> 4.Launch a web browser and navigate to https://localhost:8243/carbon to
> access the Enterprise Integrator Management Console.
>
> 5.Navigate to https://localhost:9444/carbon to access analytics
> management console and https://localhost:9444/dashboard to access
> Enterprise Integrator Dashboard.
>
> 6.Navigate to https://localhost:9445/carbon to access business process
> management console.
>
> 7.Navigate to https://localhost:9446/carbon to access broker management
> console.
>
> 8.Use "admin", "admin" as the username and password to login as an admin.
>
> Thanks,
>
>   -WSO2 Integration Team-
>
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
-- 
Sent from Gmail Mobile for IPhone
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Eclipse Mars(4.5) system.setproperty javax.net.ssh.truststore not working anymore

2016-04-07 Thread Harshana Eranga Martin
Hi Jasintha,

Import the SSL Cert from the remote server to your trust store. It should
solve this issue.

On Thursday, 7 April 2016, Jasintha Dasanayake  wrote:

> Hi Devs
>
>  trying to connect to a remote server using SSL connection through an
> eclipse plugin and making use of the following code to set the trust store
> path :
>
> System.setProperty("javax.net.ssl.trustStore", path);
>
>
>
>  System.setProperty("javax.net.ssl.trustStorePassword",
> "trustorepassword");
>
>
>
>  System.setProperty("javax.net.ssl.trustStoreType","JKS");
>
>
> I am getting the following exception
>
>
> *javax.net.ssl.SSLHandshakeException: 
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target.*
>
>
> Furthermore this plugin worked in eclipse Luna (4.4) without any issue ,
> so  any thought please ?
>
> --
>
> *Jasintha Dasanayake*
>
> *Senior Software EngineerWSO2 Inc. | http://wso2.com
> lean . enterprise . middleware*
>
>
> *mobile :- 0711368118*
>


-- 
Sent from Gmail Mobile for IPhone
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Libraries to process JSON schema

2016-03-07 Thread Harshana Eranga Martin
Hi Sohani,

Have you considered Staxon[6]? If I'm not mistaken ESB JsonStreamBuilder
and Formatter uses Staxon. I'm sure other wso2 products also uses it. So it
would be better if Dev Studio also uses the same library as ESB and other
runtime products so that Development and Runtime both relies on the same
library. It will help users not to run in to surprises in the runtime once
they deploy the configs.

[6]. https://github.com/beckchr/staxon

Thanks and Regards,
Harshana

On Monday, 7 March 2016, Sohani Weerasinghe  wrote:

> Hi All,
>
> We are in a process of evaluating the libraries to process JSON schema
> (read and write) and we found few libraries as listed below:
>
>- Jackson [1]
>- JSON.simple [2]
>- Gson
>
> Based on the findings when comparing the GSON and Jackson [3], it seems
> Jackson has more complete support than Gson
> - Streaming (Streaming API) reading, writing, for ultra-high performance
> (or memory-limited) use cases
> - Tree model (DOM-like access),can convert between various models (tree
> <-> java object <-> stream)
> - Can use any constructors (or static factory methods), not just default
> constructor
> - Field and getter/setter access
> - Interoperability: can also use JAXB annotations, has
> support/work-arounds for common packages
> - Support for deserializing polymorphic types (Jackson 1.5),can serialize
> AND deserialize things like List correctly (with additional type
> information)
>
> When considering the JSON.simple[4], it is a simple Java library for JSON
> processing, read and write JSON data and it is full compliance with json
> specification. If we compare this with other two libraries [5], If we are
> dealing with both small and large schema files,neither Jackson nor GSON
> perform well across multiple files sizes as JSON.simple does. ( Jackson
> support well for large files only)
>
> If we consider the implementation for read JSON schema and generating the
> schema, below things can be highlighted
>
>
>- Jackson - We can use
>an ObjectMapper(com.fasterxml.jackson.databind.ObjectMapper) object and
>read the values of the fields in the schema (Tree Model)  using
>fieldNames(), isObject(), isArray() etc and also can use methods like
>createArrayNode(), createObjectNode() in generating the JSON schema.
>
>
>- JSON.Simple - We can use JSONObject (org.json.simple.JSONObject) and
>JSONArray (org.json.simple.JSONArray)  to read and write values to/from
> JSON schema
>
>
> AFAIU, implementation wise we can use either Jackson or JSON.simple and
> when comparing the performance it seems both are better than GSON
>
> But, when considering selecting the best library i feel JSON.simple would
> be better since it has following features
>
> -Full compliance with JSON specification and reliable
> -Provides multiple functionalities such as encode, decode/parse and escape
> JSON text while keeping the library lightweight
> -Flexible, simple and easy to use by reusing Map and List interfaces
> -Supports streaming output of JSON text
> - High performance
> - No dependency on external libraries
>
> Shall we proceed with JSON.simple? WDYT?
>
> [1] http://wiki.fasterxml.com/JacksonInFiveMinutes
> [2] https://code.google.com/archive/p/json-simple/
> [3] http://stackoverflow.com/questions/2378402/jackson-vs-gson
> [4] https://code.google.com/archive/p/json-simple/
> [5]
> http://blog.takipi.com/the-ultimate-json-library-json-simple-vs-gson-vs-jackson-vs-json/
>
> Thanks,
> Sohani
>
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>


-- 
Sent from Gmail Mobile for IPhone
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] wso2 development with intellij

2016-02-23 Thread Harshana Eranga Martin
Hi John,

Best practice for developing WSO2 artifacts is to use Developer Studio. If
you are using Maven as your build system you may use it for Packaging and
deployment.

Even if you are using intellij or any other xml editor for the
configuration development, you still need to use developer studio for
Artifact Management as mentioned in the other thread for your previous
query.

Thanks and Regards,
Harshana

On Wednesday, 24 February 2016, John Q  wrote:

> Is there anyone developing wso2 projects with intellij or anyother ide
> other than developer studio?
> can any body provide me some best practices for wso2 artifacts development?
>
> thanks,
> John
>


-- 
Sent from Gmail Mobile for IPhone
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [ESB] Deprecated features in ESB 4.10

2015-12-09 Thread Harshana Eranga Martin
Hi Kasun,

Please see the comments inline.

Thanks and Regards,
Harshana
--
Harshana Eranga Martin

Committer - Eclipse ECF: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05

On 9 December 2015 at 17:41, Kasun Indrasiri  wrote:

> Shall we deprecate following mediators in 4.10 release.
>
> *- Callout mediator :*
>  All the callout functionality is supported with 'call' mediator with
> blocking=true. Having two similar mediators will be create a bit of a
> confusion.
>

Can we use the Call mediator with blocking=true instead of Callout mediator
for the NTLM scenarios?

I have tried a NTLM scenario recently with Call mediator and blocking=true
in ESB 4.9.0 but it didn't work while the Callout mediator works fine for
the same scenario. I also assumed Call mediator would work but it didn't.
Can you please check and verify?



> *- DBReport/DBLookup mediator*
> These mediators offer very limited functionality and we always recommend
> to integrate with databases with the use of DSS (using a separate DSS or
> using DSS features inside ESB)
>
> *- Bean, POJOCommand, Spring* : Rarely used mediators and no active
> development happens on these.
> *- Router* : Same as filter mediator, so no use of having this.
> *- In, Out * : Rarely used and often not required with the new
> call/respond mediator approach.
>
> Any comments  on these or any other features that we should deprecate from
> 4.10 release?
>
> Thanks,
> Kasun.
>
> --
> Kasun Indrasiri
> Software Architect
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 77 556 5206
> Blog : http://kasunpanorama.blogspot.com/
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Removing RMSequence mediator from Developer Studio 3.8.0 ESB Palette

2015-09-11 Thread Harshana Eranga Martin
Hi Rajeevan,

In that case you may recommend to use an older stable version of DevS such
as DevS 3.7.0 or 3.7.1 since that supports full feature set of ESB 4.8.0.

Thanks and Regards,
Harshana

On Friday, September 11, 2015, Rajeevan Vimalanathan 
wrote:

> Hi,
>
> We have observed that RMSequence mediator has been removed from ESB 4.8.1.
> We also planning to remove that from ESB palette as well from Developer
> Studio 3.8.0 since synapse libraries have been updated accordingly.
> Here our concern is what if a user wants to develop ESB 4.8.0 stuff with
> Developer Studio 3.8.0? These features won't be supported anymore. In that
> case, can we suggest the user to use Developer Studio 3.7.1 which is a
> older version? Please appreciate your thoughts on this.
>
> Thanks,
> Rajeevan
>
> --
> Vimalanathan Rajeevan
> Software Engineer,
> WSO2, Inc. *http://wso2.com* 
> Lean.Enterprise.Middleware
>
> Mobile:
> *+94 773090875*
> LinkedIn:
> *https://www.linkedin.com/in/RajeevanVimalanathan
> *
>


-- 
Sent from Gmail Mobile for IPhone
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] https://wso2.org/jira/browse/TOOLS-3005

2015-08-19 Thread Harshana Eranga Martin
Hi Rajeevan,

The JDK bug you have pointed is from Open JDK not against the Oracle JDK.
Is there any evidence such issue is there in Oracle JDK as well?

Thanks and Regards,
Harshana

On Wednesday, August 19, 2015, Rajeevan Vimalanathan 
wrote:

> Hi John,
>
> We just tried to install JDK 7u51 (.dmg) on Mac OS X 10.10.5 but getting
> the same error as you got. We initially checked this issue (switching
> between source and design view issue) with Mac OS X 10.9.x and found out
> that is solved with 7u51. That's why we recommended you to use 7u51 as a
> workaround. But now JDK installation fails on Mac OS X 10.10.x because of a
> known issue with JDK installer[1] and it has been fixed with 8u20.
>
> [1] https://bugs.openjdk.java.net/browse/JDK-8027686
>
> Thanks,
> Rajeevan
>
> On Mon, Aug 17, 2015 at 6:30 PM, John Hawkins  > wrote:
>
>> I just tried to install 7u51 and it comes up with the following error -
>> Your system has Mac OS X Version 10.10.3. This product can be installed
>> on Version 10.7.3 or later.
>> then dumps me out of the install :-(
>> I'm guessing their installer has a problem with parsing the number '10'
>> :-( I can't see a way to install other than through the .dmg (I'm new to
>> mac but nothing comes back in google or the oracle site).
>> Do you have any experience of this sort of thing ?
>>
>> many thanks,
>> john.
>>
>> John Hawkins
>> Director: Solutions Architecture
>>
>>
>> On Sat, Aug 15, 2015 at 7:24 PM, Viraj Rajaguru > > wrote:
>>
>>> Hi John,
>>>
>>> Looking at the stack trace you provided in issue TOOLS-3005, I suspect
>>> that the same class loading issue described in TOOLS-2958[1] caused this
>>> issue.
>>>
>>> This class loading issue exists on MacOS with Java 7 update 55(7u55) and
>>> later updates. As a workaround we can use Java 7 update 51(7u51) with
>>> DevS 3.7.1 on Mac OS to avoid this issue.
>>>
>>> Can you please attach the full log($workspace/.metadata/.log) so that I
>>> can confirm the workaround.
>>>
>>> Thanks,
>>> Viraj.
>>>
>>> [1] - https://wso2.org/jira/browse/TOOLS-2958
>>>
>>> On Fri, Aug 7, 2015 at 1:31 PM, John Hawkins >> > wrote:
>>>
 Hi Folks,
 re $subject. I've had this problem for ages now and it takes hours of
 my day to work around it.

 I've spoken about it before on this mailing list but the conversation
 kinda trailed off. This bug is now hitting me hard again - can anyone give
 me some of there time to fix? I know other users have had this in the past
 so it's not just me I suspect :-(


 many thanks,
 John.


 John Hawkins
 Director: Solutions Architecture


 ___
 Dev mailing list
 Dev@wso2.org 
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Viraj Rajaguru
>>> Senior Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>>
>>> Mobile: +94 77 3683068
>>>
>>>
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org 
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Vimalanathan Rajeevan
> Software Engineer,
> WSO2, Inc. *http://wso2.com* 
> Lean.Enterprise.Middleware
>
> Mobile:
> *+94 773090875*
> LinkedIn:
> *https://www.linkedin.com/in/RajeevanVimalanathan
> *
>


-- 
Sent from Gmail Mobile for IPhone
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Devstudio ->new->project - bug?

2015-08-05 Thread Harshana Eranga Martin
Hi John,

One of the team member resolve it.

Thanks and Regards,
Harshana

On Wednesday, August 5, 2015, John Hawkins  wrote:

> Hi, thanks for the info.
> I tried closing it but I don't seem to have authority - would you mind
> please?
>
> John Hawkins
> Director: Solutions Architecture
>
>
> On Tue, Aug 4, 2015 at 6:30 PM, Harshana Eranga Martin <
> harshan...@gmail.com
> > wrote:
>
>> Hi John,
>>
>> This is actually not a bug rather a feature provided in the Dev Studio.
>>
>> In regular Eclipse Distributions or any other flavour of Eclipse you
>> cannot create SubProjects. But in order to simulate the real world
>> enterprise development scenarios we identified this as a requirement.
>> Specially when you are working with Maven build system this is a real
>> useful feature. Eclipse community has been requesting this feature for
>> years now. Considering all of above we implemented this feature for Dev
>> Studio.
>>
>> In case you are having trouble creating projects in the Workspace Root
>> level, CTRL + Click to unselect the currently selected project. Then go
>> ahead and create your projects as usual.
>>
>>
>>
>> Thanks and Regards,
>> Harshana
>> --
>> Harshana Eranga Martin
>>
>> Committer - Eclipse ECF: http://www.eclipse.org/ecf/
>> Blog: http://harshana05.blogspot.com
>> Profile: https://www.google.com/profiles/harshana05
>>
>> On 4 August 2015 at 18:10, John Hawkins > > wrote:
>>
>>> Hi Folks,
>>>
>>> This is something that's got me several times over recent weeks so I've
>>> created a JIRA for it to get your opinion please [1]. I've not seen any
>>> other product do this so I'm thinking that it's not the correct behaviour ?
>>>
>>> [1] https://wso2.org/jira/browse/TOOLS-3002
>>>
>>>
>>> many thanks,
>>> John.
>>>
>>>
>>>
>>>
>>>
>>>
>>> John Hawkins
>>> Director: Solutions Architecture
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org 
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>

-- 
Sent from Gmail Mobile for IPhone
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Devstudio ->new->project - bug?

2015-08-04 Thread Harshana Eranga Martin
Hi John,

This is actually not a bug rather a feature provided in the Dev Studio.

In regular Eclipse Distributions or any other flavour of Eclipse you cannot
create SubProjects. But in order to simulate the real world enterprise
development scenarios we identified this as a requirement. Specially when
you are working with Maven build system this is a real useful feature.
Eclipse community has been requesting this feature for years now.
Considering all of above we implemented this feature for Dev Studio.

In case you are having trouble creating projects in the Workspace Root
level, CTRL + Click to unselect the currently selected project. Then go
ahead and create your projects as usual.



Thanks and Regards,
Harshana
--
Harshana Eranga Martin

Committer - Eclipse ECF: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05

On 4 August 2015 at 18:10, John Hawkins  wrote:

> Hi Folks,
>
> This is something that's got me several times over recent weeks so I've
> created a JIRA for it to get your opinion please [1]. I've not seen any
> other product do this so I'm thinking that it's not the correct behaviour ?
>
> [1] https://wso2.org/jira/browse/TOOLS-3002
>
>
> many thanks,
> John.
>
>
>
>
>
>
> John Hawkins
> Director: Solutions Architecture
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Java based JWS and JWE Library to use with WSO2 Products

2015-07-06 Thread Harshana Eranga Martin
Hi All,

I'm using WSO2 API Manager 1.8.0 for a solution and looking in to using JWS
(JSON Web Signature) and JWE (JSON Web Encryption).

There are few JOSE libraries available in Java [1-4] and what is the
recommended library to use for generating and validating JWS and JWE with
WSO2 Stack?

[1]. Nimbus <http://connect2id.com/products/nimbus-jose-jwt>
[2]. JOSE4J <https://bitbucket.org/b_c/jose4j/wiki/Home>
[3]. CXF JOSE <http://cxf.apache.org/docs/jax-rs-jose.html>
[4]. Resteasy
<http://docs.jboss.org/resteasy/docs/3.0.6.Final/userguide/html/ch40.html>

Thanks and Regards,
Harshana
--
Harshana Eranga Martin

Committer - Eclipse ECF: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] DevStudio errors

2015-07-02 Thread Harshana Eranga Martin
Hi Susinda,

I think that is the plan. No one is using this now. So we are safe toremove
it now.

Thanks and Regards,
Harshana

On Friday, July 3, 2015, Susinda Perera  wrote:

>
>
> On Thu, Jul 2, 2015 at 10:31 PM, Viraj Rajaguru  > wrote:
>
>> Hi John,
>>
>> Currently there are two types of ESB editors in DevS 3.7.1.
>> 1. Tree structured ESB editor (deprecated)
>>
>
> @ Jasintha/Viraj
> Isnt it the time for us to remove the old esb editor? Can we do this for
> 3.8.0 release, i think this would reduce many issues.
>
> 2. Drag and drop ESB diagram editor (recommended)
>>
>> Deprecated tree structured ESB editor is outdated and we are not
>> maintaining it.(We are removing this deprecated editor in next DevS 3.8.0
>> release). You are getting saving issues/design to source switching issues
>> with old editor because it's outdated.
>>
>> So the solution here is to open ESB config files using recommended ESB
>> editor by just double clicking on the config file. (Double click event will
>> trigger config file to open in the recommended ESB diagram editor.) Using
>> other options such as Right click on config file --> "Open With" --> ESB
>> Editor, use "Ctrl" + "Shift" + R to open config files, will result to open
>> config files in deprecated ESB editor.
>>
>> It seems mentioned *java.lang.NullPointerException *exception is not the
>> root cause for the issues. Please attach the full error
>> log($workspace/.metadata/.log) to check the actual error.
>>
>> Thanks,
>> Viraj.
>>
>>
>>
>> On Thu, Jul 2, 2015 at 5:47 PM, John Hawkins > > wrote:
>>
>>> Sorry- I meant to put that in the original message !!
>>>
>>> Here is the "data" section of the error in eclipse
>>> eclipse.buildId=4.3.2.M20140221-1700
>>> java.version=1.7.0_79
>>> java.vendor=Oracle Corporation
>>> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
>>> Framework arguments:  -product org.eclipse.epp.package.jee.product
>>> -keyring /Users/wso2/.eclipse_keyring -showlocation
>>> Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product
>>> org.eclipse.epp.package.jee.product -keyring /Users/wso2/.eclipse_keyring
>>> -showlocation
>>>
>>>
>>> And I downloaded devstudio (3.7.1) right of the wso2.com pages (two
>>> days ago) - as a single, eclipse included, bundle - *not* installed into a
>>> pre-existing eclipse.
>>>
>>>
>>> thanks,
>>> John.
>>>
>>>
>>> John Hawkins
>>> Director: Solutions Architecture
>>>
>>>
>>> On Thu, Jul 2, 2015 at 12:39 PM, Harshana Eranga Martin <
>>> harshan...@gmail.com
>>> > wrote:
>>>
>>>> Hi John,
>>>>
>>>> What is the Dev Studio version you are using? Did you download it from
>>>> the Products listing in wso2.com? What is the JDK version you are
>>>> using?
>>>>
>>>> Thanks and Regards,
>>>> Harshana
>>>> --
>>>> Harshana Eranga Martin
>>>>
>>>> Committer - Eclipse ECF: http://www.eclipse.org/ecf/
>>>> Blog: http://harshana05.blogspot.com
>>>> Profile: https://www.google.com/profiles/harshana05
>>>>
>>>> On 2 July 2015 at 19:29, John Hawkins >>> > wrote:
>>>>
>>>>> Hi Folks,
>>>>>
>>>>> I'm getting a few errors with DevStudio which are really beginning to
>>>>> bug me. I can't see anyone else having these errors so I'll put it out
>>>>> there so you folks may be able to guide me as to what to do ( or you may
>>>>> have seen them before but google has let me down :-)
>>>>>
>>>>> Key problem is that eclipse/dev studio is struggling to save files
>>>>> e.g. an api.xml file or a proxy-service.xml file. This shows itself when I
>>>>> try to save a diagram or when I try to move from the diagram to the source
>>>>> view. The first error in the chain is...
>>>>>
>>>>>
>>>>>
>>>>> *Problems occurred when invoking code from plug-in:
>>>>> "org.eclipse.ui.workbench". which has the stacktrace of *
>>>>>
>>>>> *java.lang.NullPointerException*
>>>>> * at
>>>>> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.selectionCh

Re: [Dev] DevStudio errors

2015-07-02 Thread Harshana Eranga Martin
Hi John,

What is the Dev Studio version you are using? Did you download it from the
Products listing in wso2.com? What is the JDK version you are using?

Thanks and Regards,
Harshana
--
Harshana Eranga Martin

Committer - Eclipse ECF: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05

On 2 July 2015 at 19:29, John Hawkins  wrote:

> Hi Folks,
>
> I'm getting a few errors with DevStudio which are really beginning to bug
> me. I can't see anyone else having these errors so I'll put it out there so
> you folks may be able to guide me as to what to do ( or you may have seen
> them before but google has let me down :-)
>
> Key problem is that eclipse/dev studio is struggling to save files e.g. an
> api.xml file or a proxy-service.xml file. This shows itself when I try to
> save a diagram or when I try to move from the diagram to the source view.
> The first error in the chain is...
>
>
>
> *Problems occurred when invoking code from plug-in:
> "org.eclipse.ui.workbench". which has the stacktrace of *
>
> *java.lang.NullPointerException*
> * at
> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.selectionChanged(CompatibilityPart.java:435)*
> * at
> org.eclipse.ui.part.MultiPageSelectionProvider$1.run(MultiPageSelectionProvider.java:110)*
> * at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)*
> * at
> org.eclipse.ui.part.MultiPageSelectionProvider.fireEventChange(MultiPageSelectionProvider.java:108)*
> * etc.etc.*
>
>
>
>
> It then has three other errors along those lines.
>
> This may or may not be related but.What also happens is that files
> also don't look right in the esb editor.. They come out as a tree structure
> and not the nice diagram editor. In order to get around this (and get it
> opening in the nice diagram editor) I have to close the WSO2 ESB Graphical
> perspective and then re-open the Dev Studio (by going "Dev Studio->Open
> Dashboard". That solves the problem of the editor not showing the graphical
> view and also seems to solve the problem of file saving. However, it's not
> long before both problems come back - but I have no idea what sequence of
> events makes them come back !
>
> I realise this is a bit of a random problem - but it's really making
> editing a very long winded process so any help would be much appreciated !!
>
>
>
>
> many thanks
> John.
>
> John Hawkins
> Director: Solutions Architecture
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] Developer Studio 3.8.0 Alpha Released!

2015-06-25 Thread Harshana Eranga Martin
Hi,

I have tested the Alpha pack and found 2 issues. Might be worth looking to
fix them for Beta,

[1]. https://wso2.org/jira/browse/TOOLS-2918
[2]. https://wso2.org/jira/browse/TOOLS-2919

Thanks and Regards,
Harshana
--
Harshana Eranga Martin

Committer - Eclipse ECF: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05

On 25 June 2015 at 22:08, Sohani Weerasinghe  wrote:

> Hi All,
>
> We have WSO2 Developer Studio 3.8.0 Alpha ready to be downloaded at [1]
> and installed eclipse distributions available at [2].
>
> This release includes following features, tasks and bug fixes.
> Features:
>
>- [TOOLS-2893 <https://wso2.org/jira/browse/TOOLS-2893>] - Support for
>the exploded web-apps deployment
>
> Tasks:
>
>- [TOOLS-2828 <https://wso2.org/jira/browse/TOOLS-2828>] - Maven
>plugin for Inbound endpoints
>
> Bugs:
>
>- [TOOLS-2735 <https://wso2.org/jira/browse/TOOLS-2735>] - Cannot
>enable statistics for proxy services in ESB graphical editor
>- [TOOLS-2805 <https://wso2.org/jira/browse/TOOLS-2805>] - Dev studio
>needs to support the bind.processor.server parameter added to the ESB
>message processor
>- [TOOLS-2837 <https://wso2.org/jira/browse/TOOLS-2837>] - Server role
>is not clickable until the particular artifact is selected in CAPP editor
>- [TOOLS-2860 <https://wso2.org/jira/browse/TOOLS-2860>] - Registry
>Tree, Copy resource among the nodes is not working
>- [TOOLS-2884 <https://wso2.org/jira/browse/TOOLS-2884>] - Typo in
>Mediator Creation Wizard
>- [TOOLS-2890 <https://wso2.org/jira/browse/TOOLS-2890>] - Can't pack
>3rd party jars with JAX-WS and JAX-RS projects
>- [TOOLS-2892 <https://wso2.org/jira/browse/TOOLS-2892>] - Private
>Store value is not getting updated in the security form editor
>- [TOOLS-2904 <https://wso2.org/jira/browse/TOOLS-2904>] - Change
>generated pom in dataservice project
>
> Your feedback is most welcome. Please report issues at [3] and specify the
> affect version as 3.8.0 Alpha.
>
> [1] *https://svn.wso2.org/repos/wso2/scratch/DevS/
> <https://svn.wso2.org/repos/wso2/scratch/DevS/>*
> [2] https://svn.wso2.org/repos/wso2/scratch/DevS/Pre-installed-eclipse/
> [3] https://wso2.org/jira/browse/TOOLS
>
> Thanks and Regards,
> WSO2 Developer Studio Team
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] Developer Studio 3.8.0 M5 Released!

2015-06-21 Thread Harshana Eranga Martin
Hi Isuru,

Luna supports JDK 8. Thus the Dev Studio.

Thanks and Regards,
Harshana
--
Harshana Eranga Martin

Committer - Eclipse ECF: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05

On 22 June 2015 at 13:37, Isuru Perera  wrote:

> Thanks Sohani!
>
> Will DevS 3.8.0 run on Java 8? Since Eclipse Luna is working on Java 8
> [1], I'm hoping DevS 3.8.0 will also run smoothly on Java 8. Or do we still
> need Java 7 to run DevS?
>
> [1]
> https://www.eclipse.org/community/eclipse_newsletter/2014/june/article1.php
>
> On Thu, Jun 18, 2015 at 4:43 PM, Sohani Weerasinghe 
> wrote:
>
>> Hi Isuru,
>>
>> Yes, DevS 3.8.0 runs on top of  Eclipse Luna SR2.
>>
>> Thanks,
>> Sohani
>>
>> Sohani Weerasinghe
>> Software Engineer
>> WSO2, Inc: http://wso2.com
>>
>> Mobile  : +94 716439774
>> Blog :http://christinetechtips.blogspot.com/
>> Twitter  : https://twitter.com/sohanichristine
>>
>> On Thu, Jun 18, 2015 at 4:07 PM, Isuru Perera  wrote:
>>
>>> Does this support Eclipse Luna SR2, which was released on Feb 25, 2015
>>> [1]?
>>>
>>> When I asked last time [2] in dev@, I was told that Developer Studio
>>> will support only SR2 releases.
>>>
>>> Thanks!
>>>
>>> [1] http://wiki.eclipse.org/Simultaneous_Release
>>> [2] "[Dev] [Architecture] Developer Studio 3.7.0 RC 1 Released!"
>>> http://markmail.org/message/4rldazvea4muuj4s
>>>
>>> On Thu, Jun 18, 2015 at 1:07 PM, Sohani Weerasinghe 
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> We have WSO2 Developer Studio 3.8.0 M5 ready to be downloaded at [1].
>>>>
>>>> This release includes following features, tasks, sub-tasks and bug
>>>> fixes.
>>>> Features:
>>>>
>>>>- [TOOLS-2848 <https://wso2.org/jira/browse/TOOLS-2848>] - DevS
>>>>support for PublishEvent mediator
>>>>
>>>> Tasks:
>>>>
>>>>- [TOOLS-2830 <https://wso2.org/jira/browse/TOOLS-2830>] - Create
>>>>dashboard entry for Inbound endpoint
>>>>- [TOOLS-2867 <https://wso2.org/jira/browse/TOOLS-2867>] - Removing
>>>>the old ESB Editor
>>>>- [TOOLS-2875 <https://wso2.org/jira/browse/TOOLS-2875>] - Apply
>>>>security for BPEL process
>>>>
>>>> Sub-tasks:
>>>>
>>>>- [TOOLS-2874 <https://wso2.org/jira/browse/TOOLS-2874>] - XML
>>>>comment support - utilizing the support given from ESB side for comments
>>>>
>>>> Bugs:
>>>>
>>>>- [TOOLS-2750 <https://wso2.org/jira/browse/TOOLS-2750>] - Display
>>>>the selected DSS project in Data Service creation wizard
>>>>- [TOOLS-2753 <https://wso2.org/jira/browse/TOOLS-2753>] - Project
>>>>Wizard doesn't get closed when importing an already existing data 
>>>> service
>>>>- [TOOLS-2866 <https://wso2.org/jira/browse/TOOLS-2866>] - Rename "
>>>>WebContent " directory support for exploded webapp projects.
>>>>
>>>>
>>>> Your feedback is most welcome. Please report issues at [2] and specify
>>>> the affect version as 3.8.0 M5.
>>>>
>>>> [1] *https://svn.wso2.org/repos/wso2/scratch/DevS/
>>>> <https://svn.wso2.org/repos/wso2/scratch/DevS/>*
>>>> [2] https://wso2.org/jira/browse/TOOLS
>>>>
>>>> Thanks and Regards,
>>>> WSO2 Developer Studio Team
>>>> Sohani Weerasinghe
>>>> Software Engineer
>>>> WSO2, Inc: http://wso2.com
>>>>
>>>> Mobile  : +94 716439774
>>>> Blog :http://christinetechtips.blogspot.com/
>>>> Twitter  : https://twitter.com/sohanichristine
>>>>
>>>> ___
>>>> Architecture mailing list
>>>> architect...@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>> Isuru Perera
>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>> Contact: +IsuruPereraWSO2
>>> <https://www.google.com/+IsuruPereraWSO2/about>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2 <https://www.google.com/+IsuruPereraWSO2/about>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] Developer Studio 3.8.0 M1 Released!

2015-05-25 Thread Harshana Eranga Martin
Hi Gayan,

Does Dev Studio 3.8 version going to support Eclipse Luna SR2 and JDK 1.8.0
version?

Thanks and Regards,
Harshana
--
Harshana Eranga Martin

Committer - Eclipse ECF: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05

On 19 May 2015 at 01:17, Gayan Yalpathwala  wrote:

> Hi All,
>
> We have WSO2 Developer Studio 3.8.0 M1 ready to be downloaded at [1].
>
> This release includes following features, improvements, tasks and bug
> fixes.
>
> Features:
>
> [TOOLS-2672] <https://wso2.org/jira/browse/TOOLS-2672> - Apply Security
> for Services
> [TOOLS-2800] <https://wso2.org/jira/browse/TOOLS-2800> - Support for
> adding carbon 4.4.0 based servers into DevS sever view
>
> Improvements:
>
> [TOOLS-2768] <https://wso2.org/jira/browse/TOOLS-2768> - Introduce a
> parameter to define user roles for services
> [TOOLS-2727] <https://wso2.org/jira/browse/TOOLS-2727> - Doesn't allow to
> add multiple .dbs into a single Data Service Project
> [TOOLS-2718] <https://wso2.org/jira/browse/TOOLS-2718> - The
> wso2-maven-release-pre-prepare-plugin does not support baic authentication
> [TOOLS-2793] <https://wso2.org/jira/browse/TOOLS-2793> - Remove userstore
> form registry tree in DevS
>
> Tasks:
>
> [TOOLS-2739] <https://wso2.org/jira/browse/TOOLS-2739> - Add a new option
> to the dashboard to create a Data Service Project
> [TOOLS-2687] <https://wso2.org/jira/browse/TOOLS-2687> - Design the form
> editor for ws-security policy
> [TOOLS-2686] <https://wso2.org/jira/browse/TOOLS-2686> - Serialization
> and Deserialization between Security Form Editor and Source view
> [TOOLS-2685] <https://wso2.org/jira/browse/TOOLS-2685> - Create a multi
> page editor to represent ws-policy file
> [TOOLS-2684] <https://wso2.org/jira/browse/TOOLS-2684> - Create a policy
> file and save as a registry resource
> [TOOLS-2783] <https://wso2.org/jira/browse/TOOLS-2783> - Moving to
> Eclipse Luna
> [TOOLS-2678] <https://wso2.org/jira/browse/TOOLS-2678> - Remove all
> snapshot dependencies
>
> Bugs:
>
> [TOOLS-2781] <https://wso2.org/jira/browse/TOOLS-2781> - Backward
> compatibility of 3.7.1 with the 3.7.0 projects
> [TOOLS-2780] <https://wso2.org/jira/browse/TOOLS-2780> - Opening API with
> Dev-Studio shows duplicate API Handlers
> [TOOLS-2777] <https://wso2.org/jira/browse/TOOLS-2777> - Allowing to
> proceed when there is no Data Service Project specified when creating a
> Data Service
> [TOOLS-2776] <https://wso2.org/jira/browse/TOOLS-2776> - Cannot create
> proxy service with name having numeric at the end
> [TOOLS-2757] <https://wso2.org/jira/browse/TOOLS-2757> - ESB Rest API
> does not allow to save protocol type http/https
> [TOOLS-2754] <https://wso2.org/jira/browse/TOOLS-2754> - When creating a
> Data Service display only the Data Services Projects
> [TOOLS-2751] <https://wso2.org/jira/browse/TOOLS-2751> - Handle Import
> Data Service option in Data Service creation
> [TOOLS-2749] <https://wso2.org/jira/browse/TOOLS-2749> - Pop up the DSS
> project creation wizard when click on the 'Create DSS Project' link in Data
> Service creation
> [TOOLS-2748] <https://wso2.org/jira/browse/TOOLS-2748> - Include created
> .dbs files as dependencies when creating CAPP
> [TOOLS-2740] <https://wso2.org/jira/browse/TOOLS-2740> - Allow to browse
> the DSS project when creating a new Data Service
> [TOOLS-2734] <https://wso2.org/jira/browse/TOOLS-2734> - Adding an empty
> tag for policy key when creating a data service
> [TOOLS-2694] <https://wso2.org/jira/browse/TOOLS-2694> - Formatting error
> on services.xml file created for an Axis2 service project
> [TOOLS-2715] <https://wso2.org/jira/browse/TOOLS-2715> - Typo in
> DevStudio in server shut down message
> [TOOLS-2692] <https://wso2.org/jira/browse/TOOLS-2692> - Rampart
> configuration is not getting serialized when the security scenario is
> Kerberos Authentication
> [TOOLS-2690] <https://wso2.org/jira/browse/TOOLS-2690> - Delay in saving
> the changes when moving from design view to source view
> [TOOLS-2689] <https://wso2.org/jira/browse/TOOLS-2689> - Serialize and
> deserialize the updated values on page change in the security form editor
> [TOOLS-2688] <https://wso2.org/jira/browse/TOOLS-2688> - Deserialization
> issues when updating the source view in Security Form Editor
> [TOOLS-2674] <https://wso2.org/jira/browse/TOOLS-2674> - Unable to
> redeploy CApp from within Developer Studio
> [TOOLS-2669] <https://wso2.org/jira/browse/TOOLS-2669> - When creating
> JAX-RS proje

Re: [Dev] Inconsistency between maven-car-plugin and wso2-esb-sequence-plugin

2015-05-04 Thread Harshana Eranga Martin
Hi Manu,

This is not an issue but the way it is designed. The way you have organised
your project is incorrect, Composite project is the distribution module but
not an aggregator module. It is similar to EAR file. So when you try to
build an EAR with maven, if the WAR file you include in your EAR is not
present, Maven will throw an compilation issue for the missing artifact.
Similarly Composite project is collecting the artifacts from the Maven
repository. It should not depend on the file system paths in any sort.

So the solution is to use the Maven Multi Module Project, which is the
aggregator module as the parent project and put the composite project and
ESB project as children of that as Viraj has rightly mentioned.


Thanks and Regards,
Harshana
--
Harshana Eranga Martin
Senior Software Engineer
Asian Mobile Banking
Web: https://www.commbank.com.au/ <http://wso2.com>

ECF Committer: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05

On 2 May 2015 at 20:31, Manuranga Perera  wrote:

> I have created a composite project and ESB configure project in
> Dev-Studio. Deployment via Dev-Studio works. But I can't do maven built
> form the top.
>
> The issue is that,
>
> 1) config project creates files in /target/artifacts but composite
> project looks in /target/capp/artifacts .
> 2) composite looks at /target/capp/artifacts/sequence/MySequence
> /target/MySequence-1.0.0.xml but real path is
> /target/artifacts/sequence/MySequence/MySequence.xml
>
> is this a know issue? please share any ideas on how to resolve.
>
> version info:
> maven-eclipse-plugin:2.9
> wso2-esb-proxy-plugin:2.0.10
> wso2-esb-sequence-plugin:2.0.10
> maven-car-plugin:2.0.10
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Apply Security for Services via Developer Studio

2015-01-12 Thread Harshana Eranga Martin
Hi Sohani,

In order to  create the policy file via DevS, is there an Editor in DevS
which can generate ws-policy files conforming to ws-policy [1] franework?

[1]. http://schemas.xmlsoap.org/ws/2004/09/policy/

Thanks and Regards,
Harshana
On 13 Jan 2015 13:22, "Sohani Weerasinghe"  wrote:

> Hi,
>
> An improvement for applying security for web services by associating with
> WSDLs has been started. The security policy will be created via Developer
> Studio, basically for Axis2Service projects, ESB config projects and DSS
> projects. The security policy file will be saved as a registry resource and
> will be deployed via CAPPs.
>
> Thanks,
> Sohani
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Carbon OSGi bundle ID lost upon uninstalling and reinstalling same bundle

2014-08-25 Thread Harshana Eranga Martin
Hi Suhan,

This is the expected behavior and it does not cause any problem in anyway.

Thanks and Regards,
Harshana
--
Harshana Eranga Martin
Senior Software Engineer
Asian Mobile Banking
Web: https://www.commbank.com.au/ <http://wso2.com>

ECF Committer: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05


On 25 August 2014 15:39, Suhan Dharmasuriya  wrote:

> Hi,
>
> I was following the tutorials[1], [2] regarding OSGi bundle installing and
> uninstalling.
> Just out of curiosity I uninstalled and reinstalled the same bundle.
>
> before uninstallation...
> 154 ACTIVE  tomcat-ha_7.0.34.wso2v1
> 155 ACTIVE  tribes_7.0.34.wso2v1
> 156 ACTIVE  woden_1.0.0.M8-wso2v1
> 157 ACTIVE  wsdl4j_1.6.2.wso2v4
> 158 ACTIVE  wss4j_1.5.11.wso2v6
> 159 ACTIVE  xmlbeans_2.3.0.wso2v1
> 160 ACTIVE  org.wso2.carbon.student.mgt_4.2.0
>
> Uninstalled...
> osgi> uninstall 160
>
> Bundle status...
> 154 ACTIVE  tomcat-ha_7.0.34.wso2v1
> 155 ACTIVE  tribes_7.0.34.wso2v1
> 156 ACTIVE  woden_1.0.0.M8-wso2v1
> 157 ACTIVE  wsdl4j_1.6.2.wso2v4
> 158 ACTIVE  wss4j_1.5.11.wso2v6
> 159 ACTIVE  xmlbeans_2.3.0.wso2v1
>
> Reinstallation...
> osgi> install file:/WSO2/temp/org.wso2.carbon.student.mgt-4.2.0.jar
> Bundle id is 161
> ClassLoader  null
> RegisteredServices   null
> ServicesInUsenull
> Fragmentsnull
> LoaderProxy  org.wso2.carbon.student.mgt; bundle-version="4.2.0"
> ProtectionDomain null
> Key  161
> Location file:/WSO2/temp/org.wso2.carbon.student.mgt-4.2.0.jar
> State2
> Bundle 161|Installed  |1|org.wso2.carbon.student.mgt
> (4.2.0)
> BundleContextnull
> BundleId 161
> SymbolicName org.wso2.carbon.student.mgt
> BundleData   org.wso2.carbon.student.mgt_4.2.0
> KeyHashCode  161
> StateChangingnull
> BundleDescriptionorg.wso2.carbon.student.mgt_4.2.0
> Framework
>  org.eclipse.osgi.framework.internal.core.Framework@371ce84e
> ResolutionFailureException org.osgi.framework.BundleException: The bundle
> "org.wso2.carbon.student.mgt_4.2.0 [161]" could not be resolved
> Revisions[org.wso2.carbon.student.mgt_4.2.0]
> StartLevel   1
> Version  4.2.0
> LastModified 1408949755925
> Headers   Bnd-LastModified = 1408938710105
>  Build-Jdk = 1.7.0_67
>  Built-By = suhanr
>  Bundle-ManifestVersion = 2
>  Bundle-Name = org.wso2.carbon.student.mgt
>  Bundle-SymbolicName = org.wso2.carbon.student.mgt
>  Bundle-Version = 4.2.0
>  Created-By = Apache Maven Bundle Plugin
>  Export-Package =
> org.wso2.carbon.student.mgt;version="4.2.0";uses:="org.wso2.carbon.student.mgt.data",org.wso2.carbon.student.mgt.data;version="4.2.0"
>  Manifest-Version = 1.0
>  Require-Capability = osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.5))"
>  Tool = Bnd-2.3.0.201405100607
>
> Bundle status...
> 154 ACTIVE  tomcat-ha_7.0.34.wso2v1
> 155 ACTIVE  tribes_7.0.34.wso2v1
> 156 ACTIVE  woden_1.0.0.M8-wso2v1
> 157 ACTIVE  wsdl4j_1.6.2.wso2v4
> 158 ACTIVE  wss4j_1.5.11.wso2v6
> 159 ACTIVE  xmlbeans_2.3.0.wso2v1
> 161 INSTALLED   org.wso2.carbon.student.mgt_4.2.0
>
> Start the bundle...
> osgi> start 161
> osgi> [2014-08-25 12:26:37,587]  INFO
> {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Deploying Axis2
> service: StudentManager {super-tenant}
>
> Bundle status...
> 154 ACTIVE  tomcat-ha_7.0.34.wso2v1
> 155 ACTIVE  tribes_7.0.34.wso2v1
> 156 ACTIVE  woden_1.0.0.M8-wso2v1
> 157 ACTIVE  wsdl4j_1.6.2.wso2v4
> 158 ACTIVE  wss4j_1.5.11.wso2v6
> 159 ACTIVE  xmlbeans_2.3.0.wso2v1
> 161 ACTIVE  org.wso2.carbon.student.mgt_4.2.0
>
> Each time I perform the operation, I'm loosing the previous bundle ID and
> new ID is assigned again.
> 154 ACTIVE  tomcat-ha_7.0.34.wso2v1
> 155 ACTIVE  tribes_7.0.34.wso2v1
> 156 ACTIVE  woden_1.0.0.M8-wso2v1
> 157 ACTIVE  wsdl4j_1.6.2.wso2v4
> 158 ACTIVE  wss4j_1.5.11.wso2v6
> 159 ACTIVE  xmlbeans_2.3.0.wso2v1
> 162 INSTALLED   org.wso2.carbon.student.mgt_4.2.0
>
> Is this the expected behaviour? Is it acceptable to have gaps between
> bundle IDs?
>
> Please note that this has no impact to the workflow, just an observation.
>
> [1] http://wso2.com/library/articles/getting-started-wso2-carbon/#carbon
> [2]
> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>
> Thanks and Regards,
> Suhan
> --
> Suhan Dharmasuriya
> Software Engineer - Test Automation
>
> *WSO2, Inc. *
>
> lean . enterprise . middleware
> Tel: +94 112 145345
> Mob: +94 779 869138
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2014-06-25 Thread Harshana Eranga Martin
Hi Isuru,

Unfortunately the answer would be No!

As a practice we always migrate only to a SR2 version of a new Eclipse
release. It has been proven to be effective in the past due to bug fixes in
SR2 releases and thus will be the case for future as well IMO.

Thanks and Regards,
Harshana
On 26 Jun 2014 00:35, "Isuru Perera"  wrote:

> Eclipse Luna is released today [1]. When can we expect the Developer
> Studio to support Eclipse Luna?
>
> [1] http://www.eclipse.org/
>
>
> On Tue, Jun 17, 2014 at 10:17 PM, Gayan Yalpathwala 
> wrote:
>
>> Hi Isuru,
>>
>> Developer Studio 3.7.0 runs on top of Eclipse Kepler and will not support
>> Eclipse Luna.
>>
>> Thanks,
>>
>>
>>  On Tue, Jun 17, 2014 at 11:23 PM, Isuru Perera  wrote:
>>
>>>  Hi,
>>>
>>> Can we install Developer Studio 3.7.0 to Eclipse Luna? Eclipse Luna RC
>>> packages [1] are already available and I hope Developer Studio 3.7.0 will
>>> be compatible.
>>>
>>> [1] http://www.eclipse.org/downloads/index-developer.php
>>>
>>>
>>> On Tue, Jun 10, 2014 at 1:42 AM, Susankha Nirmala 
>>> wrote:
>>>
 Hi All,

   We have WSO2 Developer Studio 3.7.0 RC 1 ready to be downloaded at
 [1] and installed eclipse distributions available at [2]. This release
 includes following bug fixes, improvements and tasks.

 *Bug*

 [TOOLS-2261] - [Assignment Activity] XPath Expression auto fill is not
 working and also it's missing the 'Expression Language' selection drop down
 list
 [TOOLS-2448] - Dev Studio doesn't support DSS 3.2.0 cassandra data stax
  configuration
 [TOOLS-2451] - The property name should be 'Cache Type' instead of
 'Cache Action'
 [TOOLS-2452] - Connection type should be 'Pool' instead of
 DB_Connection in DBLOOKUP and DBREPORT
 [TOOLS-2453] - Composite application project pom editor has been
 overridden by default maven pom editor
 [TOOLS-2454] - 'initAxis2ClientOptions' is missing in Callout Mediator
 [TOOLS-2455] - Properties are missing in the Property Window of the
 Failover Endpoint
 [TOOLS-2456] - 'Session Timeout' property is missing in LoadBalance
  Endpoint
 [TOOLS-2457] - Unnecessary properties 'WSDL Definition' and 'WSDL
 Description' in WSDLEndpoint
 [TOOLS-2458] - In Local entry properties view 'Value Type' property
 should be renamed properly with the values
 [TOOLS-2459] - 'Condition Type' property's values should be inline with
 management console in Filter Mediator
 [TOOLS-2461] - In Send Mediator only sequences should list down under
 'Static Receiving Sequence' property
 [TOOLS-2462] - App Factory Login window always gets default Host URL
 [TOOLS-2464] - In HTTPEndpoint unwanted properties are displayed
 [TOOLS-2468] - Bean Mediator's property window is not properly organized
 [TOOLS-2469] - Property Names of 'Format' and 'Format key' should be
 renamed accordingly in PayloadFactoryMediator
 [TOOLS-2470] - Title of the variable's window ('Variables' property
 window) of the XQuery Mediator is not descriptive
 [TOOLS-2471] - Entitlement Mediator property issues
 [TOOLS-2472] - Entitlement mediator's 'Entitlement Client Type' and
 'CallBack Class' values are not serializing properly
 [TOOLS-2473] - Local entry Properties view issues
 [TOOLS-2476] - Property Mediator's Property data type OM needs an
 inline editor
 [TOOLS-2477] - Property Mediator property isssues
 [TOOLS-2478] - Unnecessary property 'Consumer Receive Timeout' in
 Message Store
 [TOOLS-2479] - Schedule Task property issues
 [TOOLS-2480] - 'Endpoint Properties Configuration' dialog property type
 should support only LITERALS
 [TOOLS-2481] - App Factory tools - Fix errors that appears when a
 project is opened in Dev Studio
 [TOOLS-2485] - In Conditional Route branches window, when existing
 routes are removed, evaluator expression does not get removed
 [TOOLS-2487] - Conditional Router property name should be changed
 [TOOLS-2488] - In Validate Mediator entire row doesn't get removed
 [TOOLS-2492] - Log Mediator's property window doesn't pop up when the
 log separator is null
 [TOOLS-2493] - Can add more than one endpoint inside Call Mediator
 [TOOLS-2495] - Feature value does not get deserialized in the Validate
 Mediator
 [TOOLS-2497] - Bean mediator validation fails for empty string values
 [TOOLS-2498] - Registry Resource wizard allow to select template data
 mapper type
 [TOOLS-2499] - move messageStore icon into middle of the graphical
 editor
 [TOOLS-2502] - remove schedule task connection handlers
 [TOOLS-2507] - Message processor wizard icon need to be same as as they
 are in graphical view
 [TOOLS-2508] - NPE due to message processor plugin ID typo
 [TOOLS-2510] - Exception thrown while exporting a web application
 [TOOLS-2514] - BPEL deploy.xml editor crashes when saving
 

Re: [Dev] Hiding packages in OSGI bundle

2014-04-26 Thread Harshana Eranga Martin
Hi Sohani,

When a package name contains the "internal", they are automatically matked
as private packages by the maven felix plugin.

Hence declaring them as private package is redundant but makes no harm
either.

Thanks and Regards,
Harshana
On 26 Apr 2014 15:56, "Sohani Weerasinghe"  wrote:

> Hi All,
>
> When I want to expose only the interface (eg: package is org.wso2.carbon.
> abc) and keep it's implementation (eg: package is
> org.wso2.carbon.abc.internal) as private, the Export package in pom.xml
> is as follows
>
> 
> !org.wso2.carbon.abc.internal,
> org.wso2.carbon.abc.*
> 
>
> Since I have included the package which is private with the negation (!) as 
> shown above do I need to include the private package as well as shown below?
>
> org.wso2.carbon.abc.internal.*
>
> Thanks,
>
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] StratosLive Tenant Registration Fails

2014-03-07 Thread Harshana Eranga Martin
Hi All,

I've just tried to register a new tenant in SLive and it failed saying the
capcha is not a match. But i've received the validation email as well.

Please check whether it is working as expected.

Thanks and Regards,
Harshana
--
Harshana Eranga Martin
Associated Technical Lead
WSO2 Inc.
Web: http://wso2.com

ECF Committer: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev