2
September - 2010
Thursday

Service Enabling Openbravo

Posted by osserpguru On June - 24 - 20084 COMMENTS

If you are serious about integration, you need to talk SOA. SOA stand for Service Oriented Architecture. I’m sure 99% of my visitors have heard that buzzword.  A good explanation about what SOA and what are its benefits is can be found here.

The foundations of SOA are web services, and although SOA is all about standards (e.g. standard method of exposing business functions through web-services), which business functions are exposed is not standard at all. It is left to the software vendor to decide what he wants to expose.

Openbravo Web-Services

Since my last few posts are about integration, I decided to explore Openbravo’s  web-srvices. According to the web-service guide in Openbravo’s Wiki, you just need to run:

#ant installWebServic

That did not work initially. I found that you have to update the correct URL of your Openbrabo installation for the deployment of the web services to work. In my installation, Tomcat is listening on a port other than the regular one and I do not use ‘localhost’ as the server name.  If this is the case for you, you have to change the file:

build.xml  -  which is located under the root directory of your Openbravo installation.

The property that needs to be changed is:

<property name=”context.url” value=”http://localhost:8880/openbravo”/>

You should change ‘localhost’ to the hostname you are using for your tomcat installation, and the port 8880 to the port your tomcat is listening on (usually 8080, but really depends on your configuration).

Now run

#ant installWebService

Your Openbravo is now SOA ready! , or almost. I hope that Openbravo will expose many more business functions through web services. This is on the roadmap of every major business software vendor and I believe this is where Openbravo should go. Also, Openbravo uses Axis 1.4 as a web service generator, while the current development project is Axis2, which has better performance,lower memory footprint and a host of other features that make it a better choice than Axis 1.4.

Openbravo WSDL File

Openbravo web services WSDL file

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • Identi.ca
  • LinkedIn
  • Netvibes
  • RSS
  • Slashdot
  • SphereIt
  • StumbleUpon
  • Technorati
  • Tumblr
  • Twitter
  • Yahoo! Bookmarks
Relates Posts:

4 Responses to “Service Enabling Openbravo”

  1. tre says:

    Thanks a lot for the article! I am currently having problem configuring OpenBravo to install the web service to have it integrate with the POS.

    This site looks new. I hope Open Source ERPs will go big.

    Will definitely check back often ;)

  2. osserpguru says:

    Hi tre,
    As you mentioned, the Openbravo web-service are used in the integration between Openbravo and POS. I hope the post will help you solve the issue you are facing.
    Good luck,
    Open Source ERP Guru

  3. Fidel Herrera reyes says:

    Buildfile: build.xml does not exist! Build failed on openbravo

    is the message i get when i try

    ant installWebService

    is this the problem you descrive, if not can you help?

  4. Although an old question: for the purpose of Google queries I’ll complete Fidel’s question.

    You must run the ant command in the directory where the build.xml file exists. This is the root directory of Openbravo installation. Try $locate build.xml if you’re not sure.

Leave a Reply


 Home - Flash Comparator - Activity Trends - Contact - About - Advertise With Us