Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache ODE HelloWorld

 
Alexandru Gifei
Ranch Hand
Posts: 42
Java Linux Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have followed the basic tutorial from the Apache ODE website, a couple of times.. In particular this one:
http://people.apache.org/~vanto/HelloWorld-BPELDesignerAndODE.pdf
First i used tomcat 6, and the latest eclipse & latest ODE war, and i got stuck at step 23. Then i used tomcat 5.5 and eclipse 3.6 and the 1.2 war. This scenario failed from the start, because i could not install BPEL designer to this version of eclipse (it seems that plugins need the last version of eclipse). Then i switched to the latest eclipse, tomcat 5.5 and 1.2 war. I followed the tutorial more than 1 time, and im almost sure that i haven't missed anything from the pdf, and i could not deploy the service. It doesn't show in axis2 /listServices url. Is anyone familiar with this ? Maybe i am missing some axis configuration that is not stated in the tutorial. I would appreciate a lot a hint, something, anything.

Regards,
Alexandru
 
Alexandru Gifei
Ranch Hand
Posts: 42
Java Linux Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I forgot to mention that linux was the OS that i used.
Update: I just used the same setup on windows and i succesfully deployed the WS. I can also see it in my logs:

It is a mistery to me why it did not work on linux.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't used ODE for a while, but thought I gave it a quick try. I download ODE 1.3.5 and put the .war into the web apps directory of a running Tomcat 7 instance - it deployed fine.

Then I copied the HelloWorld2 directory that comes in the examples directory into WEB-INF/processes - that deployed fine, too. I can see it listed in http://localhost:8080/ode/processes.html, http://localhost:8080/ode/deployment.html, http://localhost:8080/ode/deployment/bundles/, http://localhost:8080/ode/deployment/services/, http://localhost:8080/ode/deployment/processes/ and http://localhost:8080/ode/services/listServices. Its URL is http://localhost:8080/ode/processes/helloWorld (and http://localhost:8080/ode/processes/helloWorld?wsdl for the WSDL).

If I then set my PATH correctly, I can execute sendsoap http://localhost:8080/ode/processes/helloWorld testRequest.soap fine.

Having said all that - I'm using OS X, Tomcat 7, the latest ODE, no Eclipse, and no ODE Designer, so I'm not sure if this helps you at all. I just wanted to point out that getting ODE to run, as well as the simplest example it comes with, is quite straightforward - which may or may not help you. If nothing else, I would advise to use Tomcat 7 and the latest version of ODE.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic