Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Web Service creation error
Web Service creation error [message #175830] Mon, 31 July 2006 20:39 Go to next message
Eclipse UserFriend
Originally posted by: avinh.verizon.net

Hi,

I followed the instructions at the following page to try to create the
"Converter.java" web service but got the error "IWAB0514E" listed in a
dialog box - see the full message below.

http://www.eclipse.org/webtools/initial-contribution/IBM/eva lGuides/WebServicesToolsEval.html?p=1#tour-bu-prereqwsi

IWAB0514E Unable to get URL for project {0}

I'm running Eclipse 3.1.2 with Tomcat 5.5.12. When I start Tomcat inside
of Eclipse using the "Servers" tab, the "Console" window shows that Tomcat
is running but the "Servers" window shows "starting..." and eventually
comes back with the error message:

Timeout waiting for Tomcat v5.5 Server @ localhost to start. Server did
not start after 45000s.

I don't believe Tomcat is actually running since if I go to my URL (I'm
running the SSL port only):

https://localhost:8443/

I get an error. If I start Tomcat via its own monitoring tool, then going
to the above URL shows the Tomcat welcome screen as expected.

I believe that I can not create the web service (i.e. error IWAB0514E)
because Tomcat is not actually running (and perhaps other problems
involved too?). How do I get Eclipse to first correctly start Tomcat so
that I can go to my URL and see the welcome screen?

