Where is AuthenticationAdminService in WSO2 GREG? - wso2

I'm using WSO2 Governance and Registry version 4.1.1, I can find wsdl file of AuthenticationAdminService in wso2greg-4.1.1-src but I can't find anything by url:
https://127.0.0.1:9443/services/AuthenticationAdmin?wsdl
even after I modify HideAdminServiceWSDLs tag in carbon.xml, while other services like ResourceAdminService is available.
Can anybody help?

You need to restart the sever after modifying the parameter in carbon.xml
<HideAdminServiceWSDLs>false</HideAdminServiceWSDLs>
After that you should be able to access the wsdl in (I verified with 4.1.1 server)
https://localhost:9443/services/AuthenticationAdmin?wsdl or
http://localhost:9763/services/AuthenticationAdmin?wsdl

Related

How to perform following changes in tomcat configuration in WSO2IS 5.9.0?

I am trying to make /oauth2/token API call from reactjs fronted and getting CORS error.
My friend asked the same question and got answer for the same also.
Please open the link for solution.
WSO2 IS returns CORS error when wrong credentials sent
But when I am trying to perform the same in WSO2IS 5.9.0 the configuration is getting overwritten to the default config.
How to perform this in 5.9.0 using deployment.toml file?
As I have mentioned in that earlier answer you need to add the given tomcat filter in the web.xml.j2 file in the path repository/resources/conf/templates/repository/conf/tomcat. The .j2 files will not get replaced by the deployment.toml at the server startup.

WSS Support in WSO2 API Manager

I am verifying the Websocket support in WSO2 API manager for one of my requirement. By default, WSO2 API Manager provides the options for configuring "WS" protocol and able to access it. But I couldn't find any configuration for "WSS" protocol support.
Is there any limitation in WSO2 API manager or is there any documentation available?
Thanks,
Sow
WebSocket support is available by default in WSO2 API Manager. Related transport configurations should be available inside the axis2.xml configuration file. You can find related documentation in the WSO2 API Manager documentation.
https://docs.wso2.com/display/AM260/Create+a+WebSocket+API
When using wss endpoint, we were able to observe some errors and we were able to get rid of the errors with the following approach.
Please include the following parameter in the SecureWebSocketInboundEndpoint.xml file which resides in the <APIM_HOME>/repository/deployment/server/synapse-configs/default/inbound-endpoints directory.
TLSv1.1,TLSv1.2
Also, please remove the following parameters from the same SecureWebSocketInboundEndpoint.xml file if the following parameters(wss.ssl.trust.store.file and wss.ssl.trust.store.pass) exist in the file.
repository/resources/security/client-truststore.jks
wso2carbon
Please use the following sample web socket client to try out and run the WSS client. Please change the variable carbonKeyStoreLocation to point to <API-M_HOME>/repository/resources/security/wso2carbon.jks. Note that port for the WSS API is 8099.
You can download the WSS client in the following WSO2 official documentation under the WSS Support section. (In the second step.)[1] Further please change the access token, web socket endpoint and the carbonKeyStoreLocation with your one to try out the scenario.
[1] https://docs.wso2.com/display/AM260/Create+a+WebSocket+API

WSO2 DSS Domain configuration

I'm running a WSO2 DSS 3.5.1 instance on a webserver but now i want to expose it to web using a domain address (like www.esb.com). The problem is that WSO2 can't resolve my external address, returning a 404 error.
I'm already try to modify the axis2.xml file as described on this site (https://www.yenlo.com/blog/creating-a-custom-url-for-wso2-esb-proxies-and-wso2-apis-wso2torial) but nothing change.
Can someone help me? What i'm doing wrong?

WSO2 esb + AS feature = ESB can not manage HttpSession

this is my first question in Stackoverflow and i'm new in WSO2 ESB. I installed the 4.9.0 version of ESB and also installed Application Server feature on it. WSO2 ESB can not manage HttpSession. Can u help me please to solve this problem?
I already tried to change this parameter to true or false:
<session-config>
<session-timeout>30</session-timeout>
<cookie-config>
<secure>false</secure>
</cookie-config>
</session-config>
in ESB_HOME\repository\conf\tomcat\web.xml
Application server feature installed well i think. I can start my app and its working till i trying to use httpsession to manage users session and authentication.
Somebody had the same problem?

Configuring WSDL Based Proxy in WSO2 version 4.6

I have down loaded WSO2 ESB Version 4.6 and started the server. Clicked on proxy service. There I have selected WSDL Proxy option. It is asking the following for creating proxy.
Proxy Service Name* OpportunityService
WSDL URI* https://crm-aufsn4x0ruf.oracleoutsourcing.com//opptyMgmtOpportunities/OpportunityService?WSDL
WSDL Service* https://crm-aufsn4x0ruf.oracleoutsourcing.com:443/opptyMgmtOpportunities/OpportunityService
WSDL Port* 443
I just want consume this external web service via ESB. So I dont want publish. Did not configure any publish related fields. Now When I click on create it throws exception "Failed to add proxy service: OpportunityService. Check whether the Proxy already exists
". But I am sure that there is no existed service with that. I have tried with different names but the error is same.
I suspect that may gave values wrong for fields WSDL Service and WSDL Port. If click on Test URI its giving success.Can any one please suggest where I am doing wrong.
Thanks&Regards,
Raghu
For wsdl service parameter you need to give the <wsdl:service name>which you can find in the particular wsdl itself. I dont think it will be a URI like you have mentioned above. Likewise for port you can find the <wsdl:port> parameter in the wsdl.