On Thu, Jun 30, 2011 at 5:00 PM, Senaka Fernando <[email protected]> wrote:
> > > On Thu, Jun 30, 2011 at 3:35 PM, Samisa Abeysinghe <[email protected]>wrote: > >> >> >> On Thu, Jun 30, 2011 at 3:08 PM, Senaka Fernando <[email protected]> wrote: >> >>> >>> >>> On Thu, Jun 30, 2011 at 2:40 PM, Samisa Abeysinghe <[email protected]>wrote: >>> >>>> https://wso2.org/jira/browse/CARBON-10941 >>>> >>>> https://wso2.org/jira/browse/CARBON-10942 >>>> >>> >>> Thanks. What about https://wso2.org/jira/browse/CARBON-10934? We do not >>> need to engage security by default right? I mean isn't HTTPS enough? Because >>> other admin services run on HTTPS too. >>> >> >> HTTPS + session right? So we need username/token. Not just HTTPS. >> > > Oh, got it. > > But, normally, we authenticate using the AuthenticationAdmin, and it will > return a cookie, which is then used by the WS API. So, if we call > AuthenticationAdmin in .NET, would it still return a cookie? If so, it will > just work I guess. > Yes, It works. We have written some .Net samples for UserAdmin Services. Thanks, Thilina > > Thanks, > Senaka. > > >> >>> >>> Thanks, >>> Senaka. >>> >>> >>>> >>>> On Thu, Jun 30, 2011 at 12:46 PM, Senaka Fernando <[email protected]>wrote: >>>> >>>>> >>>>> >>>>> On Thu, Jun 30, 2011 at 12:36 PM, Tharindu Mathew >>>>> <[email protected]>wrote: >>>>> >>>>>> >>>>>> >>>>>> On Thu, Jun 30, 2011 at 12:29 PM, Senaka Fernando <[email protected]>wrote: >>>>>> >>>>>>> >>>>>>> >>>>>>> On Thu, Jun 30, 2011 at 12:26 PM, Tharindu Mathew <[email protected] >>>>>>> > wrote: >>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Thu, Jun 30, 2011 at 12:11 PM, Senaka Fernando >>>>>>>> <[email protected]>wrote: >>>>>>>> >>>>>>>>> Hi Samisa, Sumedha, >>>>>>>>> >>>>>>>>> On Thu, Jun 30, 2011 at 11:30 AM, Samisa Abeysinghe < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Thu, Jun 30, 2011 at 7:27 AM, Sumedha Rubasinghe < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Thu, Jun 30, 2011 at 6:59 AM, Samisa Abeysinghe < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> $subject? >>>>>>>>>>>> >>>>>>>>>>>> Can I use only HTTP style calls without SOAP with the same API? >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Nope. We haven't enabled REST for the same services exposed by WS >>>>>>>>>>> API. >>>>>>>>>>> However, SOAP HTTP Bindings should work by default. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Can we get HTTP style calls working with the same API - how much >>>>>>>>>> work does that involve? >>>>>>>>>> >>>>>>>>> >>>>>>>>> This is a WebService, if REST works for any other WebService >>>>>>>>> deployed in Axis2, this is no different. IMO, we do not require any >>>>>>>>> further >>>>>>>>> work to get this to work over HTTP/REST. >>>>>>>>> >>>>>>>>> >>>>>>>>>> Basically the question is along the lines of how easy I could >>>>>>>>>> write a non-Java based client for the same API. >>>>>>>>>> >>>>>>>>>> As I understand, even to use WS API, with something like a .NET >>>>>>>>>> client, we need to enable WS-Sec. >>>>>>>>>> https://wso2.org/jira/browse/CARBON-10934 >>>>>>>>>> >>>>>>>>> >>>>>>>>> The JKS is required in order to obtain the cookie to make >>>>>>>>> subsequent HTTPS calls. AFAIU, the Carbon Authenticators should be >>>>>>>>> able to >>>>>>>>> work with WS-Security if we are do this. >>>>>>>>> >>>>>>>>> Further, I recall an older discussion where Tharindu, and Chintana >>>>>>>>> participated in getting WS API to work against a .NET client. I'm not >>>>>>>>> sure >>>>>>>>> whether they used a policy or just invoked the service. >>>>>>>>> >>>>>>>> Yes it worked with .net without a problem. At that time there was a >>>>>>>> bug which was fixed. This was not related to WS-Security. >>>>>>>> >>>>>>>> I think this is the second time we are having this discussion and >>>>>>>> about having a .net sample for this. I'm not sure if Chinthana wrote a >>>>>>>> KB or >>>>>>>> blog about what he did. >>>>>>>> >>>>>>> >>>>>>> Yes, +1 for writing a blog or KB on this. We can link to it through >>>>>>> docs. IMO I feel what we need is some sample(s) on how to use this on >>>>>>> .NET. >>>>>>> Better if the same can be done for WS-Discovery as well. Demonstrating >>>>>>> the >>>>>>> fact that G-Reg can discover .NET services (which can be done even right >>>>>>> now), is equally good. >>>>>>> >>>>>> >>>>>> How about including a .net sample with g-reg as well? Is it possible? >>>>>> Any technical or legal implications? >>>>>> >>>>> >>>>> Technically no, AFAIU. WSF/C, WSF/C++ ships .NET projects, so we can do >>>>> that in G-Reg too. I see no limitation. >>>>> >>>>> Thanks, >>>>> Senaka. >>>>> >>>>> >>>>>> >>>>>>> Thanks, >>>>>>> Senaka. >>>>>>> >>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> Senaka. >>>>>>>>> >>>>>>>>> >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> When Registry work started, we used to support REST style of >>>>>>>>>>> invocation for all Registry operations. But this aspect hasn't been >>>>>>>>>>> tested >>>>>>>>>>> (Krishantha did some work) or developed for a long time. >>>>>>>>>>> >>>>>>>>>>> /sumedha >>>>>>>>>>> >>>>>>>>>>>> Thanks, >>>>>>>>>>>> Samisa... >>>>>>>>>>>> >>>>>>>>>>>> Samisa Abeysinghe >>>>>>>>>>>> VP Engineering >>>>>>>>>>>> WSO2 Inc. >>>>>>>>>>>> http://wso2.com >>>>>>>>>>>> http://wso2.org >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Carbon-dev mailing list >>>>>>>>>>>> [email protected] >>>>>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Carbon-dev mailing list >>>>>>>>>>> [email protected] >>>>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>>>>>>> >>>>>>>>>>> Thanks, >>>>>>>>>> Samisa... >>>>>>>>>> >>>>>>>>>> Samisa Abeysinghe >>>>>>>>>> VP Engineering >>>>>>>>>> WSO2 Inc. >>>>>>>>>> http://wso2.com >>>>>>>>>> http://wso2.org >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> Carbon-dev mailing list >>>>>>>>>> [email protected] >>>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> *Senaka Fernando* >>>>>>>>> Product Manager - WSO2 Governance Registry; >>>>>>>>> Associate Technical Lead; WSO2 Inc.; http://wso2.com* >>>>>>>>> Member; Apache Software Foundation; http://apache.org >>>>>>>>> >>>>>>>>> E-mail: senaka AT wso2.com >>>>>>>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >>>>>>>>> Linked-In: http://linkedin.com/in/senakafernando >>>>>>>>> >>>>>>>>> *Lean . Enterprise . Middleware >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Carbon-dev mailing list >>>>>>>>> [email protected] >>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Regards, >>>>>>>> >>>>>>>> Tharindu >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Carbon-dev mailing list >>>>>>>> [email protected] >>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> *Senaka Fernando* >>>>>>> Product Manager - WSO2 Governance Registry; >>>>>>> Associate Technical Lead; WSO2 Inc.; http://wso2.com* >>>>>>> Member; Apache Software Foundation; http://apache.org >>>>>>> >>>>>>> E-mail: senaka AT wso2.com >>>>>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >>>>>>> Linked-In: http://linkedin.com/in/senakafernando >>>>>>> >>>>>>> *Lean . Enterprise . Middleware >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Carbon-dev mailing list >>>>>>> [email protected] >>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> >>>>>> Tharindu >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Carbon-dev mailing list >>>>>> [email protected] >>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Senaka Fernando* >>>>> Product Manager - WSO2 Governance Registry; >>>>> Associate Technical Lead; WSO2 Inc.; http://wso2.com* >>>>> Member; Apache Software Foundation; http://apache.org >>>>> >>>>> E-mail: senaka AT wso2.com >>>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >>>>> Linked-In: http://linkedin.com/in/senakafernando >>>>> >>>>> *Lean . Enterprise . Middleware >>>>> >>>>> >>>>> _______________________________________________ >>>>> Carbon-dev mailing list >>>>> [email protected] >>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>> >>>>> Thanks, >>>> Samisa... >>>> >>>> Samisa Abeysinghe >>>> VP Engineering >>>> WSO2 Inc. >>>> http://wso2.com >>>> http://wso2.org >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >>> >>> -- >>> *Senaka Fernando* >>> Product Manager - WSO2 Governance Registry; >>> Associate Technical Lead; WSO2 Inc.; http://wso2.com* >>> Member; Apache Software Foundation; http://apache.org >>> >>> E-mail: senaka AT wso2.com >>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >>> Linked-In: http://linkedin.com/in/senakafernando >>> >>> *Lean . Enterprise . Middleware >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> Thanks, >> Samisa... >> >> Samisa Abeysinghe >> VP Engineering >> WSO2 Inc. >> http://wso2.com >> http://wso2.org >> >> >> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > *Senaka Fernando* > Product Manager - WSO2 Governance Registry; > Associate Technical Lead; WSO2 Inc.; http://wso2.com* > Member; Apache Software Foundation; http://apache.org > > E-mail: senaka AT wso2.com > **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 > Linked-In: http://linkedin.com/in/senakafernando > > *Lean . Enterprise . Middleware > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Thilina Buddhika Associate Technical Lead WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
