[Dev] [GSoC2015] Proposal 18: Extensible Visual Composer Siddhi Language

2015-03-15 Thread Chaya Sandamali
Hi,

I am Chaya Sandamali, an Undergraduate from Department of Computer Science
and Engineering, University of Moratuwa. I'm currently working as an intern
at WSO2.

I did a CEP based project(Templating Support For Siddhi Queries) as my fast
track training project. Therefore I am already familiar with Siddhi and
CEP. I have also worked with HTML,JavaScript in my previous projects at the
university and familiar with D3 as well.

I am interested in the following proposal[1] and looking forward to
contribute for the project. Please let me know if we could have a
discussion on $subject.

[1] -
https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal18:ExtensibleVisualComposerSiddhiLanguage

Thank you.

Regards,
Chaya Sandamali
Software Engineering Intern
WSo2 Inc
Mobile: +94714905772
LinkedIn: http://lk.linkedin.com/pub/chaya-sandamali/90/694/a59/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Save and delete files from CEP registry

2015-02-05 Thread Chaya Sandamali
Hi,
we found that soapUI does not pass xml files as it is. We will try to call
the service through a stub.

Thanks a lot for the help.

Chaya Sandamali
Software Engineering Intern
WSo2 Inc
Mobile: +94714905772
LinkedIn: http://lk.linkedin.com/pub/chaya-sandamali/90/694/a59/

On Thu, Feb 5, 2015 at 5:05 PM, Lakshman Udayakantha lakshm...@wso2.com
wrote:

 Hi Prabushi,

 Seems like the XML you posted is a valid one. But it seems, when you pass
 it to the deployTemplateConfig() method, You pass an invalid xml. Could
 you check the parsing XML to that method is a valid one by debugging the
 code. You can check, are there any xml declarations more than one in xml or
 are there any unusual characters before xml declaration like empty spaces.

 Thanks


 On Thu, Feb 5, 2015 at 4:36 PM, Prabushi Samarakoon prabus...@wso2.com
 wrote:

 Hi,
 As the input we are giving a string like,

 ?xml version=1.0 encoding=UTF-8?
 TemplateConfig name=TemperatureConfiguration
 from=TemperatureAnalysis
 Descriptiondescription of temperature analysis/Description
 Templates
 Template type=Condition name=template1
 ConditionParameters name=condition
 OR order=root
 AND order=left
 Parameter order=left
 ![CDATA[x60]]
 /Parameter
 Parameter order=right
 ![CDATA[x600]]
 /Parameter
 /AND
 Parameter order=right
 ![CDATA[x!=100]]
 /Parameter
 /OR
 /ConditionParameters
 /Template
 Template name=template2 type=Condition
 ConditionParameters name=condition
 Parameter order=root
 ![CDATA[x60]]
 /Parameter
 /ConditionParameters
 /Template
 Template name=template3 type=AverageTemperature
 ConditionParameters name=condition
 Parameter order=root
 ![CDATA[x60]]
 /Parameter
 /ConditionParameters
 Parameters
 DirectParameter name=inTime60 sec/DirectParameter
 DirectParameter
 name=averageMinTemperature60/DirectParameter
 /Parameters
 /Template
 /Templates
 TemplateWiring
 or type=root
 and type=left
 template type=lefttemplate1/template
 template type=righttemplate2/template
 /and
 or type=right
 template type=lefttemplate1/template
 template type=righttemplate3/template
 /or
 /or
 /TemplateWiring
 /TemplateConfig

 On Thu, Feb 5, 2015 at 4:31 PM, Lakshman Udayakantha lakshm...@wso2.com
 wrote:

 Hi Prabushi,

 According to exception and [1], It seems your XML cannot parse by that
 method. can you post the XML you trying to parse?

 [1]
 http://stackoverflow.com/questions/19889132/xslthe-processing-instruction-target-matching-xxmmll-is-not-allowed

 Thanks

 On Thu, Feb 5, 2015 at 4:01 PM, Prabushi Samarakoon prabus...@wso2.com
 wrote:

 Complete exception

 [2015-02-05 15:21:03,740] ERROR - {RPCInOnlyMessageReceiver}  Exception
 occurred while trying to invoke service method deployTemplateConfig
 org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException:
 ParseError at [row,col]:[6,51]
 Message: The processing instruction target matching [xX][mM][lL] is
 not allowed.
 at
 org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
 at
 org.apache.axiom.om.impl.llom.OMElementImpl.buildNext(OMElementImpl.java:653)
 at
 org.apache.axiom.om.impl.llom.OMElementImpl.getFirstOMChild(OMElementImpl.java:670)
 at
 org.apache.axiom.om.impl.llom.OMElementImpl.getText(OMElementImpl.java:781)
 at
 org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(SimpleTypeMapper.java:77)
 at
 org.apache.axis2.databinding.utils.BeanUtil.getSimpleTypeObjectChecked(BeanUtil.java:992)
 at
 org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:832)
 at
 org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:765)
 at
 org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:674)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:153)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:206)
 at
 org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172