[Dev] WSO2 Publish & Subscribe

2018-06-06 Thread shibsankar
Hi, *My Objective: * I have published a service in WSO2 Publish. Now I am trying to test this service from WSO2 Store API console. *Issue : * API console in WSO2 Store not returning result when invoking service. *Troubleshooting :* To my surprise, when I view the published service from WSO

Re: [Dev] WSO2 Publish & Subscribe

2018-06-06 Thread shibsankar
to narrow down the issue. > > Thanks, > DinushaD. > > > On Wed, Jun 6, 2018 at 5:43 PM, shibsankar wrote: > >> Hi, >> >> *My Objective: * >> >> I have published a service in WSO2 Publish. Now I am trying to test >> this service from WSO2 St

[Dev] Duplicate Context Value

2018-06-07 Thread shibsankar
Hi, I have *deleted *published API, subscribed API from WSO2. Now there is no more API in WSO2. Restarted the WSO2 server. Now when I try to add a New API , I'm still getting *Duplicate context value *in API design page. Why is this happening? How to fix this? Please see the screenshot a

Re: [Dev] Duplicate Context Value

2018-06-07 Thread shibsankar
Is there any solution to this? Regards Shib On Thu, Jun 7, 2018 at 6:50 PM, shibsankar wrote: > Hi, > I have *deleted *published API, subscribed API from WSO2. Now there is > no more API in WSO2. > > > Restarted the WSO2 server. > > > Now when I try to add a N

Re: [Dev] Duplicate Context Value

2018-06-08 Thread shibsankar
t; Regards, > > *Dushani Wellappili* > Software Engineer - WSO2 > > Email : dusha...@wso2.com > Mobile : +94779367571 > Web : https://wso2.com/ > > > > > On Fri, Jun 8, 2018 at 10:01 AM Krishan Wijesena > wrote: > >> >> >> On Thu, Jun 7, 2018 at

Re: [Dev] Duplicate Context Value

2018-06-08 Thread shibsankar
are > defining here. As above replies explain, this could be due to partially > deleted APIs. > Could you please check AM_API table in AM_DB and see whether there is a > CONTEXT_TEMPLATE with the same context you are trying to define here? > > Thanks, > DinushaD. > > > O

Re: [Dev] Duplicate Context Value

2018-06-08 Thread shibsankar
you may follow https://docs.wso2.com/ > display/ADMIN44x/Browsing+the+H2+Database. > > Thanks > Nirothipan > > On Fri, Jun 8, 2018 at 2:09 PM, shibsankar wrote: > >> How do I connect to this DB and view the rows of the mentioned table? >> Can it be viewed from API ma

Re: [Dev] Duplicate Context Value

2018-06-08 Thread shibsankar
Its now resolved. I did this. DELETE FROM AM_API_LC_EVENT WHERE API_ID = 7 ; DELETE FROM AM_API_LC_EVENT WHERE API_ID = 12 ; SELECT * FROM AM_API_LC_EVENT // No records now DELETE FROM AM_API issue resolved. Thanks Shib On Fri, Jun 8, 2018 at 5:26 PM, shibsankar wrote: > It did

[Dev] WSO2 Server Public IP

2018-06-09 Thread shibsankar
Hi When I publish my API through *WSO2 Publishing > New API Design > Manage > Configuration > Transport*: *HTTPS , HTTP* (*both selected*) and do the API Console testing from WSO2 store , I see request goes through WSO2 server *private IP **address* and I get response from backend API. (scre

Re: [Dev] WSO2 Server Public IP

2018-06-09 Thread shibsankar
ole. You will see this > because swagger console will use your browser URL in absence of > HTTPs expose endpoint. > > On Sat, Jun 9, 2018 at 12:49 PM shibsankar wrote: > >> Hi >> >> When I publish my API through *WSO2 Publishing > New API Design > >>

Re: [Dev] WSO2 Server Public IP

2018-06-09 Thread shibsankar
Okay. Tested with 8243 port. I get 403 Error code response. Please see the screenshot attached. Regards Shib On Sat, Jun 9, 2018 at 2:15 PM, Harsha Kumara wrote: > > > On Sat, Jun 9, 2018 at 1:48 PM shibsankar wrote: > >> Okay. I did a testing using that in Post

Re: [Dev] WSO2 Server Public IP

2018-06-09 Thread shibsankar
d the token. > > On Sat, Jun 9, 2018 at 2:45 PM shibsankar wrote: > >> Okay. Tested with 8243 port. >> >> I get 403 Error code response. >> >> Please see the screenshot attached. >> >> Regards >> Shib >> >> >> >> On Sat,

[Dev] WSO2 and OAuth 2.0

2018-06-09 Thread shibsankar
Hi, I would like to do the following : *My Objective *: I have published my API in WSO2 API Gateway. API is working fine. Now I would like to secure my API with OAuth 2.0. I plan to invoke the published API with OAuth 2.0 token from my Angular front-end application. *My Query *: How do I get

Re: [Dev] WSO2 and OAuth 2.0

2018-06-09 Thread shibsankar
> [1] - https://docs.wso2.com/display/AM210/Subscribe+to+an+API > [2] - https://docs.wso2.com/display/AM210/Token+API > > Thank you! > > On Sat, Jun 9, 2018 at 9:07 PM shibsankar wrote: > >> Hi, >> I would like to do the following : >> >> >> *My Ob

Re: [Dev] WSO2 and OAuth 2.0

2018-06-10 Thread shibsankar
On Sun, Jun 10, 2018 at 11:53 AM, Harsha Kumara wrote: > > > On Sun, Jun 10, 2018 at 11:16 AM shibsankar wrote: > >> I checked [1] https://docs.wso2.com/display/AM210/Subscribe+to+an+API >> , yes, It gives a token for sure when you subscribe API. >> >> But

[Dev] WSO2 and LDAP

2018-06-11 Thread shibsankar
Hi, I have an LDAP with user credentials. Can I use LDAP user credentials as password grant to generating Oauth 2 token? *Please see the screenshot attached.* Regards Shib Virus-free.

Re: [Dev] WSO2 and LDAP

2018-06-11 Thread shibsankar
s://docs.wso2.com/display/AM210/Configuring+User+Stores > > Thanks, > DinushaD > > On Mon, Jun 11, 2018 at 12:42 PM, shibsankar wrote: > >> Hi, >> I have an LDAP with user credentials. >> >> Can I use LDAP user credentials as password grant to genera

Re: [Dev] WSO2 and LDAP

2018-06-11 Thread shibsankar
210/RESTful+APIs > [2] https://docs.wso2.com/display/AM210/apidocs/store/#guide > > > > On Mon, Jun 11, 2018 at 2:21 PM, shibsankar wrote: > >> I have configured LDAP as a User Store in WSO2 (*screenshot attached*). >> This is okay. >> >> Now I plan to send a

Re: [Dev] WSO2 and LDAP

2018-06-11 Thread shibsankar
Does WSO2 have any API for LDAP user validation? Regards Shib On Mon, Jun 11, 2018 at 2:57 PM, shibsankar wrote: > Let me explain in detail what I plan to achieve. > > > Step 1: User will login to my web application (angular js front end). > > *Step 2: I want to validate t

Re: [Dev] WSO2 and LDAP

2018-06-11 Thread shibsankar
ilar such facility? Regards Shib On Mon, Jun 11, 2018 at 5:01 PM, Harsha Kumara wrote: > > > On Mon, Jun 11, 2018 at 2:57 PM shibsankar wrote: > >> Let me explain in detail what I plan to achieve. >> >> >> Step 1: User will login to my web application (angul

Re: [Dev] WSO2 and LDAP

2018-06-11 Thread shibsankar
/www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Mon, Jun 11, 2018 at 5:36 PM, shibsankar wrote: > Your suggestion is good, > > However, I don't want to redirect my appli

[Dev] WSO2 Store

2018-06-12 Thread shibsankar
How do you unsubscribe a service from Application store? Screenshot attached. Regards Shib ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] WSO2 Store

2018-06-12 Thread shibsankar
splay/AM210/Subscribe+to+an+API > > On Tue, Jun 12, 2018 at 1:16 PM shibsankar wrote: > >> How do you unsubscribe a service from Application store? >> >> Screenshot attached. >> >> Regards >> Shib >> >> _

[Dev] userinfo not received

2018-06-12 Thread shibsankar
I have LDAP User store configured in WSO2. I am calling *userinfo *API to get user info for a given user *access token. * ( This *access token* has been generated for a given LDAP username & password with grant type is password ) I was expecting *userinfo API* to respond with user First Name

[Dev] CORS Error

2018-06-14 Thread shibsankar
I am receiving CORS Error when I call the WSO2 token API from Angular JS application. How do you fix this? Regards Shib(9831418066) ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] CORS Error

