I built wso2 api manager 4.1.0 with docker image. I need to api logs json format.
Then installed apictl from this url "https://apim.docs.wso2.com/en/latest/install-and-setup/setup/api-controller/getting-started-with-wso2-api-controller/" and deployed to docker wso2 api manager container.
I could add environment and successfully login. Then i could see and change api log type as below.
./apictl get api-logging -e development
API_ID API_CONTEXT LOG_LEVEL
77bcdc16-8091-4785-....-... /Service1/v1 FULL
8eb0b33e-98c3-4a9d-....-.... /Service2.asmx/1.0 OFF
But there's not any log record in api.log. How can i see api json logs ?
Thanks
Related
Something similar is happening to me. I'm quite new in WSO2 world.
On the same server I have installed:
wso2am-4.1.0 --> API Manager executed as linux service (api-manager.sh) wso2ei-7.1.0 --> Micro Integrator and dashboard , both exec. as linux services. MI is the last one to load.
I'm not using the embedded micro-integration of the API Mgr due it hasn't got any dataservice features (and I don't know how to enable them, by the way..)
Under Micro Integrator (wso2ei-7.1.0)'s conf/deployment.toml file, I have this section:
[[service_catalog]]
apim_host = "https://localhost:9443"
enable = true
username = "xxxxxxxx"
password = "xxxxxxxx"
BUT,no integrated service published to the service catalog. ALSO, under Micro Integrator's LOG I didn't see any statement like : "Succesfully updated the Service Catalog" nor error msg..
Any help? Thanks in advance! Daniel
I tried changing the conf file settings, service url, etc..
The service catalog feature is only available in MI 4.x versions.
You can manually create the API in the API Manager by importing the OpenAPI(Swagger) definition.
In order to use API Manager's Service Catalog feature, both API Manager and Micro-integrator should be on the same version.
You need to use Micro-integrator 4.1.0 along with API Manager 4.1.0 to use this capability.
I am running WSO2 APIM 3.2.0 and Analytics 3.2.0 on different client servers. I did all the required settings to configure WSO2 APIM with WSO2 Analytics. Started both the servers successfully and WSO2 APIM URL's open well. But, when I open the Analytics Dashboard URL (https://<Analytics_Host>:9643/analytics-dashboard/login), I get the below warning in the dashboard server logs, and the login page does not appear. Only a blank screen appears.
WARN {org.wso2.msf4j.internal.MSF4JHttpConnectorListener} - Unmapped
exception feign.RetryableException: No subject alternative names
matching IP address <APIM_IP> found executing GET
https://<APIM_Host>:9443/api/am/admin/v0.16/custom-urls/carbon.super
In the browser console I can see errors as shown in the below screenshot.
One more thing I noticed is in the management console of WSO2 APIM, difference in Service Providers list when compared with my local. I didn't find all the service providers on the client server which I can see on my local.
WSO2 APIM Carbon Console Service Providers list on my local:
WSO2 APIM Carbon Console list on the client server:
Am I missing out on some configurations? Need suggestions on this issue.
How to install a carbon application in WSO2 API Manger
I am getting the below error and not able to view the car file after installation.
2020-03-10 14:22:46 INFO Deploying Carbon Application : ShadowCompositeApplication_1.0.0.car...
2020-03-10 14:22:46 WARN No artifacts found to be deployed in this server. Ignoring Carbon Application :
WSO2 API Manager does not support deploying .car files at the moment. If you want to use a car file for the integration use case, then you can deploy in ESB/EI and proxy that via API Manager.
I'm using WSO2 API MANAGER VERSION 1.10.0
Sample API published with script description in publisher portal
and i open the api detail in store portal
setting carbon.xml is below
<XSSPreventionConfig>
<Enabled>true</Enabled>
<Rule>allow</Rule>
<!--Patterns>
<Pattern></Pattern>
</Patterns-->
</XSSPreventionConfig>
How can I solve it with setting?
You can download security patches for APIM 1.10.0 from here. This is already fixed in them.
WSO2 Identity Server : I am new to WSO2 Identity Server. Could somebody help to get list of REST call and soap call supported by WSO2 Identity Server
This blog post has an example of using WSO2-IS APIs.
Take a look at the answer to the following question also. WSO2 identity server api
WSO2 products are manage internally SOAP web services known as admin services. The admin service wsdl as bellow.
https://localhost:9443/services/UserAdmin?wsdl
Note: you cannot view the wsdl of admin service by default due to security reason. Configure the following steps to enable and invoke the admin service wsdl.
Set the <HideAdminServiceWSDLs> element to false in <IS_HOME>/repository/conf/carbon.xml file.
<HideAdminServiceWSDLs>false</HideAdminServiceWSDL>
Restart the server.
Also you can use OSGi console to get the list of SOAP Services exposed in Identity Server and view the available service components details. To enable osgi console doing following steps.
Get osgi console by executing the following command.
<IS_Home>/bin/wso2server.bat –DosgiConsole
After successfully started the server press ‘Enter’ key and osgi>console will be displayed.
To get all admin services that are deployed on this server.
osgi> listAdminServices
List down all hidden services that are deployed on this server.
osgi>listHiddenServices
All services expose Web Service APIs which can be used for to gain access to back end functionality.