WTP plugin - creating/testingweb service [message #90180] |
Mon, 04 April 2005 12:39  |
Eclipse User |
|
|
|
Hi All
Following a tutorial I've created a web service from java files using the
WTP tools, once the files have been generated and deployed to Tomcat - my
WDSL file has been created
I want to go on to the next stage f the tutorial which istesting the web
service using the Web Services Explorer (Run > Launch the Web Services
Explorer)
But I get an error :
I've followed the instrunctions and adding the extra jars etc... but still
get this error. Cna someone telll mw whether i need any other files or to
doanything else
cheers
HTTP Status 500 -
------------------------------------------------------------ --------------------
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
I
|
|
|
|
|
|
|
|
|
|
Re: WTP plugin - creating/testingweb service [message #93438 is a reply to message #91896] |
Wed, 20 April 2005 14:04  |
Eclipse User |
|
|
|
John,
if you're referring to something akin to .NET's "webmethod" annotation, no, there is no
equivalent to this in WTP at present. JSR 181 [1], though not quite final yet, defines
the Java standard for Web service annotations. As runtimes that support JSR 181 emerge
- be they open source or proprietary - I would expect tools in WTP for JSR 181 to
follow.
The initial setup for Web services is not trivial, although the worst part of it - the
need to download all those "third party" plugins and jars - should be resolved in our
next milestone, M4, due out soon. Beyond that, you would still need to download and
install an apropriate server (eg. Tomcat) and then use the Web service wizard to create
your Web service. The wizard is designed so that you can strike "Finish" on the first
page and not have to navigate thru its remaining pages assuming, that is, the wizard's
default choices are acceptable to you (and assuming there are no bugs in our "finish on
page 1" logic - which there probably will be in M4, to be thoroughly cleared away in
M5).
[1] http://www.jcp.org/en/jsr/detail?id=181
John Bailo wrote:
> plork123 wrote:
> > From here
> >
> > http://www-106.ibm.com/developerworks/edu/os-dw-os-wtpservic e-i.html?ca=dgr
>
> I am looking at that now.
>
> Is there any more quick and dirty way of getting a web service up ...
> just a hello world would do if someone can tell me how.
>
> I've already installed the WST edition of eclipse...is there a way to
> through up a web service stub method like in VS.NET ?
>
> >
> > You'll have to register
> >
> >
> >
> >
> > "news.eclipse.org" <jbailo@vestcom.com> wrote in message
> > news:d3hmb1$vhp$2@news.eclipse.org...
> >
> >>plork123 wrote:
> >>
> >>>Hi All
> >>>
> >>>Following a tutorial I've created a web service from java files using the
> >>
> >>
> >>Where is the tutorial ... I'd like to try it
> >>
> >>
> >>>WTP tools, once the files have been generated and deployed to Tomcat - my
> >>>WDSL file has been created
> >>>
> >>>I want to go on to the next stage f the tutorial which istesting the web
> >>>service using the Web Services Explorer (Run > Launch the Web Services
> >>>Explorer)
> >>>
> >>>But I get an error :
> >>>
> >>>I've followed the instrunctions and adding the extra jars etc... but
> >>>still get this error. Cna someone telll mw whether i need any other
> >>>files or to doanything else
> >>>
> >>>cheers
> >>>
> >>>HTTP Status 500 -
> >>>
> >>> ------------------------------------------------------------ --------------------
> >>>
> >>>type Exception report
> >>>
> >>>message
> >>>
> >>>description The server encountered an internal error () that prevented it
> >>>from fulfilling this request.
> >>>
> >>>
> >>>
> >>>I
> >>>
> >
> >
|
|
|
Powered by
FUDForum. Page generated in 0.03931 seconds