Profile cover photo
Profile photo
Himasha Guruge
38 followers
38 followers
About
Himasha's posts

Post has attachment
Add failed endpoint name and address through fault sequence in WSO2 ESB
When generating custom fault sequence messages, one common use case is when you need to send the endpoint name and endpoint address of the failed endpoint back to the client. This can be done by getting the value of two properties which are 'last_endpoint' ...

Post has attachment
Firefox issue with javascript functions directly called on <href> tags
If you try adding a javascript method on a html link like below, You will run into issues when trying out in firefox. <a href="javascript:functionA();" /> This is because if this functionA returns some value (true/false) other than undefined, it will be app...

Post has attachment
Creating a custom mode and worker files in Ace editor
[1] and [2]  contain a good example on how to create your own worker code , and integrating the worker to the mode with a worker client. The problem I faced was  though this content was added to two new files, syntax validation was not working as the worker...

Post has attachment
XSLT stylesheet template to add a namespace with namespace prefix
If you need to write down a xslt stylesheet ,and you need to add a namespace to a certain element with a namespace prefix , you could write a template like below. In this it will add the namespace to <UserRequest> node. <xsl:template match="UserRequest">   ...

Post has attachment
Handeling namespaces in xpath expressions of WSO2 ESB payload mediator
You could checkout payload factory mediator of WSO2 ESB in https://docs.wso2.com/display/ESB500/PayloadFactory+Mediator .  If you need to provide an xml input that has namespaces (other than default namespace) included, and you need to access some node of t...

Post has attachment
Why are human tasks important for your business process?
Business processes can be considered as workflows ranging from a vacation approval process to a pizza ordering process. With WSO2 Business Process Server , you can easily create these workflows by creating your own BPEL processes.  BPEL is a standard to mod...

Post has attachment
Manually create JWKS_URI for public certificates
A JWK is a JSON representation of a cryptographic key.  More details on this can be found in https://tools.ietf.org/html/rfc7517#section-4 . Following blog would give out the steps on how you can manually extract modulus and exponent values of a public cert...

Post has attachment

Post has attachment
Adding LoadBalancer Endpoints in WSO2 Developer Studio 3.8.0
Wso2 Dev Studio can be used to create different carbon related projects, including ESB projects. https://docs.wso2.com/display/DVS380/Creating+ESB+Artifacts contains the basic information on how to add ESB artifacts. From the different endpoints we can add,...

Post has attachment
Adding API name to JWT Token WSO2 API Manager 1.8.0
If we need to set additional claims to the JWT token, we need to implement a custom JWT token generator as explained in [1].  Assume you need to set the API Name to the JWT token. You could do it as below in your custom JWT Token generator. public Map<Strin...
Wait while more posts are being loaded