ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Foo Shyn Chung <ipoh...@gmail.com>
Subject Re: Restful service in ofbiz
Date Thu, 14 Jun 2012 09:57:44 GMT
Sorry my mistake. Mis-typed the header name in the PingResource and end up
getting the wrong result.

Am able to get it to work now. Thanks a lot for the help.

Thanx
FooShyn

On Thu, Jun 14, 2012 at 5:46 PM, Foo Shyn Chung <ipohfly@gmail.com> wrote:

> I'm getting the same error :  org.ofbiz.service.ServiceAuthException:
> User authorization is required for this service: ping
>
> The raw input of my headers are:
>
> login.username: admin
> login.password: ofbiz
>
> Do i need to use the https URL instead of normal http ?
>
> Thanx
> FooShyn
>
> On Thu, Jun 14, 2012 at 5:35 PM, Ankit Jain <ankit.it09@gmail.com> wrote:
>
>> I have tested it on advanced REST client on Chrome try this
>>
>> https://chrome.google.com/webstore/detail/hgmloofddffdnphfgcellkdfbfbjeloo
>>
>> HTH
>>
>> Regards,
>> Ankit Jain
>>
>>
>>
>> On Thu, Jun 14, 2012 at 2:58 PM, Foo Shyn Chung <ipohfly@gmail.com>
>> wrote:
>> > Thanx Ankit.
>> >
>> > One thing, i'd followed the document and so far have been able to work
>> out
>> > the REST service to perform the ping. However when I add in the
>> > authentication and using the restclient in my firefox to test it, i
>> keep on
>> > getting authentication failed error. The restclient on my firefox is of
>> > version 2.0.3.
>> >
>> > I'd added the login.username and login.password on the Request Header
>> > section but it still fails. Any idea why this is not working?
>> >
>> > Thanx
>> > FooShyn
>> >
>> > On Thu, Jun 14, 2012 at 3:57 PM, Ankit Jain <ankit.it09@gmail.com>
>> wrote:
>> >
>> >> I dont think its done yet.
>> >>
>> >> Regards,
>> >> Ankit Jain
>> >>
>> >>
>> >>
>> >> On Thu, Jun 14, 2012 at 1:07 PM, Foo Shyn Chung <ipohfly@gmail.com>
>> wrote:
>> >> > Thanx Ankit.
>> >> >
>> >> > I'm just curious whether the mentioned improvement in the article is
>> >> being
>> >> > done or not (to have something like the expose="true" for REST).
>> >> >
>> >> > Thanx
>> >> > FooShyn
>> >> >
>> >> > On Wed, Jun 13, 2012 at 7:41 PM, Ankit Jain <ankit.it09@gmail.com>
>> >> wrote:
>> >> >
>> >> >> Hi FooShyn,
>> >> >>
>> >> >> I have used the restful services by following the same document
but
>> I
>> >> >> used with 10.04 not sure about 12.04 but I think it will work with
>> >> >> 12.04 also. :)
>> >> >>
>> >> >> Regards,
>> >> >> Ankit Jain
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Wed, Jun 13, 2012 at 4:56 PM, Foo Shyn Chung <ipohfly@gmail.com>
>> >> wrote:
>> >> >> > Hi all,
>> >> >> >
>> >> >> > My current project needs to expose the ofbiz servce as web
>> service and
>> >> >> > currently i'm thinking to expose them as restful service since
>> from
>> >> what
>> >> >> i
>> >> >> > read on the line is that android is better suited with restful
>> >> services.
>> >> >> >
>> >> >> > I have found this link whereby i'm able to export the service
as a
>> >> >> restful
>> >> >> > web serivce. I wonder whether the configuration mentioned
in the
>> site
>> >> >> > (something similar to the export="true") is done as of version
>> 12.04?
>> >> >> >
>> >> >> > https://cwiki.apache.org/OFBIZ/export-service-using-rest.html
>> >> >> >
>> >> >> > Anyone with any experience with working on restful web service
on
>> >> ofbiz?
>> >> >> > Any idea?
>> >> >> >
>> >> >> > Thanx
>> >> >> > FooShyn
>> >> >>
>> >>
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message