stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dakshika Jayathilaka <daksh...@wso2.com>
Subject Re: Can not create tenants from REST API
Date Thu, 11 Dec 2014 06:42:59 GMT
Hi Udara,

are you using 4.1.0- test branch ?

*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Thu, Dec 11, 2014 at 12:06 PM, Udara Liyanage <udara@wso2.com> wrote:

> Hi Dakshika,
>
> Still the same fate.
>
> On Thu, Dec 11, 2014 at 12:00 PM, Dakshika Jayathilaka <dakshika@wso2.com>
> wrote:
>
>> Try with this
>>
>> curl -X POST -H "Content-Type: application/json" -d @request -k -v -u
>> admin:admin https://localhost:9443/api/v4.1/tenants
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Thu, Dec 11, 2014 at 11:46 AM, Udara Liyanage <udara@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I got errors when creating a tenant using REST API. I remember this kind
>>> of error is fixed sometime back.
>>>
>>>  curl -X POST -H "Content-Type: application/json" -d @request -k -v -u
>>> admin:admin https://localhost:9443/api/tenants
>>>
>>> {"Error":{ "errorCode": " 500", "errorMessage": " Internal server
>>> error"}}
>>>
>>> Backend Error log :
>>>
>>> [2014-12-11 11:43:39,865]  WARN {org.apache.cxf.jaxrs.utils.JAXRSUtils}
>>> - * No message body reader has been found for request class
>>> TenantInfoBean, ContentType : application/json.*
>>>
>>>
>>> --
>>>
>>> Udara Liyanage
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> web: http://udaraliyanage.wordpress.com
>>> phone: +94 71 443 6897
>>>
>>
>>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>

Mime
View raw message