How can I create a WSO2 BPM as a service? - wso2

I wanted to know:
How to create the service of the deployed bpm in WSO2 BPS server?
As I want to trigger this whole BPM as a service from my customised HTML UI.

Hope you mean BPMN workflow as "deployed bpm". After deploying BPMN in WSO2 BPS, You need to use BPMN Rest API to start an instance of the process and to manage and update necessary tasks. Please refer BPMN REST API for detailed information
Thanks,
Mili

Related

Disable analzer in WSO2 API Manager

So quick question regarding WSO2 API manager and BAM from what I can tell Bam saves the basic requests to the API manager to the DB and the Publisher then reads from the DB when displaying the stats. At what point in the analyzer part of BAM in action ie Casandra and Hadoop. Or does that just get used if I write my own hive queries?
Thanks
When you integrate WSO2 BAM with API Manager for Analytics following happens.
API Manager publishers data using thrift for BAM.
There are hive scripts which is included in the toolbox. There are scheduled and when they are running summarized data will be inserted into the databases.

WSO2 integration with TCP and Restservice

I am new to WSO2 and we are planing to use WSO2 in our product. Our requirement is to communicate with other system through TCP(socket) and rest web services. I did not find any help regrading to my requirement.
I need a step by step guide or any tutorial about my requirements or any sample projet. Thanks
You can use WSO2 ESB to connect systems with TCP and HTTP(rest). You can go through WSO2 ESB documents and find enough samples on that. TCP[1][2], rest api[3]. If you are going to manage the rest apis then you can use the WSO2 API Manager[4]
[1]https://docs.wso2.com/display/ESB500/Setting+Up+the+ESB+Samples#SettingUptheESBSamples-ConfiguringWSO2ESBtousetheTCPtransport
[2] https://docs.wso2.com/pages/viewpage.action?pageId=33136069
[3] https://docs.wso2.com/display/ESB500/Using+REST+with+APIs
[4] https://docs.wso2.com/api-manager-documentation

Creating web service with Developer Studio and create its API with API Manager

I want to create a web service with WSO2 Developer Studio but I don't know which project I have to use. My final goal is to create an API using the WSO2 API Manager and implement it passing the created web service as backend endpoint.
Do I should create an Axis2 web service, a Java Bean, or maybe another artifact?
Thanks and best regards.
Using DevStudio you can built axis2 services and JAX-WS services.
[1] - https://docs.wso2.com/display/DVS370/Creating+an+Axis2+Project
[2] - https://docs.wso2.com/display/DVS370/Creating+JAX-WS+and+JAX-RS+Service+Projects
For api creation in api manager you can do it via the webconsole provided in APIManager
you can use Axi2 web service
1.https://docs.wso2.com/display/DVS320/Creating+an+Axis2+Project
You do not need developerstudio to create a webservice. Webservices can be created using an IDE/IDEA..
You can try the existing samples in WSO2AS and deploy them. Make them as BE services for the APIs which you publish from WSO2APIManager.

WSO2 API Manager Mashup

Is there any way to create a mash up service using WSO2 API Manager? My goal is to create two Web services, then generate some data on which business logic is applied. This final data then needs to be fed into a third Web service.
I think you can use Apache Camel to create a mashup API easily.

Is there a way to find out if a updated a service in WSO2 application server?

I have a simple question if it make sense in the context of WSO2 Application server.
I want to write a module, which tells me if i updated a service. The service is an axis2 SOAP service. I know how to write modules for axis2 services inside axis2 engine. But if i use the WSO2 interface, and either delete a service, update a service or add a service, Is there a way to find out that i performed these activities?.
In short, can i intercept the messages that i uploaded a new module or i uploaded a new service or i changed the service.
thanks you...
You could write a Axis2 Observer for this, take a look http://asanka.abeysinghe.org/2008/10/how-to-writing-axis2-observer.html