Thanks - Alan
Re: Web Service creation error [message #175893 is a reply to message #175830] Tue, 01 August 2006 13:43 Go to previous messageGo to next message
Chris Brealey is currently offline Chris BrealeyFriend
Messages: 104
Registered: July 2009
Senior Member
Alan,
the IWAB0514E is usually a side effect of an improperly configured/startable server.

A couple questions about your configuration that might help narrow this down:
1. Since you are running on Eclipse 3.1.2, am I right that you're using WTP 1.0?
2. What JRE or JDK are you (a) running Eclipse WTP on and (b) running Tomcat 5.5.12 on?
3. When you used Preferences... - Server - Installed Runtimes to install Tomcat 5.5.12 (in "c:\tomcat_5.5" according to
another post you made), did you point to a fresh installation of Tomat 5.5.12, or to a more "seasoned" installation?

In case this helps pin down a key difference, my configuration in which the server starts normally and the Web service
deploys OK is Eclipse WTP 1.0 running on Sun JDK 1.4.2_05 with a freshly unzipped Tomcat 5.5.3 installed into WTP and
configured to use Sun JDK 1.5.0_07.

Cheers - CB.

Alan wrote:

> Hi,
>
> I followed the instructions at the following page to try to create the
> "Converter.java" web service but got the error "IWAB0514E" listed in a
> dialog box - see the full message below.
>
> http://www.eclipse.org/webtools/initial-contribution/IBM/eva lGuides/WebServicesToolsEval.html?p=1#tour-bu-prereqwsi
>
> IWAB0514E Unable to get URL for project {0}
>
> I'm running Eclipse 3.1.2 with Tomcat 5.5.12. When I start Tomcat inside
> of Eclipse using the "Servers" tab, the "Console" window shows that Tomcat
> is running but the "Servers" window shows "starting..." and eventually
> comes back with the error message:
>
> Timeout waiting for Tomcat v5.5 Server @ localhost to start. Server did
> not start after 45000s.
>
> I don't believe Tomcat is actually running since if I go to my URL (I'm
> running the SSL port only):
>
> https://localhost:8443/
>
> I get an error. If I start Tomcat via its own monitoring tool, then going
> to the above URL shows the Tomcat welcome screen as expected.
>
> I believe that I can not create the web service (i.e. error IWAB0514E)
> because Tomcat is not actually running (and perhaps other problems
> involved too?). How do I get Eclipse to first correctly start Tomcat so
> that I can go to my URL and see the welcome screen?
>
> Thanks - Alan
Re: Web Service creation error [message #175916 is a reply to message #175893] Tue, 01 August 2006 15:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: avinh.verizon.net

Chris Brealey wrote:

> Alan,
> the IWAB0514E is usually a side effect of an improperly configured/startable
server.

> A couple questions about your configuration that might help narrow this down:
> 1. Since you are running on Eclipse 3.1.2, am I right that you're using WTP
1.0?

Yes, I'm currently using WTP 1.0.2

> 2. What JRE or JDK are you (a) running Eclipse WTP on and (b) running Tomcat
5.5.12 on?

Eclipse is using Sun's JRE 1.5.0_05, Tomcat is using Sun's JDK 1.5.0_05.

> 3. When you used Preferences... - Server - Installed Runtimes to install
Tomcat 5.5.12 (in "c:tomcat_5.5" according to
> another post you made), did you point to a fresh installation of Tomat
5.5.12, or to a more "seasoned" installation?

It is a "seasoned" version of Tomcat 5.5.12, it has other apps running in
it.

> In case this helps pin down a key difference, my configuration in which the
server starts normally and the Web service
> deploys OK is Eclipse WTP 1.0 running on Sun JDK 1.4.2_05 with a freshly
unzipped Tomcat 5.5.3 installed into WTP and
> configured to use Sun JDK 1.5.0_07.

Do we HAVE to run a freshly installed version of Tomcat? If so why? Since
there are plenty of other projects running with the "seasoned" version of
my Tomcat already - it doesn't make logical sense to require us users to
ignore or reconfigure the new Tomcat installation to run the older
applications too (a lot of extra work required).

What do you mean by installing Tomcat "into WTP and configured to use Sun
JDK 1.5.0_07"?

I have set up the runtime installation to point to my Tomcat 5.5.12 using
"Preferences->Server->Installed Runtime" (i.e. pointing to c:\tomcat_5.5),
then in the "Servers" perspective it shows the "Tomcat v5.5 Server @
localhost" being available, yet when I push the "play" button, eventhough
the Console indicates that Tomcat is running, it really isn't running so I
can't take the next step to try to create Web Services using some Java
classes and publish them to jUDDI (using MySql), this is my ultimate goal.

Thanks for your help and guidance - Alan
Re: Web Service creation error [message #175941 is a reply to message #175916] Tue, 01 August 2006 16:38 Go to previous messageGo to next message
Chris Brealey is currently offline Chris BrealeyFriend
Messages: 104
Registered: July 2009
Senior Member
Alan,
you shouldn't have to run Eclipse against a fresh installation of Tomcat, but doing
so (ie. fresh workspace + fresh Tomcat) would be an easy and useful experiment to
try. Also, Tomcat will use the server configuration from your workspace, not the
one from conf/. You mentioned in your first post that you get nothing from
https://localhost:8443. Since the default server.xml for your server in your
workspace does not enable https, the fact you cannot reach https://localhost:8443
may not actually mean the server isn't really running. Have you tried
http://localhost:8080?

By installing Tomcat "into WTP and configured to use Sun JDK 1.5.0_07", I'm
referring to the choice of "JRE" in the Edit/New Server Runtime / Tomcat Server
dialog as launched from the Add... or Edit... buttons of the Installed Server
Runtime Environments preference page.

Cheers - CB.

Alan wrote:

> Chris Brealey wrote:
>
> > Alan,
> > the IWAB0514E is usually a side effect of an improperly configured/startable
> server.
>
> > A couple questions about your configuration that might help narrow this down:
> > 1. Since you are running on Eclipse 3.1.2, am I right that you're using WTP
> 1.0?
>
> Yes, I'm currently using WTP 1.0.2
>
> > 2. What JRE or JDK are you (a) running Eclipse WTP on and (b) running Tomcat
> 5.5.12 on?
>
> Eclipse is using Sun's JRE 1.5.0_05, Tomcat is using Sun's JDK 1.5.0_05.
>
> > 3. When you used Preferences... - Server - Installed Runtimes to install
> Tomcat 5.5.12 (in "c:tomcat_5.5" according to
> > another post you made), did you point to a fresh installation of Tomat
> 5.5.12, or to a more "seasoned" installation?
>
> It is a "seasoned" version of Tomcat 5.5.12, it has other apps running in
> it.
>
> > In case this helps pin down a key difference, my configuration in which the
> server starts normally and the Web service
> > deploys OK is Eclipse WTP 1.0 running on Sun JDK 1.4.2_05 with a freshly
> unzipped Tomcat 5.5.3 installed into WTP and
> > configured to use Sun JDK 1.5.0_07.
>
> Do we HAVE to run a freshly installed version of Tomcat? If so why? Since
> there are plenty of other projects running with the "seasoned" version of
> my Tomcat already - it doesn't make logical sense to require us users to
> ignore or reconfigure the new Tomcat installation to run the older
> applications too (a lot of extra work required).
>
> What do you mean by installing Tomcat "into WTP and configured to use Sun
> JDK 1.5.0_07"?
>
> I have set up the runtime installation to point to my Tomcat 5.5.12 using
> "Preferences->Server->Installed Runtime" (i.e. pointing to c:\tomcat_5.5),
> then in the "Servers" perspective it shows the "Tomcat v5.5 Server @
> localhost" being available, yet when I push the "play" button, eventhough
> the Console indicates that Tomcat is running, it really isn't running so I
> can't take the next step to try to create Web Services using some Java
> classes and publish them to jUDDI (using MySql), this is my ultimate goal.
>
> Thanks for your help and guidance - Alan
Re: Web Service creation error [message #175974 is a reply to message #175941] Tue, 01 August 2006 18:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: avinh.verizon.net

Hi Chris,

Chris Brealey wrote:

> Alan,
> you shouldn't have to run Eclipse against a fresh installation of Tomcat,
but doing
> so (ie. fresh workspace + fresh Tomcat) would be an easy and useful
experiment to
> try. Also, Tomcat will use the server configuration from your workspace, not
the
> one from conf/. You mentioned in your first post that you get nothing from
> https://localhost:8443. Since the default server.xml for your server in your
> workspace does not enable https, the fact you cannot reach
https://localhost:8443
> may not actually mean the server isn't really running. Have you tried
> http://localhost:8080?

I tried http://localhost:8080 and got the "The page cannot be displayed"
message. I checked with the Task Manager and it does not show that
"tomcat5.exe" is running eventhough Eclipse thinks it's running according
to the Console window. I tried starting Tomcat using it's own monitoring
program and the monitoring program (tomcat5w.exe) loads the "tomcat5.exe"
program for a short time then the tomcat5.exe program disappears - I think
they both are trying to grab the same ports and is also leaving the same
lock file behind hence the conflicts...

If I start the tomcat5.exe program using the monitoring tool first then
try to start Tomcat within Eclipse then Eclipse responds with a pop-up
window saying:

Several ports (8005, 8443, 8009) required by Tomcat v5.5 Server @
localhost are already in use. The server may already be running in another
process, or a system process may be using the port. To start this server
you will need to stop the other process or change the port number(s).

The above message indicates that starting Tomcat within Eclipse causes
Eclipse/Tomcat to try to grab port 8443 (my SSL/TLS port). Looking at
Eclipse's server.xml file, it seems like it has migrated/copied the
configuration files from my Tomcat 5.5.12/conf directory into its own
version of the server.xml file in its workspace hence it also has port
8443 configured correctly and port 8080 disabled (I have disabled port
8080 on purpose). Does Eclipse require port 8080 to be active?

I'm confused as to how/why Eclipse has set up its Tomcat environment in
its own workspace - should I try to mess with Eclipse's version of the
server.xml to enable port 8080 and do I need to modify any of its other
config files? They are a little different than what's in the Tomcat
5.5.12/conf directory.

> By installing Tomcat "into WTP and configured to use Sun JDK 1.5.0_07", I'm
> referring to the choice of "JRE" in the Edit/New Server Runtime / Tomcat
Server
> dialog as launched from the Add... or Edit... buttons of the Installed Server
> Runtime Environments preference page.

I believe I have set up the references to the JDK/JRE correctly? If not,
what am I doing wrong? My Eclipse 3.1.2 is currently pointing to the JRE
in directory C:\Program Files\Java\jre1.5.0_05, should I be using the JDK
path instead, i.e. C:\Program Files\Java\jdk1.5.0_05 (I have both the JDK
and the JRE 1.5.0_05 on my PC)?

Thanks for your help - Alan
Re: Web Service creation error [message #175997 is a reply to message #175974] Tue, 01 August 2006 18:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: avinh.verizon.net

Does anyone know how to turn on debug for Eclipse? Also where are the log
files located? I would like to see what has gone wrong within Eclipse when
it tries to load Tomcat 5.5.12 but I have no clue as to where to start
looking.

I have installed Eclipse 3.1.2 in directory c:\eclipse, the content under
that directory is:

configuration (directory)
features (directory)
plugins (directory)
readme (directory)
eclipseproduct
eclipse.exe
eclipse.ini
epl-v10.html
notice.html
startup.jar

Thanks for any info - Alan
Re: Web Service creation error [message #176003 is a reply to message #175997] Tue, 01 August 2006 19:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: avinh.verizon.net

I found the following quote from Larry Isaacs in another post about
turning on logging information and I did as instructed then I restarted
Eclipse but I still don't see any log files or anything of interest to
look at when I tried to start Tomcat within Eclipse.

A little help please?

"A this point, turning on some tracing in your environment might provide a
little more to go on. First you need to add "-debug" and "-consolelog" to
your eclipse startup arguments. If you wish, they can be added as
separate lines at the top of the "eclipse.ini" file that is located in
your Eclipse installation.

Next create a new text file containing the lines:

org.eclipse.jst.server.tomcat.core/debug=true
org.eclipse.wst.server.core/debug=true"

> Does anyone know how to turn on debug for Eclipse? Also where are the log
> files located? I would like to see what has gone wrong within Eclipse when
> it tries to load Tomcat 5.5.12 but I have no clue as to where to start
> looking.

> I have installed Eclipse 3.1.2 in directory c:eclipse, the content under
> that directory is:

> configuration (directory)
> features (directory)
> plugins (directory)
> readme (directory)
> eclipseproduct
> eclipse.exe
> eclipse.ini
> epl-v10.html
> notice.html
> startup.jar

> Thanks for any info - Alan
Re: Web Service creation error [message #176009 is a reply to message #176003] Tue, 01 August 2006 19:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: avinh.verizon.net

This is the Console's output when I tried to start Tomcat within Eclipse,
everything seems OK - I think...

Aug 1, 2006 3:00:06 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Portable Runtime which allows optimal performance in
production environments was not found on the java.library.path: C:\Program
Files\Java\jre1.5.0_05\bin;.;C:\WINDOWS\system32;C:\WINDOWS; C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\P rogram
Files\Java\jdk1.5.0_05\bin;c:\apache-ant-1.6.5\bin;C:\Progra m
Files\ESTsoft\ALZip\;c:\cygwin\bin;C:\Sun\AppServer\bin;C:\P rogram
Files\ESTsoft\ALZip\
Aug 1, 2006 3:00:06 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
Aug 1, 2006 3:00:06 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1281 ms
Aug 1, 2006 3:00:06 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 1, 2006 3:00:06 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.12
Aug 1, 2006 3:00:06 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 1, 2006 3:00:07 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
Aug 1, 2006 3:00:07 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Aug 1, 2006 3:00:07 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=null
Aug 1, 2006 3:00:07 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Aug 1, 2006 3:00:07 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 782 ms
Re: Web Service creation error [message #176029 is a reply to message #175974] Tue, 01 August 2006 20:58 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
Chris,

The default behavior is for Tomcat servers is to create separate server
instances. In terms of your Tomcat installation, this means
CATALINA_HOME (where jars live) != CATALINA_BASE (where conf lives).
Double-click on the Tomcat server in the Servers view and click on "Open
launch configuration" in the Server configuration editor that appears.
Switch to the Arguments tab in the launch configuration dialog that
opens and note the location of the catalina.base system property in the
VM Arguments field. This implies that by default, the standard webapps
that come with Tomcat are not present. Thus, "The page cannot be
displayed" is normal for the URL you entered.

If you uncheck the "Run modules directly from the workspace" option in
the Overview section of the Server configuration editor, catalina.base
will be set to your Tomcat installation. This means that starting
Tomcat from within Eclipse will serve the standard webapps, etc.
However, in this configuration, the files for the Tomcat server under
the Servers project will overwrite those in your Tomcat installation
every time you start Tomcat within Eclipse. Thus, you would need to
"manage" your Tomcat server from within Eclipse. If that isn't a
problem, you could take that approach.

If you go with the option checked and you really want one or more of the
standard webapps, you can add them manually using the Modules tab of the
Server configuration editor.

Cheers,
Larry

Alan wrote:
> Hi Chris,
>
> Chris Brealey wrote:
>
>> Alan,
>> you shouldn't have to run Eclipse against a fresh installation of Tomcat,
> but doing
>> so (ie. fresh workspace + fresh Tomcat) would be an easy and useful
> experiment to
>> try. Also, Tomcat will use the server configuration from your
>> workspace, not
> the
>> one from conf/. You mentioned in your first post that you get nothing
>> from
>> https://localhost:8443. Since the default server.xml for your server
>> in your
>> workspace does not enable https, the fact you cannot reach
> https://localhost:8443
>> may not actually mean the server isn't really running. Have you tried
>> http://localhost:8080?
>
> I tried http://localhost:8080 and got the "The page cannot be displayed"
> message. I checked with the Task Manager and it does not show that
> "tomcat5.exe" is running eventhough Eclipse thinks it's running
> according to the Console window. I tried starting Tomcat using it's own
> monitoring program and the monitoring program (tomcat5w.exe) loads the
> "tomcat5.exe" program for a short time then the tomcat5.exe program
> disappears - I think they both are trying to grab the same ports and is
> also leaving the same lock file behind hence the conflicts...
>
> If I start the tomcat5.exe program using the monitoring tool first then
> try to start Tomcat within Eclipse then Eclipse responds with a pop-up
> window saying:
>
> Several ports (8005, 8443, 8009) required by Tomcat v5.5 Server @
> localhost are already in use. The server may already be running in
> another process, or a system process may be using the port. To start
> this server you will need to stop the other process or change the port
> number(s).
>
> The above message indicates that starting Tomcat within Eclipse causes
> Eclipse/Tomcat to try to grab port 8443 (my SSL/TLS port). Looking at
> Eclipse's server.xml file, it seems like it has migrated/copied the
> configuration files from my Tomcat 5.5.12/conf directory into its own
> version of the server.xml file in its workspace hence it also has port
> 8443 configured correctly and port 8080 disabled (I have disabled port
> 8080 on purpose). Does Eclipse require port 8080 to be active?
>
> I'm confused as to how/why Eclipse has set up its Tomcat environment in
> its own workspace - should I try to mess with Eclipse's version of the
> server.xml to enable port 8080 and do I need to modify any of its other
> config files? They are a little different than what's in the Tomcat
> 5.5.12/conf directory.
>
>> By installing Tomcat "into WTP and configured to use Sun JDK
>> 1.5.0_07", I'm
>> referring to the choice of "JRE" in the Edit/New Server Runtime / Tomcat
> Server
>> dialog as launched from the Add... or Edit... buttons of the Installed
>> Server
>> Runtime Environments preference page.
>
> I believe I have set up the references to the JDK/JRE correctly? If not,
> what am I doing wrong? My Eclipse 3.1.2 is currently pointing to the JRE
> in directory C:\Program Files\Java\jre1.5.0_05, should I be using the
> JDK path instead, i.e. C:\Program Files\Java\jdk1.5.0_05 (I have both
> the JDK and the JRE 1.5.0_05 on my PC)?
>
> Thanks for your help - Alan
>
Re: Web Service creation error [message #176036 is a reply to message #176029] Tue, 01 August 2006 22:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: avinh.verizon.net

Hi Larry/Chris,

I went into the "Launch configuration window" and messed around a little
bit, not really doing anything special, then I edited the server.xml file
located in the workspace that Eclipse is reading to enable port 8080 and
voila - Eclipse can start and stop Tomcat so Eclipse must be very
integrated with its tools looking for port 8080(?). Eclipse seems to start
and stop Tomcat correctly ONLY (for me) by right clicking the Tomcat
server entry in the "Servers" window then left clicking on the start
and/or stop menu options, otherwise Tomcat doesn't seem to stop properly
when clicking on the red square (starts OK though) - not sure why but at
least I'm able to start and stop Tomcat within Eclipse now, yeah! :-)

Although dated, I used the following page to create the sample Converter
Web Service:

http://www.eclipse.org/webtools/initial-contribution/IBM/eva lGuides/WebServicesToolsEval.html?p=1#tour-bu-prereqwsi

Now that I could start/stop Tomcat within Eclipse, I was able to continue
with creating the Web Service using the sample Converter Java class and
followed it through all the way to the "Web Services Test" window and
tested the inputs and results. Then going to the URL
http://localhost:8080/TemperatureConverter/wsdl/Converter.ws dl, I used
this address along with the "Web Services Explorer" tool and was able to
explore the interface too. Everything in that example is finally working
for me.

Thanks for the help guys, much appreciated. Next for me is to try to
create a Web Service using one of my own classes then publishing the WSDL
document into a UDDI registry.

Do you know of any documentation on how to publish the WSDL document(s)
created by the WTP into the Apache jUDDI server (other than the link
above)? I haven't got there yet, but I assume that the WTP has a
publishing tool to publish WSDL documents into UDDI registries. I've set
up a jUDDI registry server using MySql on my Linux box and would like to
test it instead of an established UDDI registry such as the ones offered
by IBM and other companies.

Thanks again for all of your help.

Alan

Larry Isaacs wrote:

> Chris,

> The default behavior is for Tomcat servers is to create separate server
> instances. In terms of your Tomcat installation, this means
> CATALINA_HOME (where jars live) != CATALINA_BASE (where conf lives).
> Double-click on the Tomcat server in the Servers view and click on "Open
> launch configuration" in the Server configuration editor that appears.
> Switch to the Arguments tab in the launch configuration dialog that
> opens and note the location of the catalina.base system property in the
> VM Arguments field. This implies that by default, the standard webapps
> that come with Tomcat are not present. Thus, "The page cannot be
> displayed" is normal for the URL you entered.

> If you uncheck the "Run modules directly from the workspace" option in
> the Overview section of the Server configuration editor, catalina.base
> will be set to your Tomcat installation. This means that starting
> Tomcat from within Eclipse will serve the standard webapps, etc.
> However, in this configuration, the files for the Tomcat server under
> the Servers project will overwrite those in your Tomcat installation
> every time you start Tomcat within Eclipse. Thus, you would need to
> "manage" your Tomcat server from within Eclipse. If that isn't a
> problem, you could take that approach.

> If you go with the option checked and you really want one or more of the
> standard webapps, you can add them manually using the Modules tab of the
> Server configuration editor.

> Cheers,
> Larry
Re: Web Service creation error [message #176106 is a reply to message #176036] Wed, 02 August 2006 13:58 Go to previous messageGo to next message
Mark Hutchinson is currently offline Mark HutchinsonFriend
Messages: 53
Registered: July 2009
Member
Alan,

You can use the web services explorer to publish a WSDL to a UDDI
registry. To get started with the Web Services Explorer select "Run"
then "Launch The Web Services Explorer". The WS explorer should come up
on the UDDI page. From there you can click on the "UDDI Main Page"
where you can enter the inquiry URL of your UDDI server.

Using the WS Explorer you should be able to find and publish services to
your registry. I did a quick Google search and found
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. jst.ws.consumption.ui.doc.user/tasks/tuddiexp.html
which might be helpful.

Mark

Alan wrote:
> Hi Larry/Chris,
>
> I went into the "Launch configuration window" and messed around a little
> bit, not really doing anything special, then I edited the server.xml
> file located in the workspace that Eclipse is reading to enable port
> 8080 and voila - Eclipse can start and stop Tomcat so Eclipse must be
> very integrated with its tools looking for port 8080(?). Eclipse seems
> to start and stop Tomcat correctly ONLY (for me) by right clicking the
> Tomcat server entry in the "Servers" window then left clicking on the
> start and/or stop menu options, otherwise Tomcat doesn't seem to stop
> properly when clicking on the red square (starts OK though) - not sure
> why but at least I'm able to start and stop Tomcat within Eclipse now,
> yeah! :-)
>
> Although dated, I used the following page to create the sample Converter
> Web Service:
>
> http://www.eclipse.org/webtools/initial-contribution/IBM/eva lGuides/WebServicesToolsEval.html?p=1#tour-bu-prereqwsi
>
>
> Now that I could start/stop Tomcat within Eclipse, I was able to
> continue with creating the Web Service using the sample Converter Java
> class and followed it through all the way to the "Web Services Test"
> window and tested the inputs and results. Then going to the URL
> http://localhost:8080/TemperatureConverter/wsdl/Converter.ws dl, I used
> this address along with the "Web Services Explorer" tool and was able to
> explore the interface too. Everything in that example is finally working
> for me.
>
> Thanks for the help guys, much appreciated. Next for me is to try to
> create a Web Service using one of my own classes then publishing the
> WSDL document into a UDDI registry.
>
> Do you know of any documentation on how to publish the WSDL document(s)
> created by the WTP into the Apache jUDDI server (other than the link
> above)? I haven't got there yet, but I assume that the WTP has a
> publishing tool to publish WSDL documents into UDDI registries. I've set
> up a jUDDI registry server using MySql on my Linux box and would like to
> test it instead of an established UDDI registry such as the ones offered
> by IBM and other companies.
>
> Thanks again for all of your help.
>
> Alan
>
> Larry Isaacs wrote:
>
>> Chris,
>
>> The default behavior is for Tomcat servers is to create separate
>> server instances. In terms of your Tomcat installation, this means
>> CATALINA_HOME (where jars live) != CATALINA_BASE (where conf lives).
>> Double-click on the Tomcat server in the Servers view and click on
>> "Open launch configuration" in the Server configuration editor that
>> appears.
>> Switch to the Arguments tab in the launch configuration dialog that
>> opens and note the location of the catalina.base system property in
>> the VM Arguments field. This implies that by default, the standard
>> webapps that come with Tomcat are not present. Thus, "The page cannot
>> be displayed" is normal for the URL you entered.
>
>> If you uncheck the "Run modules directly from the workspace" option in
>> the Overview section of the Server configuration editor, catalina.base
>> will be set to your Tomcat installation. This means that starting
>> Tomcat from within Eclipse will serve the standard webapps, etc.
>> However, in this configuration, the files for the Tomcat server under
>> the Servers project will overwrite those in your Tomcat installation
>> every time you start Tomcat within Eclipse. Thus, you would need to
>> "manage" your Tomcat server from within Eclipse. If that isn't a
>> problem, you could take that approach.
>
>> If you go with the option checked and you really want one or more of
>> the standard webapps, you can add them manually using the Modules tab
>> of the Server configuration editor.
>
>> Cheers,
>> Larry
>
>
Re: Web Service creation error [message #176165 is a reply to message #176106] Wed, 02 August 2006 19:00 Go to previous message
Eclipse UserFriend
Originally posted by: avinh.verizon.net

Thanks Mark, I'll look into it when the time comes. I'm busy coding up
some Web Services classes right now...

Thanks - Alan

Mark Hutchinson wrote:

> Alan,

> You can use the web services explorer to publish a WSDL to a UDDI
> registry. To get started with the Web Services Explorer select "Run"
> then "Launch The Web Services Explorer". The WS explorer should come up
> on the UDDI page. From there you can click on the "UDDI Main Page"
> where you can enter the inquiry URL of your UDDI server.

> Using the WS Explorer you should be able to find and publish services to
> your registry. I did a quick Google search and found
>
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. jst.ws.consumption.ui.doc.user/tasks/tuddiexp.html
> which might be helpful.

> Mark
Previous Topic:Non-standard JBoss server name
Next Topic:Using the JSP Editor on JSPs files which don't have .jsp extension ?
Goto Forum:
  


Current Time: Fri Mar 29 10:45:02 GMT 2024

Powered by FUDForum. Page generated in 0.23928 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top