Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » developing Web Services with Eclipse
developing Web Services with Eclipse [message #158126] Fri, 27 January 2006 12:34 Go to next message
Eclipse UserFriend
Originally posted by: incalnoir.hotmail.com

Hello everybody,

I'm a beginner in Eclipse/webservices, I tried to use WTP 1.0 which offers
very interesting possibilities :

http://www.eclipse.org/webtools/jst/components/ws/1.0/tutori als/index.html

than I tested some tutorials :

1)How to create a Web service bottom-up from Java

2)How to create a Web service Java skeleton top-down from WSDL
3)How to create a Java client to a Web service

but once I finished, I did'nt succeed to know how to use my webservices
from a simple navigator like Internet Explorer/mozilla ...

I tried
http://localhost:8080/AreaProjClient/sampleServiceProxy/Test Client.jsp
for the 2) and 3) tutorials

but the error page indicated
the wanted ressource is not available...

I verified that the apache tomcat server is running ==> it was
functionning.

is it the right way, what should i do ..?


thanks in advance
BigBill
Re: developing Web Services with Eclipse [message #158205 is a reply to message #158126] Fri, 27 January 2006 21:28 Go to previous messageGo to next message
Kathy Chan is currently offline Kathy ChanFriend
Messages: 93
Registered: July 2009
Member
Hi BigBill,

Here are a few ways you can use the Web services wizards in WTP to test the
Web service you created:

1. Test with the Web Services Explorer
- right-click on the WSDL file and select "Test with Web Services Explorer"
or follow the tutorial:
http://www.eclipse.org/webtools/community/tutorials/WebServi ceExplorer/WebServiceExplorer.html
and paste the WSDL file in the WSDL page.

2. Generate a Web service client and write a Java program to call the Web
service.

3. Generate a Web service client and select "Test the Web service" to
generate sample JSP to call the Web service (this is what the tutorial had
taken you through). You can write JSPs to call the Web service through the
generated client code similar to the sample JSP.

With a simple Web browser, you can ensure that the Web service is live by
pinging the endpoint URL of the Web service.

You can find the endpoint URL of the Web service from the <wsdlsoap:address>
location attribute in the WSDL file. The WSDL file is located in the Web
project/WebContent/WSDL-INF/wdl folder.

For example, for the Bottom-up Web service, the endpoint URL is:

http://localhost:8080/ConverterProj/services/Converter

Once you get the endpoint URL of the Web service, you can also get the WSDL
file by adding "?WSDL" to the endpoint URL. For example,

http://localhost:8080/ConverterProj/services/Converter?WSDL

Hope this info helps!

Regards,

Kathy Chan



"BigBill" <incalnoir@hotmail.com> wrote in message
news:83c2d41416028fccbf03060a991d0da4$1@www.eclipse.org...
> Hello everybody,
>
> I'm a beginner in Eclipse/webservices, I tried to use WTP 1.0 which offers
> very interesting possibilities :
>
> http://www.eclipse.org/webtools/jst/components/ws/1.0/tutori als/index.html
>
> than I tested some tutorials :
>
> 1)How to create a Web service bottom-up from Java
>
> 2)How to create a Web service Java skeleton top-down from WSDL
> 3)How to create a Java client to a Web service
>
> but once I finished, I did'nt succeed to know how to use my webservices
> from a simple navigator like Internet Explorer/mozilla ...
>
> I tried
> http://localhost:8080/AreaProjClient/sampleServiceProxy/Test Client.jsp
> for the 2) and 3) tutorials
>
> but the error page indicated
> the wanted ressource is not available...
>
> I verified that the apache tomcat server is running ==> it was
> functionning.
>
> is it the right way, what should i do ..?
>
>
> thanks in advance
> BigBill
>
Re: developing Web Services with Eclipse [message #158221 is a reply to message #158205] Fri, 27 January 2006 23:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: charles.martin.roche.com

Does anyone know if WTP 1.0 works with WebLogic 9.0?

Can I create a bottom up web service using WTP for Web Logic 9.0?
I am able to do this with Apache TOmcat/Axis, but when I try with WebLogic
I get a Null Pointer Exception

Sincerely

Charles H. Martin, PhD
Roche
Re: developing Web Services with Eclipse [message #158394 is a reply to message #158205] Mon, 30 January 2006 08:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: incalnoir.hotmail.com

I've tried to make the converter service work by :

-turning on the tomcat server
-launching http://localhost:8080/ConverterProj/services/Converter
or http://localhost:8080/ConverterProj/services/Converter?wsdl

but I get the same problem :

"the wanted ressource is not available"

I wonder if I don't have to put the ConverterProj directory in the Apache
Tomcat directories, so tomcat can see the "wanted ressource",

I think it is the reason which create the error ??
knowing that I want to execute the service, daes the ConverterProjClient
directory has anything to do with the problem ???

do you have any ideas ???

thanks in advance
BigBill
Re: developing Web Services with Eclipse [message #158521 is a reply to message #158394] Mon, 30 January 2006 23:56 Go to previous messageGo to next message
Charles H Martin is currently offline Charles H MartinFriend
Messages: 79
Registered: July 2009
Member
I was able to seeminlgy get the Apache example to work right out of the box

Although I did have to kill Eclipse once or twice and/reboot during the process. I was getting various null pointer exceptions and what not here and there, and I have yet to figure out why
Re: developing Web Services with Eclipse [message #158525 is a reply to message #158205] Tue, 31 January 2006 00:04 Go to previous messageGo to next message
Charles H Martin is currently offline Charles H MartinFriend
Messages: 79
Registered: July 2009
Member
Kathy

A question about your web article on creating a top down web service

How can one modify and re-deploy with webservice Impl class, which is the last step in your aticle.

I can create the java skeleton and deploy (to, say, WebLogic 9), but I am unable to get the final step in your aticle to work. Instead, what happens is that WTP simply deploys the auto-generated Impl class

AreaServiceSOAPImpl.java

How do you re-deploy once a change is made? Or I am just abone head?

Thanks in advance

Charles
Re: developing Web Services with Eclipse : the same old song [message #158785 is a reply to message #158394] Thu, 02 February 2006 10:00 Go to previous message
Eclipse UserFriend
Originally posted by: incalnoir.hotmail.com

Hello everybody,

I'm a sorry to re-post my questions but I really need to find some solution
I tried all the things I knew and no way to resolv the problem :

see the "Developping Web services with eclipse" messages.

Thanks in advance
BigBill
Previous Topic:WTP 1.0 + Eclipse Version: 3.1.2 (Build id: M20060118-1600) Woes
Next Topic:Eclipse 3.2M4, WTP 1.5M4, JBoss 4 problem
Goto Forum:
  


Current Time: Fri Apr 19 09:27:07 GMT 2024

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

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

Back to the top