This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Apache ODE HelloWorld Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Apache ODE HelloWorld" Watch "Apache ODE HelloWorld" New topic
Author

Apache ODE HelloWorld

Alexandru Gifei
Ranch Hand

Joined: May 19, 2012
Posts: 40

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


Life is not measured by the number of breaths we take, but by the moments that take our breath away.
Alexandru Gifei
Ranch Hand

Joined: May 19, 2012
Posts: 40

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
Marshal

Joined: Mar 22, 2005
Posts: 41129
    
  45
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache ODE HelloWorld
 
Similar Threads
Eclipse: How to add Tomcat Library?
please help... which IDE ?
Enable Root Context in Tomcat 5.5
Which Eclipse realise to develop JSF?
bpel plugin for eclipse indigo