Hi Asela,

Please note that you need to have the following format for your username
*emailaddress@organizationName*
In my case, the username was *[email protected]@bizorg*

Hope this resolves your concern.

Thanks
Manisha

On Sun, Mar 22, 2015 at 11:03 PM, Asela Damian Perera <
[email protected]> wrote:

> Hi,
>
>        I want to get a clarification on what is required in the project,
> is to have a java api client which is inturn invoked by cli scripts of each
> os type, or a cross platform cli itself doing the accessing of the api
>        Looking forward for a reply for previous mails in this thread as
> well.
>
> Thank You.
>
> Regards,
> Asela Damian Perera.
>
> On Fri, Mar 20, 2015 at 10:06 PM, Asela Damian Perera <
> [email protected]> wrote:
>
>> Hi,
>>
>>       I used curl command using linux os, still it gives *false*, same
>> problem exists
>>
>> Thank you,
>> Asela Damian Perera.
>>
>> On Fri, Mar 20, 2015 at 9:59 PM, Asela Damian Perera <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>>          As a start I checked the App Factory API, and wrote a java
>>> program to login and getApplications actions of App Factory API, it get's
>>> the success status 200 http response code, but doesn't login, I checked
>>> whether my email and password by login into the cloud, they are correct
>>> too. And i tried using the dot instead of @ also in the username. And also
>>> have used POST request also.
>>>
>>> Gives Following output:
>>> Login
>>> Sending 'POST' request to URL :
>>> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
>>> Post parameters : action=login&[email protected]
>>> &password=Aa1.Aa1.
>>> Response Code : 200
>>> Set-Cookie : JSESSIONID=6A607AF130397AA25D0EB431EA906B2D; Path=/appmgt/;
>>> Secure; HttpOnly
>>> false
>>>
>>> Get Applications
>>> Sending 'POST' request to URL :
>>> https://apps.cloud.wso2.com/appmgt/site/blocks/application/get/ajax/list.jag
>>> Post parameters : action=getApplicationsOfUser&userName=
>>> abc123.box123box123.site90.com
>>> Response Code : 200
>>> Cookie : null
>>> {"errorCode" : "401", "errorMessage" : "Unauthorized access!!!"}
>>>
>>> [image: Inline image 2]
>>>
>>> Thank You,
>>> Asela Damian Perera.
>>>
>>> On Fri, Mar 20, 2015 at 9:36 PM, Asela Damian Perera <
>>> [email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>>          I am currently a second year undergraduate at Informatics
>>>> Institute of Technology (IIT) SriLanka, I am a quick learner, ready to
>>>> achieve challenges, familiar with java and batch top of first year sept
>>>> intake last year. I am willing to complete the following proposal Proposal
>>>> 6: AppFactory - Command Line Tool
>>>> <https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal6:AppFactory-CommandLineTool>
>>>> .
>>>>
>>>>         For information on my technical aspects and projects visit my
>>>> website: http://www.manybrilliantideas.comxa.com/
>>>>         For more information about me visit my LinkedIn profile:
>>>> http://lk.linkedin.com/in/aseladamianperera
>>>>
>>>>         Looking forward for a further discussion on the proposal. Thank
>>>> you.
>>>>
>>>> Best Regards,
>>>> Asela Damian Perera
>>>>
>>>
>>>
>>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
~Regards
*Manisha Eleperuma*
Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware

*blog:      http://manisha-eleperuma.blogspot.com/
<http://manisha-eleperuma.blogspot.com/>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to