2018-06-14 Thread shibsankar
e correct endpoint, which is */**token > *? > > On Thu, Jun 14, 2018 at 2:26 PM shibsankar wrote: > >> I am receiving CORS Error when I call the WSO2 token API from Angular JS >> application. >> >> How do y

Re: [Dev] CORS Error

2018-06-14 Thread shibsankar
ation/json;charset=utf-8" ,"Authorization":base64Encoded} }); }; When I run this I am getting CORS error screenshot shared earlier. Regards Shib On Thu, Jun 14, 2018 at 3:00 PM, Rushmin Fernando wrote: > Could you please let us know the grant type you are using here. I would &

Re: [Dev] CORS Error

2018-06-14 Thread shibsankar
14, 2018 at 3:55 PM, Bhathiya Jayasekara wrote: > This should work for you. > > https://medium.com/@iloshinikarunarathne/enabling- > cors-for-token-apis-in-wso2-apim-d04f7ef5171 > > Thanks, > Bhathiya > > On Thu, Jun 14, 2018 at 3:33 PM shibsankar wrote

Re: [Dev] CORS Error

2018-06-25 Thread shibsankar
rds Shib On Mon, Jun 18, 2018 at 8:36 AM, Prakhash Sivakumar wrote: > > > On Fri, Jun 15, 2018 at 5:21 PM Farasath Ahamed > wrote: > >> >> >> On Thu, Jun 14, 2018 at 3:32 PM, shibsankar wrote: >> >>> *grant_type=password.* >>> &

Re: [Dev] CORS Errors not resolved

2018-06-28 Thread shibsankar
ttp://xx-xx-xxx-xx-xx.xx.xx..com:8280/token>: Request header field Access-Control-Allow-Methods is not allowed by Access-Control-Allow-Headers in preflight response.* Is there anything missing? Regards Shib On Thu, Jun 28, 2018 at 11:07 AM, shibsankar wrote: > Okay. I did this ste

Re: [Dev] CORS Errors not resolved

2018-06-28 Thread shibsankar
isplay/AM210/Include+ > Additional+Headers+in+the+API+Console. > > Last part of the document explains how to enable CORs for token endpoint > and other Oauth2 APIs. > > Thank you! > > On Thu, Jun 28, 2018 at 12:41 PM shibsankar wrote: > >> Any comments to this? &

Re: [Dev] CORS Errors not resolved

2018-06-28 Thread shibsankar
M210/Include+ > Additional+Headers+in+the+API+Console > > On Fri, Jun 29, 2018 at 10:34 AM shibsankar wrote: > >> your Link is not opening. >> >> Could you please check and resend the link? >> >> Regards >> Shib >> >> >> On Fri, Jun 29, 2

[Dev] CORS ERROR in userinfo API

2018-07-09 Thread shibsankar
Hi , I'm getting CORS ERROR in * userinfo** API * invocation. Which * file / **files* has the CORS configuration in WSO2 for *userinfo **API *? Error : *Failed to load http://xx-xx-xxx-xx-xx..xx.xxx.com:8280/userinfo

[Dev] CORS ERROR in Custom Service API

2018-07-13 Thread shibsankar
Hi , I'm getting CORS ERROR in my OrderWorkFlow service API invocation. Which *file / **files* has the CORS configuration in WSO2 for *Custom Service **API* ? *Error :* Failed to load *http://xx-xx-xxx-xx-xx..xx.xxx.xxx:8280/bsi/custOrderWorkflow/v1/init

Re: [Dev] CORS ERROR in Custom Service API

2018-07-18 Thread shibsankar
Any comments to this? Regards Shib On Mon, Jul 16, 2018 at 1:34 PM, shibsankar wrote: > Yes. I was asking configuring CROSS-ORIGIN resources sharing for a > particular API. > > > I checked your link and I did the configuration for > Access-Control-Allow-Origin as value ht

[Dev] CORS error in public server

2018-07-29 Thread shibsankar
Hi I have deployed my angular application in a *public server. * and then *whitelisted the public server IP* in wso2's *api-manager.xml * However, when I call wso2 token API from my angular application I am getting CORS error. *Please see the CORS error and WSO2 settings in the screensho

Re: [Dev] CORS error in public server

2018-07-30 Thread shibsankar
any comments on this? Regards Shib On Mon, Jul 30, 2018 at 12:15 PM, shibsankar wrote: > Hi > > I have deployed my angular application in a *public server. * > > and then *whitelisted the public server IP* in wso2's *api-manager.xml * > > > > However, when

Re: [Dev] CORS error in public server

2018-08-01 Thread shibsankar
any comments on this, please? Regards Shib On Tue, Jul 31, 2018 at 11:31 AM, shibsankar wrote: > any comments on this? > > Regards > Shib > > > On Mon, Jul 30, 2018 at 12:15 PM, shibsankar wrote: > >> Hi >> >> I have deployed my angular applicat

Re: [Dev] CORS error in public server

2018-08-02 Thread shibsankar
oshinikarunarathne/enabling- > cors-for-token-apis-in-wso2-apim-d04f7ef5171 > > Thanks and Regards > > On Wed, Aug 1, 2018 at 9:22 PM, shibsankar wrote: > >> any comments on this, please? >> >> Regards >> Shib >> >> >> On Tue, Jul 31, 201

Re: [Dev] CORS error in public server

2018-08-03 Thread shibsankar
any comments to this please ? Regards Shib On Thu, Aug 2, 2018 at 1:45 PM, shibsankar wrote: > > It works when I whitelist localhost in wso2 api manager XML and run from > local. > > But when I move the application to a public server and whitelist the > public IP in wso2 ap

[Dev] API statistics

2018-09-19 Thread shibsankar
Is there any way to find wso2 hit statistics , request/response etc when I call my API? Any UI or graph in wso2 which shows that information? ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] API statistics

2018-09-19 Thread shibsankar
Checked that link. It talks about APIM configuration first. I am not clear, do I need to install any package for this? Or Do I need to set the Enabled property under Analytics to true in api-manager.xml only? On Wed, Sep 19, 2018, 12:52 PM Dinusha Dissanayake wrote: > Hi Shibsan

[Dev] Integrate Active Directory (AD) with WSO2.

2019-02-21 Thread shibsankar
Hi, My goal is to Integrate Active Directory (AD) with WSO2. Version : wso2am-2.1.0 I'm following this documentation https://docs.wso2.com/display/IS500/Configuring+an+Active+Directory+User+Store I have updated user-mgt.xml with Active Directory connection URL and restarted WSo2. I am no

[Dev] Fwd: Integrate Active Directory (AD) with WSO2.

2019-02-21 Thread shibsankar
Is there any solution to this? Regards Shib -- Forwarded message - From: shibsankar Date: Thu, Feb 21, 2019 at 4:16 PM Subject: Integrate Active Directory (AD) with WSO2. To: WSO2 Developers' List Hi, My goal is to Integrate Active Directory (AD) with WSO2. Ve