WSO2 Datamapper file resoure link missing - wso2

I am new to WSO2. I was trying out with WSO2 datamapper .
From input/output canvas, I clicked on load input option , I got prompted with sub window , but without load file link , load resource from file option is missing .
Please see screen shot below . Can someone let me know is it bug or i am doing something wrong . I am using studio version 7.0.2
Thanks
Brijesh

This is a known issue with WSO2 Integration Studio 7.0.2 for high display resolutions(https://github.com/wso2/devstudio-tooling-ei/issues/851). You can remove the "-Dswt.autoScale=100" entry from the IntegrationStudio.ini file and restart the integration studio. Also, update the Integration Studio(Help->Check for Updates) after removing the entry from the .ini file.

Related

VS 2019 - core 5.0 - Error adding WCF Web Service reference

I'm trying to add a reference to web service in VS 2019.
I think the installation might be damaged?
After I right click on the Connected Services node in the Solution Explorer and choose Add Connected Service... then I pick Microsoft WCF Service Reference Provider...
Then I paste my URI for the wsdl into the URL input field.. and click go..
The following is displayed...
Resolving project references ...
Importing web service metadata ...
Number of service endpoints found: 1
Scaffolding service reference code ...
Error:Unable to find deps.json generator project.
Am I right in thinking this deps.json is something that is missing in the install and would necessitate a repair ??
Thanks
Yep, checked this against another installation of visual studio and there was a missing folder.
C:\Program Files\dotnet\sdk\5.0.203\Sdks\Microsoft.NET.Sdk\targets\GenerateDeps
So, copied that folder and contents over and all ok...

Trying to deploy new API to WSO2 server

I am trying to deploy new REST API to a WSO2 server however when I deploy the CAR file which includes the new API it does not appear in the Enterprise Integrator web console.
I am using Integration Studio 7.1.0 and this project, except for testAPI.xml, was created using EI 6.1.0. I have included a project tree for reference:
The testAPI.xml file also has a question mark icon next to it. Does anybody know what this is? I cannot find any reference from WSO2.
this happens when you don't include the API in pom.xml in xxxx-capp folder
Open the file highlighted in the picture attached below and then click the Select All button
then save the file redeploy the application that should solve your problem

Authentication Error when Trying to Log into WSO2 IoT Server - Device Management Console in wso2-iot-3.3.0

I followed the instructions in the link (https://docs.wso2.com/display/IOTS330/Enterprise+IoT+solution) in Windows to start WSO2 IoT server. So, broker, iot-server and analytics are started. But, when I'm trying to log in to the device management console using admin login or the login credentials I created, it gives me an authentication error.
I tried the solutions in this answer (Not able to access WSO2 IoTS Device Management Console in wso2-iot-3.3.0 when logged in 'admin') also (Reducing Java version to 1.8.0_144 and making the compression parameter to off in all the catalina-server.xml files). But any of it didn't work for me.
I have attached the screen shots of the error. Please help me to go through this! Thank you.
Error in browser
Error description in iot-server console-Part 1
Error description in iot-server console-Part 2
This is related to the issue mentioned in the github issue mentioned below and it seems, it is already fixed in latest master.
As a quick workaround you could try to modify the startup script files (bat files in this case) and add the changes mentioned in the above git issue.
For example, you can change the file modules/distribution/src/core/bin/iot-server.bat at line number 73 as below.
FOR %%D in ("%CARBON_HOME%\wso2\lib\commons-lang*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\wso2\lib\%%~nD%%~xD"
Similarly do the same change as above for files mentioned below as well.
modules/distribution/src/core/resources/profiles/backend/iot-server.bat
modules/distribution/src/core/resources/profiles/keymanager/iot-server.bat
modules/distribution/src/core/resources/profiles/manager/iot-server.bat
This should resolve the issues you are facing.
Related github issue - https://github.com/wso2/product-iots/pull/1838/files

WSO2 ESB Tutorial Issue

I just want know if somebody here already tried this tutorial:
https://docs.wso2.com/display/ESB490/Sending+a+Simple+Message+Through+the+ESB
I followed the instructions strictly but after I deployed my SampleCApp Composite Application project to carbon 4.4 based server(wso2esb-5.0.0), the SimpleStockQuoteProxy is nowhere to be located in the management console.
I hope you can help me with this especially those who have encountered this issue. I want to know, how did you fix this?
Thank you in advance.
What kind of OS are you using? If you are using Windows, unfortunately, it doesn't work. At least I haven't found a way to make it work through the Developer Studio.
But you can login into the management console, then in the Main tab, Carbon Applications, Add and upload your exported .car file. Refresh the List of Carbon Applications a few times until you see it there or until it shows the red message that the uploaded Carbon Application is faulty. You can click on the message and remove the faulty application, if this happens.
You can export the file by right-clicking on the Composite Application Project in the Developer studio and selecting Export Composite Application Project.

WSO2 doesn't show errors

I have a problem with the WSO2 application server, and try catch error in the output file wso2carbon.log, but the applcation doesn't show error, my log4j file is:
https://gist.github.com/gururea/104e6e7db83849199309
And Follow this steps.
I try setting this debug mode, error mode, all modes, and doesn't show errors. I developed application with wso2 carbon IDE.
Thanks for your help.
Since you cant find any logs, Deploy some debug points by yourself in the relevant component. Please follow this blog post.
Hope this might helps!