Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Apache ODE HelloWorld

 
Ranch Hand
Posts: 42
Postgres Database Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Postgres Database Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic