Re: [Dev] Writing and calling custom admin services for WSO2IS 5.5.0

2018-06-06 Thread Indunil Upeksha Rathnayake
Hi Shiva,

You can get some information on writing an admin service from [1]. There
are following ways for invoking admin services and you can refer [2] for
more information.

   - Invoke with SOAP UI using the WSDLs of the admin services
   - Invoke via CURL
   - Invoke programmatically via the service stubs.

[1]
http://madurangasblogs.blogspot.com/2016/05/adding-custom-admin-service-to-run-ldap.html
[2] https://medium.com/@maheeka/wso2-admin-services-c61b7d856272

Thanks and Regards

On Wed, Jun 6, 2018 at 7:16 PM, Maduranga Siriwardena 
wrote:

> Hi Shiva,
>
> Can you explain the use case you are trying to achieve by writing a custom
> admin service?
>
> Thanks,
>
> On Wed, Jun 6, 2018 at 10:23 AM Chamalee De Silva 
> wrote:
>
>> Hi Shiva,
>>
>> You can refer documentation [1] for calling admin services.
>> There is no such documentation available on how to write admin services
>> as they are internally built in WSO2 products,
>> You can refer the iWSO2 Identity Server source code in github on how they
>> have constructed.
>>
>>
>> [1] hhttps://docs.wso2.com/display/IS550/Calling+Admin+Services
>>
>> On Tue, Jun 5, 2018 at 6:12 PM, Shiva Kumar K R <
>> shiv...@securelyshare.com> wrote:
>>
>>> Hi All,
>>> Is there any sources available to write and deploy admin services and
>>> calling them.
>>>
>>> Thank you,
>>> Shiva
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> *Chamalee De Silva*
>> Senior Software Engineer
>> *WS**O2* Inc. :http://wso2.com/
>>
>> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
>> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> Maduranga Siriwardena
> Senior Software Engineer
> WSO2 Inc; http://wso2.com/
>
> Email: madura...@wso2.com
> Mobile: +94718990591
> Blog: *https://madurangasiriwardena.wordpress.com/
> *
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Indunil Upeksha Rathnayake
Senior Software Engineer | WSO2 Inc
Emailindu...@wso2.com
Mobile   0772182255
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Publish & Subscribe

2018-06-06 Thread Mushthaq Rumy
Hi Shib,

Could you please try entering the request URL in a new tab and add a
security exception for your request URL? This seems to be a security
certificate issue.

Thanks & Regards,
Mushthaq

On Wed, Jun 6, 2018 at 11:01 PM shibsankar  wrote:

> when I  do a *Try Now *testing in API Console of WSO2 Store, I do not
> receive a valid response.  Please see the *Try Now *screenshot attached.
>
>
> Regarding Log:  I was looking at the *wso2carbon.log*  at the same time
> when I was trying out API invocation in WSO2 store.
>
> There is no log printed in *wso2carbon.log*  for this activity.
>
> Why there is no valid response?
>
> Regards
> Shib
>
>
>
> On Wed, Jun 6, 2018 at 6:07 PM, Dinusha Dissanayake 
> wrote:
>
>> Hi Shib,
>>
>> When you are creating the API you are using the actual backend URL of the
>> service as the production endpoint of the API.
>> But when you are using API Manager, you actual backend is getting proxy
>> and the service is exposed via APIM gateway with  security and throttling
>> facilities for the API.
>> Hence now the service is exposed via the APIM gateway.
>> That is why you see two different URLs in publisher and store production
>> endpoints.
>>
>> (http://{host}:8280 and https://{host}:8243 are gateway urls.)
>>
>> Since you are unable to obtain a response, there seems to be an issue.
>> Could you please send us the error log in the server when invoking the
>> API. That would help us 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 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 WSO2 store, I
>>> see different production URL of the service than what is in Publishing.
>>> What has gone wrong ?
>>>
>>>
>>> For your convenience,  I'm attaching a screenshot of Publish and Store.
>>> Could you please help to fix this issue.
>>>
>>>
>>> Regards
>>> Shib
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Dinusha Dissanayake
>> Software Engineer
>> WSO2 Inc
>> Mobile: +94712939439
>> 
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
Mushthaq Rumy
*Software Engineer*
Mobile : +94 (0) 779 492140 
Email : musht...@wso2.com
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Publish & Subscribe

2018-06-06 Thread shibsankar
when I  do a *Try Now *testing in API Console of WSO2 Store, I do not
receive a valid response.  Please see the *Try Now *screenshot attached.


Regarding Log:  I was looking at the *wso2carbon.log*  at the same time
when I was trying out API invocation in WSO2 store.

There is no log printed in *wso2carbon.log*  for this activity.

Why there is no valid response?

Regards
Shib



On Wed, Jun 6, 2018 at 6:07 PM, Dinusha Dissanayake 
wrote:

> Hi Shib,
>
> When you are creating the API you are using the actual backend URL of the
> service as the production endpoint of the API.
> But when you are using API Manager, you actual backend is getting proxy
> and the service is exposed via APIM gateway with  security and throttling
> facilities for the API.
> Hence now the service is exposed via the APIM gateway.
> That is why you see two different URLs in publisher and store production
> endpoints.
>
> (http://{host}:8280 and https://{host}:8243 are gateway urls.)
>
> Since you are unable to obtain a response, there seems to be an issue.
> Could you please send us the error log in the server when invoking the
> API. That would help us 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 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 WSO2 store, I  see
>> different production URL of the service than what is in Publishing.  What
>> has gone wrong ?
>>
>>
>> For your convenience,  I'm attaching a screenshot of Publish and Store.
>> Could you please help to fix this issue.
>>
>>
>> Regards
>> Shib
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Dinusha Dissanayake
> Software Engineer
> WSO2 Inc
> Mobile: +94712939439
> 
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Token Revocation extension points in WSO2 IS 5.3.0

2018-06-06 Thread Maduranga Siriwardena
Hi Shiva,

Unfortunately there is no extension point to customize the token revocation
service.

Can you please explain the use case your are trying achieve by customizing
the token revocation.

Thanks,

On Tue, Jun 5, 2018 at 5:46 PM Shiva Kumar 
wrote:

> Hi All,
>
> I have to customize token revocation service. Is there any extension
> point to do this?
>
>
> Thank You,
>
> Shiva
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
Maduranga Siriwardena
Senior Software Engineer
WSO2 Inc; http://wso2.com/

Email: madura...@wso2.com
Mobile: +94718990591
Blog: *https://madurangasiriwardena.wordpress.com/
*

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Writing and calling custom admin services for WSO2IS 5.5.0

2018-06-06 Thread Maduranga Siriwardena
Hi Shiva,

Can you explain the use case you are trying to achieve by writing a custom
admin service?

Thanks,

On Wed, Jun 6, 2018 at 10:23 AM Chamalee De Silva  wrote:

> Hi Shiva,
>
> You can refer documentation [1] for calling admin services.
> There is no such documentation available on how to write admin services as
> they are internally built in WSO2 products,
> You can refer the iWSO2 Identity Server source code in github on how they
> have constructed.
>
>
> [1] hhttps://docs.wso2.com/display/IS550/Calling+Admin+Services
>
> On Tue, Jun 5, 2018 at 6:12 PM, Shiva Kumar K R  > wrote:
>
>> Hi All,
>> Is there any sources available to write and deploy admin services and
>> calling them.
>>
>> Thank you,
>> Shiva
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks & Regards,
>
> *Chamalee De Silva*
> Senior Software Engineer
> *WS**O2* Inc. :http://wso2.com/
>
> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
Maduranga Siriwardena
Senior Software Engineer
WSO2 Inc; http://wso2.com/

Email: madura...@wso2.com
Mobile: +94718990591
Blog: *https://madurangasiriwardena.wordpress.com/
*

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Publish & Subscribe

2018-06-06 Thread Dinusha Dissanayake
Hi Shib,

When you are creating the API you are using the actual backend URL of the
service as the production endpoint of the API.
But when you are using API Manager, you actual backend is getting proxy and
the service is exposed via APIM gateway with  security and throttling
facilities for the API.
Hence now the service is exposed via the APIM gateway.
That is why you see two different URLs in publisher and store production
endpoints.

(http://{host}:8280 and https://{host}:8243 are gateway urls.)

Since you are unable to obtain a response, there seems to be an issue.
Could you please send us the error log in the server when invoking the API.
That would help us 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 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 WSO2 store, I  see
> different production URL of the service than what is in Publishing.  What
> has gone wrong ?
>
>
> For your convenience,  I'm attaching a screenshot of Publish and Store.
> Could you please help to fix this issue.
>
>
> Regards
> Shib
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Dinusha Dissanayake
Software Engineer
WSO2 Inc
Mobile: +94712939439

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[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 WSO2 store, I  see
different production URL of the service than what is in Publishing.  What
has gone wrong ?


For your convenience,  I'm attaching a screenshot of Publish and Store.
Could you please help to fix this issue.


Regards
Shib
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [dev] Purge specific message from the MB queue

2018-06-06 Thread Thivya Mahenthirarasa
Hi Anusha,

Currently we are not having any methods/properties to purge *one specific
message* from the Message Broker queue. But we can purge all messages in
the queue that it will set the queue count to zero. Refer the WSO2
documentation[1] on purging all messages for more details.

[1]
https://docs.wso2.com/display/MB300/Managing+Queues#ManagingQueues-Purgingqueues

On Tue, Jun 5, 2018 at 3:52 PM, Anusha Ruwanpathirana <
ruwanpathir...@gmail.com> wrote:

> Hi All,
>
> Is there any method to purge specific message from the Message Broker
> queue? If there is an approach, what are the properties need to require for
> purging. Any custom Java implementation is also fine.
>
> Thanks
>
> Best Regards
>
> Anusha
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Thivya Mahenthirarasa*

*Software Engineer -Support Team | WSO2*


*Email: thi...@wso2.com *

*Mobile: +94766461966 *
*Web: http://wso2.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev