How to interact with webserver as a orbeon client

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to interact with webserver as a orbeon client

prasanthi_ofbiz

I have to create orbeon client which can able to give user inputs for saving,
display it on the orbeon forms . So where i have to specify the database
details and how can i send the input data to that server. When ever I searches
for any record it should interact with ROR server and I have to access resulted
data in xml format coming from Ruby on Rails service and display the result in
orbeon forms [client side], how can i do it....
Please provide me one sample application having webservice connection, request
response process between orbeon client and ROR service


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: How to interact with webserver as a orbeon client

Erik Bruchez
Administrator
Form Runner has a REST API which you could implement on your ROR side.

We have some documentation on this API here:

http://wiki.orbeon.com/forms/doc/contributor-guide/form-builder-integration-notes

-Erik

On May 20, 2009, at 11:43 PM, <[hidden email]> <[hidden email]
 > wrote:

>
> I have to create orbeon client which can able to give user inputs  
> for saving,
> display it on the orbeon forms . So where i have to specify the  
> database
> details and how can i send the input data to that server. When ever  
> I searches
> for any record it should interact with ROR server and I have to  
> access resulted
> data in xml format coming from Ruby on Rails service and display the  
> result in
> orbeon forms [client side], how can i do it....
> Please provide me one sample application having webservice  
> connection, request
> response process between orbeon client and ROR service
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: How to interact with webserver as a orbeon client

prasanthi_ofbiz

Erik Thanks for giving response
   but still i am not clear. I have created one application using form builder,
glad working fine.Saving data retrieving data also. My issue is where it is
saving in the backend? I am not specifying any database name, tables,columns.
If you give answer for this is data is storing in eXist database my another
query is  1. in my directory structure i am not able to see eXist directory.
2. We can't use mysql database?
I deployed my orbeon in apache tomcat web server.
I can able to see one exist directory located
/home/openuser/apache/apache-tomcat-5.5.27/webapps/orbeon/WEB-INF/resources/apps/fr/persistence/exist

but its not containing any .xhtml files related to my Form Builder application.


Requirement:
   create one form using Form Builder. Give input and save it into ROR server.
So let me know where we have to specify remote database connection and how we
have to send the input data for saving.
Please help me in this issue.......

Thanks in advacne,
Prasanthi


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: How to interact with webserver as a orbeon client

Alessandro Vernet
Administrator
Prasanthi,

prashanthi wrote
1. in my directory structure i am not able to see eXist directory.
2. We can't use mysql database?
I deployed my orbeon in apache tomcat web server.
I can able to see one exist directory located
/home/openuser/apache/apache-tomcat-5.5.27/webapps/orbeon/WEB-INF/resources/apps/fr/persistence/exist

but its not containing any .xhtml files related to my Form Builder application.


Requirement:
   create one form using Form Builder. Give input and save it into ROR server.
So let me know where we have to specify remote database connection and how we
have to send the input data for saving.
Please help me in this issue.......

Thanks in advacne,
Prasanthi


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Out of the box, you data is stored in eXist. You browse the content of your eXist database by going to http://localhost:8080/orbeon/exist/webdav/db/. Login with the username "admin" and leave the password empty.

Persistence is Form Builder / Form Runner goes through the "persistence layer REST API". Out of the box, we have implementation of the persistence layer for eXist and Oracle. But you can certainly implement one for MySQL or one that calls your ROR code. See:

http://wiki.orbeon.com/forms/doc/contributor-guide/form-builder-integration-notes

Alex