Hello,

I have followed the steps described in this tutorial: 
-
http://pettergraff.blogspot.com/2010/11/developing-web-service-in-eclipse.html
Thus I have created a web service starting from a Java class.

I am using:
- Server: Tomcat 7.0
- Eclipse: eclipse-jee-helios-SR2-win32.zip
- JAVA EE:java_ee_sdk-6u2-jdk-windows.exe
- JDK: jdk-6u26-windows-i586.exe
- Apache cxf: 2.3.4

I have configured  Tomcat to use CXF and I added CXF to web service runtime:
- Thus as it apears in the videos I have set the Tomcat server as server
runtime environments -> "Window-> Preferences->Server-> Runtime
Environments"
- And I added CXF to the Web Service Runtimes  -> Window-> Preferences->Web
services -> CXF 2.x Preferences ->CXF Runtime -> and I have added the path
to apache cxf".
- And Finally I have set: "Window-> Preferences->Web services -> Server and
Runtime" path I have added "Tomcat v7.0" as Server runtime and "Apache CXF
2.x" as Web service runtime.

I have set the following environmental variables:
- JAVA_HOME=D:\JDK_ECLISPE
- CATALINA_HoME=C:\Tomcat 7.0


*
Should I do other settings too? Should I do /spring configuration/ too? Is
it possible that the installed versions may not be compatible?
I made no changes to the generated files "beans.xml" and "web.xml".
*

I have to say that my web services are a little more complicated because
they set up a connection to an OPC UA server (simply a software server,
which runs on the same machine) and also perform some 
operations with it, so they are acting as OPC UA clients too.
 
Thus I have a "Java Project" for example "Prosys_services" which contains a
package with a Java class for each service. Starting from this classess I
have created the web services
and the Web service clients in two different Dynamic Web Projects.

*There is a strange thing that at first (after I create some web services)
they work well *and after more tests (creating some web service and web
service clients, deleting them and after that 
generating them with some necesary modifications), at the call of a web
service I obtain the error described in my first message.
And of course starting from this point the creation of another web service
starting from the Java project is impossible because I obtain the error "The
selection must be a WSDL."

Thanks a lot!
Alina

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Odd-error-with-CXF-Please-help-tp4490161p4513754.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to