Ofbiz & Web Services

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Ofbiz & Web Services

Gisgreat
Hi all,
Is it possible with Ofbiz to implement Webservices and access it using mobile device such as PDA?

Thanks.
Reply | Threaded
Open this post in threaded view
|

RE: Ofbiz & Web Services

Nikita Shinde
Hi,

        Yes it's possible to implement Webservices in OFBiz. Every service
in OFBiz has a potentially be a Webservice and this is easily done by
setting export="true" in the service definition of the OFBiz service.

Example :

<service name="blockingTestScv" engine="java" export="true" validate="false"
require-new-transaction="true" transaction-timeout="20"
location="org.ofbiz.common.CommonServices" invoke="blockingTestService">
        <description>Blocking Test service</description>
        <attribute name="message" type="String" mode="IN" optional="true"/>
        <attribute name="resp" type="String" mode="OUT"/>
</service>

Also you can extract wsdl file for a exportable service as shown for the
below example:

https://demo.hotwaxmedia.com/webtools/control/ServiceList?sel_service_name=b
lockingTestScv

Here you can click on "Show wsdl" link and get the wsdl.

I am not clear when you say accessing it using a mobile device. You can
access OFBiz from any mobile browser, it's just that you will have to
implement some low-bandwidth web pages.

Hope this helps.

Regards,
Nikita Shinde
Amicon Technologies Pvt. Ltd., Mumbai, India.
India's No. 1 OFBiz Services Provider


-----Original Message-----
From: Gisgreat [mailto:[hidden email]]
Sent: Friday, January 09, 2009 5:01 PM
To: [hidden email]
Subject: Ofbiz & Web Services


Hi all,
Is it possible with Ofbiz to implement Webservices and access it using
mobile device such as PDA?

Thanks.
--
View this message in context:
http://www.nabble.com/Ofbiz---Web-Services-tp21370608p21370608.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz & Web Services

Sven Wesley
...or make a PDA application that uses the webservice as data carrier.

Regards,
Sven

2009/1/9 Nikita Shinde <[hidden email]>

> Hi,
>
>        Yes it's possible to implement Webservices in OFBiz. Every service
> in OFBiz has a potentially be a Webservice and this is easily done by
> setting export="true" in the service definition of the OFBiz service.
>
> Example :
>
> <service name="blockingTestScv" engine="java" export="true"
> validate="false"
> require-new-transaction="true" transaction-timeout="20"
> location="org.ofbiz.common.CommonServices" invoke="blockingTestService">
>        <description>Blocking Test service</description>
>        <attribute name="message" type="String" mode="IN" optional="true"/>
>        <attribute name="resp" type="String" mode="OUT"/>
> </service>
>
> Also you can extract wsdl file for a exportable service as shown for the
> below example:
>
>
> https://demo.hotwaxmedia.com/webtools/control/ServiceList?sel_service_name=b
> lockingTestScv
>
> Here you can click on "Show wsdl" link and get the wsdl.
>
> I am not clear when you say accessing it using a mobile device. You can
> access OFBiz from any mobile browser, it's just that you will have to
> implement some low-bandwidth web pages.
>
> Hope this helps.
>
> Regards,
> Nikita Shinde
> Amicon Technologies Pvt. Ltd., Mumbai, India.
> India's No. 1 OFBiz Services Provider
>
>
> -----Original Message-----
> From: Gisgreat [mailto:[hidden email]]
> Sent: Friday, January 09, 2009 5:01 PM
> To: [hidden email]
> Subject: Ofbiz & Web Services
>
>
> Hi all,
> Is it possible with Ofbiz to implement Webservices and access it using
> mobile device such as PDA?
>
> Thanks.
> --
> View this message in context:
> http://www.nabble.com/Ofbiz---Web-Services-tp21370608p21370608.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz & Web Services

BJ Freeman
In reply to this post by Gisgreat
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

you might look at specialpurpose/hhfacility
it has not been maintained thru the current core revisiions so needs so
work on it, to view it.
This was to use a Hand-held directly and no need for webservice just a
built in web browser.


Gisgreat sent the following on 1/9/2009 3:30 AM:
> Hi all,
> Is it possible with Ofbiz to implement Webservices and access it using
> mobile device such as PDA?
>
> Thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJZ0CfrP3NbaWWqE4RAgyJAKCguo/Pv98YMs+aQlYfhBz1fe91mwCg0QxF
uUq0NQYVTvDd+uDttl/neCs=
=9l28
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz & Web Services

Jacques Le Roux
Administrator
In reply to this post by Gisgreat
You may be interested by the FAQ
http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Soap

Jacques

From: "Gisgreat" <[hidden email]>

>
> Hi all,
> Is it possible with Ofbiz to implement Webservices and access it using
> mobile device such as PDA?
>
> Thanks.
> --
> View this message in context: http://www.nabble.com/Ofbiz---Web-Services-tp21370608p21370608.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

RE: Ofbiz & Web Services

Gisgreat
In reply to this post by Nikita Shinde
Nikita Shinde wrote
Hi,

        Yes it's possible to implement Webservices in OFBiz. Every service
in OFBiz has a potentially be a Webservice and this is easily done by
setting export="true" in the service definition of the OFBiz service.

Example :

<service name="blockingTestScv" engine="java" export="true" validate="false"
require-new-transaction="true" transaction-timeout="20"
location="org.ofbiz.common.CommonServices" invoke="blockingTestService">
        <description>Blocking Test service</description>
        <attribute name="message" type="String" mode="IN" optional="true"/>
        <attribute name="resp" type="String" mode="OUT"/>
</service>

Also you can extract wsdl file for a exportable service as shown for the
below example:

https://demo.hotwaxmedia.com/webtools/control/ServiceList?sel_service_name=b
lockingTestScv

Here you can click on "Show wsdl" link and get the wsdl.

I am not clear when you say accessing it using a mobile device. You can
access OFBiz from any mobile browser, it's just that you will have to
implement some low-bandwidth web pages.

Hope this helps.

Regards,
Nikita Shinde
Amicon Technologies Pvt. Ltd., Mumbai, India.
India's No. 1 OFBiz Services Provider


-----Original Message-----
From: Gisgreat [mailto:paixdslemonde@hotmail.com]
Sent: Friday, January 09, 2009 5:01 PM
To: user@ofbiz.apache.org
Subject: Ofbiz & Web Services


Hi all,
Is it possible with Ofbiz to implement Webservices and access it using
mobile device such as PDA?

Thanks.
--
View this message in context:
http://www.nabble.com/Ofbiz---Web-Services-tp21370608p21370608.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
how to get the username and password of this link: https://demo.hotwaxmedia.com/webtools/control/ServiceList?sel_service_name=b
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz & Web Services

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

you need to use an userID already setup in the Partymanger that has the
correct permissions.
you can pass the userID and password this way
?USERNAME=demoadmin&PASSWORD=ofbiz

Gisgreat sent the following on 1/10/2009 2:14 AM:

>
> Nikita Shinde wrote:
>> Hi,
>>
>> Yes it's possible to implement Webservices in OFBiz. Every service
>> in OFBiz has a potentially be a Webservice and this is easily done by
>> setting export="true" in the service definition of the OFBiz service.
>>
>> Example :
>>
>> <service name="blockingTestScv" engine="java" export="true"
>> validate="false"
>> require-new-transaction="true" transaction-timeout="20"
>> location="org.ofbiz.common.CommonServices" invoke="blockingTestService">
>>         <description>Blocking Test service</description>
>>         <attribute name="message" type="String" mode="IN"
>> optional="true"/>
>>         <attribute name="resp" type="String" mode="OUT"/>
>> </service>
>>
>> Also you can extract wsdl file for a exportable service as shown for the
>> below example:
>>
>> https://demo.hotwaxmedia.com/webtools/control/ServiceList?sel_service_name=b
>> lockingTestScv
>>
>> Here you can click on "Show wsdl" link and get the wsdl.
>>
>> I am not clear when you say accessing it using a mobile device. You can
>> access OFBiz from any mobile browser, it's just that you will have to
>> implement some low-bandwidth web pages.
>>
>> Hope this helps.
>>
>> Regards,
>> Nikita Shinde
>> Amicon Technologies Pvt. Ltd., Mumbai, India.
>> India's No. 1 OFBiz Services Provider
>>
>>
>> -----Original Message-----
>> From: Gisgreat [mailto:[hidden email]]
>> Sent: Friday, January 09, 2009 5:01 PM
>> To: [hidden email]
>> Subject: Ofbiz & Web Services
>>
>>
>> Hi all,
>> Is it possible with Ofbiz to implement Webservices and access it using
>> mobile device such as PDA?
>>
>> Thanks.
>> --
>> View this message in context:
>> http://www.nabble.com/Ofbiz---Web-Services-tp21370608p21370608.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>>
>
> how to get the username and password of this link:
> https://demo.hotwaxmedia.com/webtools/control/ServiceList?sel_service_name=b
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJaOVkrP3NbaWWqE4RAhF2AJ9vdE2YKEGZyPVFe+DU2MhXg3JQNgCgwukz
E7VSYMRgH2k356JfeA9CkE0=
=Qgar
-----END PGP SIGNATURE-----