Thursday, May 28, 2015

Hi all in this post I will explain you how we can use WSO2 ESB to send files across network via SMB (Server Message Block) protocol. WSO2 ESB has neat features like vfs and well equipped in many protocols including SMB. So in this post I will show you how to read a file and finally how to send it via VFS to an SMB Windows endpoint. In order to VFS to work you need to enable VFS receivers and senders in axis2.xml. To do so navigate to <ESB_HOME>/repository/conf/axis2/axis2.xml...

Monday, May 25, 2015

PTT (Pass Through Transport) transport is the default transport that is shipped with ESB (At the time of this post ESB 4.9.0) It is the recommended transport which brings blistering fast performance to WSO2 ESB, you can read more about this from here. But the old HTTP-NIO transport also ships with the ESB by default and it's disable in the default pack, in some scenarios you might need to enable this transport. HTTP-NIO transport is a...
In this post I'll explain you how to change the defalut ports of WSO2 Products to system default ports 443 and 80. You can change the ports used for services (i.e. APIs , proxies) by changing the http and https transport receivers declared in  <PRODUCT>/repository/conf/axis2/axis2.xml  as shown below. HTTP Receiver <transportReceiver name="http" class="org.apache.synapse.transport.passthru.PassThroughHttpListener"> <parameter...

Tuesday, May 19, 2015

Although XPATH 2.0 is supported in WSO2 ESB, it is not enabled by default. In order to use this you have to enable XPATH 2.0. To enable XPath 2.0 functions, we have to uncomment following entry in the synapse.properties file. which is located at <ESB_HOME>/repository/conf directory synapse.xpath.dom.failover.enabled=true After enabling xpath 2.0, you will able to use xpath functions like "codepoint-equal()" in your synapse configuration. If...

Saturday, May 9, 2015

There might be some use cases where a user wants to expose WSO2 API-Manager store over HTTP. Users can access the store via HTTP endpoint, but when the user is trying to login the user will be directed to the HTTPS endpoint. And this is not recommended as well, if the Store is used over HTTP when authenticating the user credentials will be sent to the back-end as plain text. This can be a major sicurity issue when it comes to a production environment....
Subscribe to RSS Feed Follow me on Twitter!