I have written several webservices in Python and Ruby and would like to integrate them with WSO2 Integration Studio. I tried following the instructions on the docs about sending messages to services here but it's about Java microservices only. Am I supposed to deploy my services elsewhere and only use http endpoints to integrate them? Thank you
You can only copy JAR files to the /wso2/msf4j/deployment/microservices folder and deploy them in the MSF4J profile of WSO2 EI.
Am I supposed to deploy my services elsewhere and only use http endpoints to integrate them?
Yes, This is the way to achieve this.
Related
In wso2 how to deploy .car file in case of ESB and .bar in case of BPMN programatically. Is there any way of using remote deployment option programmatically(using JAVA).
You can use the admin services which are exposed as SOAP services to achieve the requirement. For example, you can use bellow endpoint to deploy Carbon Application(car file).
https://{esb-host-name}:{esb-management-console-port}/services/CarbonAppUploader
Also for BPMN(bar file), you can use bellow endpoint.
https://{bps-host-name}:{bps-management-console-port}/services/BPMNUploaderService
The blog post [1] will help to understand the flow.
anyone have tried a web service written in Clojure and runing in WSO2 AS ?
WSO2 AS is based on apache tomcat. Therefore I think it should work. I haven't tried the scenario. You can create a war out of your clojure project and deploy it in the WSO2AS.
You can refer to http://www.luminusweb.net/docs/deployment.md#deploying_to_tomcat
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.
I have a composite with a SOAP web service entry point running on SOA Suite. We will have a new client for that web service, but this client cannot speak SOAP, so we will have to publish that entry point on a REST endpoint. I know I can enable REST Support to the existing web service through EM console, but I would like to have this configuration enabled by default after deploy.
My research for ways to do that using a property or attribute on a configuration plan did not get useful informations.
Does anyone know how could I achieve that?
Thanks!
REST Support is formal part of SOA Suite 12c. Download and install that and then you can easily add a REST interface to a SOAP composite. Also, 12c now installs without RCU/DB, etc - just start the Integrated WLS domain in JDev and it builds itself and you are up and deploying in under 20 mins. And this may help.
I am using WSO2 DSS, ESB and BPS for my project.
They are working fine in respective servers. But my idea is to integrate DSS, ESB & BPS into one car file(or some other deployment archive file) and thus making the deployment easier.
I have a Carbon application project created in Developer studio which has DSS project, ESB Config project, BPEL workflow and a Web application in it.
When I export it, it exports only the ESB & BPS and excludes Web application.
Is there a way to generate one deployment archive which would contain all the mentioned project? And is it possible to deploy a java application in WSO2 server since it has tomcat in it?
Thanks in Advance.
You can deploy webapplications in WSO2 Application server. Refer this. There is a server role which is defined in the server and also in the CAR file for each deployable artifacts. So if you are going to use one server lets say application server with DSS,ESB and BPS installed you need to add DSS's ESB's and BPS's server roles so artifacts which has respective servers role can be deployed in bundled server. Please refer following for server role management.
http://docs.wso2.org/wiki/display/AS510/Introduction+to+Server+Roles
Q>
Is there a way to generate one deployment archive which would contain all the mentioned project?
Ans>> Yes. It is possible. Carbon Application Archive(CAR) file is the single deployable module to package all the above mentioned different artifacts type to a single deployable archive.
You can use either IDE or Maven to generate the CAR file for your artifacts. Please refer to Dev Studio Documentation for more information.
Q> And is it possible to deploy a java application in WSO2 server since it has tomcat in it?
Ans>> You can deploy a Java application in WSO2 Application Server but in order to do that you need to convert your application to a Web-Services since WSO2 provides mechanism to expose your applications as Web Services. For that you can use either Axis2 Web Service or Jax-WS web-Service.
WSO2 Developer Studio supports creation of Axis2 Web-Services as well as Jax-WS web services. Please refer to Axis2 Artifact and Jax-WS Artifact Documentation for more information.
Also if you have a Java based Web-Application, you may deploy that Web-Application in WSO2 Application Server and WSO2 Dev Studio supports implementing Web-Applications as well.
Thanks and Regards,
Harshana