Where can I locate org.wso2.carbon.mit.OpenIDClientImpl? - wso2

I want to extend my key manager interface in wso2 api manager to connect it to a 3rd party azure interface. Any articles for this will be of great help.

You can refer the source code in [1] and the article [2] which describes how to connect to Mitre ID Connect.
https://github.com/jaadds/mitre-connect-demo
https://amilasnotes.wordpress.com/2015/12/29/integrating-api-manager-with-mitre-id-connect/

Related

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

WSO2 APIMgr Design Document

Can someone send me link / pdf which samples the API Design Document. API can be RESTFul or SOAP. Help is much appreciated, please.
Regards, Sreedhar
If video tutorials can assist you better, you can find them in [1]. These tutorials were recorded using the SaaS version of API Manager (API Cloud), they do apply to an on-premise deployment of API Manager as well.
[1] - https://www.youtube.com/playlist?list=PLp0TUr0bmhX49rEwMR7BDX2O9-iQHOOzN
You can have a look on this quick start guide to create APIs in API Manager. We provide a sample API with API Manager which will help you in understanding how API Manager works with APIs

Removing components from wso2 api manager

WSO2 API manager has 4 components
API Gateway
API Publisher
API Store
API Key Manager Server
I would like to run each of these components on separate boxes. While doing so on box where I have API Publisher component I want to remove other 3 components from the api manager so on with other components. By this I would like to achieve that only 1 component exists at run time of each instance of wso2 api manger.
I would like to know how can we remove each of these components from wso2 api manager?
You can remove the relevant features from the product via Carbon Feature Management (Or you can add necessary features as well).
You can find more information regarding how to uninstall a particular feature here.
You can also find more information regarding feature management for WSO2 Carbon products here.
HTH,
Lasantha
To add to Lasantha's answer, this article describes how these 4 components can be deployed separately in a cluster with an ELB.
Installing High Level components is supported from API Manager 1.5.0 onwards. If you want to start API Manager as one of the components, that can be achieved by starting as a server profile. You can find more information here.

How to use Datasource configured in WSO2 BPS

I am new to WSO2 family (WSS, ESB & BPS).
Previously I did samples on creating datasource in WSO2 ESB and I have retrieved data from datasource using DBLookup in WSO2 ESB.
Now I have configured datasource in WSO2 BPS(from UI) and it is successfully connected to the database.
How Can I use the datasource that I configured in BPS in BPEL Workflow?
Please someone guide through it.
Thanks in Advance.
Please refer the doucumentation[1] which shows how to define a datasource and refer [2] which shows how to configure datasource in bps.xml
[1] http://docs.wso2.org/wiki/display/BPS300/Adding+RDBMS+Data+Sources#AddingRDBMSDataSources-jndi
[2] http://docs.wso2.org/wiki/display/BPS300/ODE+Configurations#ODEConfigurations-DataSource
I think the better approach would be to use WSO2 Data Services Server and create Data Service using the data source. (You can define the data source in Data Services server). After that you can call them using the BPS. Please refer following tutorial on such a comprehensive tutorial.
http://docs.wso2.org/wiki/display/DVS300/Retail+Banking+Sample

how to publish and discover a java web service

I am new to developing web services using java. I have an academic project where I need to do dynamic service composition. For that I can't directly create a service-client for a particular service because if I do so then that client will call that particular service only. Client need to search various web services and then out of those services select any one at run time and also call that service at run time.
I was able to develop the web service(JAX-WS) using Eclipse(indigo), I also created the client for that web service and every thing is working fine. Now my problem is that while creating the client I am hard coding the client to call that particular web service only(since I am creating the client using the WSDL file of the service). However I actually need to call any one of the searched service, but for that I need to publish the service some where then discover it and then call it.
I tried publishing the service to juddiv3. But on juddiv3 I could only publish the sample service supplied with the juddiv3. When I try to publish service created by me then it is not getting displayed in the group of published services.
Is there any other UDDI server which I could install on my local machine and then publish and discover the service from that. Also I was not able to figure out how to create a client that will modify itself at run time to call any one service out of various searched services.
Kindly provide the necessary steps and code.
Thanks
You can use jUDDI (http://juddi.apache.org/ ).
juddi is based on UDDI v2.0, v 3.0 .
Here, you can publish as well as discover your web service.
For integration, you have to make some application which integrates with jUDDI.
But I think for your academic project, and for your purpose, jUDDI is best suitable! ( :) )
jUDDI has a boat load of examples in the source code trunk. You may want to check them out. It's difficult to guess what the problem is from the little information you've provided. Consider contacting the jUDDI team for further assistance. http://svn.apache.org/repos/asf/juddi/trunk/juddi-examples/. There's also additional document for working with UDDI in the jUDDI user's guide, which is at the jUDDI web site
You cannot directly publish on jUDDI. You need to create publisher entities in jUDDI server also. You'll find Rename4Sales and Rename4Marketing examples in 'Classes' folder in the standalone server's juddi application. Use these XMLs as your basis and create your own entity. You also need to configure the server's login credentials.
I suggest you follow the tutorials on jUDDI blog.