What does a webservice consist of? [message #201388] |
Sat, 06 October 2007 11:06 |
Eclipse User |
|
|
|
Originally posted by: xdzgor.hotmail.com
Hi
I have used the WTP plugin to make a web-service with Eclipse, and install
it in Tomcat. I have also used Eclipse to make a test client for this web-
service.
But now I would like to know exactly what it is Eclipse has made for me (in
regards to the web-service - I'm not so worried about the client).
I can see under the web-service directory in Tomcat, there are several
subdirectories, and I can see my web-service class file under /WEB-
INF/classes/...
But what are all the files under /WEB-INF/lib? Lots of jar files, like
axis.jar, and jaxrpc.jar, etc. Are they needed?
And what about the files like deploy.wsdd and undeploy.wsdd? What are they,
and are they needed? And also web.xml and server-config-wsdd, they are also
generated for me - what is their syntax?
What I'd really like is to be able to "manually" make a web-service. So I'd
like to know what Eclipse does, and what I need to do if I was just using a
simple text editor, javac, and wsgen for example.
I heard that a webservice also requires a servlet in order to function - is
this correct? (Maybe that's what all the extra .jar files are?)
Thanks,
Peter
|
|
|
|
Re: What does a webservice consist of? [message #201445 is a reply to message #201412] |
Sun, 07 October 2007 19:05 |
Eclipse User |
|
|
|
Originally posted by: xdzgor.hotmail.com
David Carver <d_a_carver@yahoo.com> wrote in
news:feamqr$o6u$1@build.eclipse.org:
> Peter K wrote:
>> But what are all the files under /WEB-INF/lib? Lots of jar files,
>> like axis.jar, and jaxrpc.jar, etc. Are they needed?
> Yes they are needed. WTP uses the Apache Axis framework for
> developing
> web services for both the client and the server. The axis.jar and
> jaxrpc.jars are related to these frameworks.
>
>>
>> And what about the files like deploy.wsdd and undeploy.wsdd? What are
>> they, and are they needed? And also web.xml and server-config-wsdd,
>> they are also generated for me - what is their syntax?
>
> These are again, used by the apache axis framework for configuration
> of the server side web service. You can get more information about
> the Apache Axis frameworks at:
>
> http://ws.apache.org/axis/
>
> and
>
> http://ws.apache.org/axis2/
Right - thanks for the reply.
I am actually trying to write a program which itself generates and deploys
web-services to Tomcat. (So I was first trying to see what Eclipse/WTP does
when it generates a web-service).
Would you recommend my program also uses Axis - or is there a
better/simpler way to implement and deploy web-services in java?
/Peter
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03451 seconds