Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WebServices Create client fails
WebServices Create client fails [message #51935] Thu, 04 November 2004 19:35 Go to next message
Eclipse UserFriend
Originally posted by: sholtis.hotmail.com

I am running Eclipse Version: 3.0.1
Build id: 200409161125 with the IBM.zip plugins and features installed.
I am trying to follow the sample in the tutorial. I created my own class,
very simple, just gets a string and returns a string.

I can create the web service and generate the proxy, but for some reason,
it fails every time when it goes to compile the JSP pages and test the
service. The web services explorer works fine and the service does work.
Its only the jsp thats generated that seems to fail.

The following error shows that it cant find the class for the proxy that
it is creating. It creates another project for the proxy and puts the
proxy code it generates in it. But, it cant find it for some reason. I am
guessing that its because Tomcat cant get access to the proxy that it
created, but, why ? It created the project to begin with and did the
deployment.


C:\packages\jakarta-tomcat-4.1.31\work\Standalone\localhost\ BOEWebService\sample\Result_jsp.java:49:
cannot resolve symbol
symbol : class testProxy
location: package sample
sample.testProxy sampleid = null;

Its like the jsp page that its generating cant find the proxy class that
it generated. Is this because I am missing something so when it goes to
deploy it, it fails ?

Thanks,

Steven Sholtis
Re: WebServices Create client fails [message #52041 is a reply to message #51935] Fri, 05 November 2004 17:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jbailo.vestcom.com

Steven Sholtis wrote:

> I am running Eclipse Version: 3.0.1
> Build id: 200409161125 with the IBM.zip plugins and features installed.
> I am trying to follow the sample in the tutorial. I created my own
> class, very simple, just gets a string and returns a string.
>
> I can create the web service and generate the proxy, but for some
> reason, it fails every time when it goes to compile the JSP pages and

I installed the WST direct from Eclipse.

I am not sure what to do next, but I went ahead and selected Java Web
Project.

It lets me select a name, and the version of JSEE to use ( 1.2, 1.3 or
1.4 ) but it doesn't let me select what type of project ( the drop down
has no entries.

I click Finish and it runs for a few minutes and then it says "cannot
create project..."

Has anyone been able to work with WST and create a Web Service ?

Can you point me to a Step By Step ?
Re: WebServices Create client fails [message #52139 is a reply to message #51935] Fri, 05 November 2004 22:11 Go to previous messageGo to next message
Jeffrey Liu is currently offline Jeffrey LiuFriend
Messages: 62
Registered: July 2009
Member
Just a wild guess here, double check the proxy class name, is it
sample.testProxy or sample.TestProxy? The other thing to try is to re-gen
the JSPs. Right click on the proxy > Web service > Generate sample
application. Hope this helps.

Thanks,

Jeff

"Steven Sholtis" <sholtis@hotmail.com> wrote in message
news:cme0a0$pbm$1@eclipse.org...
> I am running Eclipse Version: 3.0.1
> Build id: 200409161125 with the IBM.zip plugins and features installed.
> I am trying to follow the sample in the tutorial. I created my own class,
> very simple, just gets a string and returns a string.
>
> I can create the web service and generate the proxy, but for some reason,
> it fails every time when it goes to compile the JSP pages and test the
> service. The web services explorer works fine and the service does work.
> Its only the jsp thats generated that seems to fail.
>
> The following error shows that it cant find the class for the proxy that
> it is creating. It creates another project for the proxy and puts the
> proxy code it generates in it. But, it cant find it for some reason. I am
> guessing that its because Tomcat cant get access to the proxy that it
> created, but, why ? It created the project to begin with and did the
> deployment.
>
>
>
C:\packages\jakarta-tomcat-4.1.31\work\Standalone\localhost\ BOEWebService\sa
mple\Result_jsp.java:49:
> cannot resolve symbol
> symbol : class testProxy
> location: package sample
> sample.testProxy sampleid = null;
>
> Its like the jsp page that its generating cant find the proxy class that
> it generated. Is this because I am missing something so when it goes to
> deploy it, it fails ?
>
> Thanks,
>
> Steven Sholtis
>
Re: WebServices Create client fails [message #52166 is a reply to message #52041] Fri, 05 November 2004 22:24 Go to previous messageGo to next message
Jeffrey Liu is currently offline Jeffrey LiuFriend
Messages: 62
Registered: July 2009
Member
Where did you get the plugins? AFAIK, the Web service plugins are not in CVS
yet (will be soon). If you want to try out some of the Web services tooling,
I suggest you get the initial code contribution. Here's what you need to do:

Go to http://download.eclipse.org/webtools/downloads/ , scroll down to the
bottom of the page. You should see a section called "Initial Code
Contributions". Download ibm.zip or ibm-genuitec.zip and extract it on top
of your Eclipse base. Click on the Getting Started Guide link, it has a
tutorial in there that takes you through the creation and consumption of a
Web service.

Thanks,

Jeff

"John Bailo" <jbailo@vestcom.com> wrote in message
news:cmgevj$92b$1@eclipse.org...
> Steven Sholtis wrote:
>
> > I am running Eclipse Version: 3.0.1
> > Build id: 200409161125 with the IBM.zip plugins and features installed.
> > I am trying to follow the sample in the tutorial. I created my own
> > class, very simple, just gets a string and returns a string.
> >
> > I can create the web service and generate the proxy, but for some
> > reason, it fails every time when it goes to compile the JSP pages and
>
> I installed the WST direct from Eclipse.
>
> I am not sure what to do next, but I went ahead and selected Java Web
> Project.
>
> It lets me select a name, and the version of JSEE to use ( 1.2, 1.3 or
> 1.4 ) but it doesn't let me select what type of project ( the drop down
> has no entries.
>
> I click Finish and it runs for a few minutes and then it says "cannot
> create project..."
>
> Has anyone been able to work with WST and create a Web Service ?
>
> Can you point me to a Step By Step ?
>
Re: WebServices Create client fails [message #52190 is a reply to message #52166] Fri, 05 November 2004 22:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jbailo.vestcom.com

Jeff Liu wrote:
> Where did you get the plugins?

Go here:

http://www.eclipse.org/downloads/index.php

It says:

"Eclipse Tools downloads are here. Eclipse Technology downloads are
here. Eclipse WebTools Platform downloads are here."

So I clicked on that link for WebTools Platform and downloaded the *.zip
and copied those into my Eclipse project directory.

Are the WST tools not ready for prime time ?




AFAIK, the Web service plugins are not in CVS
> yet (will be soon). If you want to try out some of the Web services tooling,
> I suggest you get the initial code contribution. Here's what you need to do:
>
> Go to http://download.eclipse.org/webtools/downloads/ , scroll down to the
> bottom of the page. You should see a section called "Initial Code
> Contributions". Download ibm.zip or ibm-genuitec.zip and extract it on top
> of your Eclipse base. Click on the Getting Started Guide link, it has a
> tutorial in there that takes you through the creation and consumption of a
> Web service.
>
> Thanks,
>
> Jeff
>
> "John Bailo" <jbailo@vestcom.com> wrote in message
> news:cmgevj$92b$1@eclipse.org...
>
>>Steven Sholtis wrote:
>>
>>
>>>I am running Eclipse Version: 3.0.1
>>>Build id: 200409161125 with the IBM.zip plugins and features installed.
>>>I am trying to follow the sample in the tutorial. I created my own
>>>class, very simple, just gets a string and returns a string.
>>>
>>>I can create the web service and generate the proxy, but for some
>>>reason, it fails every time when it goes to compile the JSP pages and
>>
>>I installed the WST direct from Eclipse.
>>
>>I am not sure what to do next, but I went ahead and selected Java Web
>>Project.
>>
>>It lets me select a name, and the version of JSEE to use ( 1.2, 1.3 or
>>1.4 ) but it doesn't let me select what type of project ( the drop down
>>has no entries.
>>
>>I click Finish and it runs for a few minutes and then it says "cannot
>>create project..."
>>
>>Has anyone been able to work with WST and create a Web Service ?
>>
>>Can you point me to a Step By Step ?
>>
>
>
>
Re: WebServices Create client fails [message #52381 is a reply to message #52190] Mon, 08 November 2004 15:27 Go to previous messageGo to next message
Jeffrey Liu is currently offline Jeffrey LiuFriend
Messages: 62
Registered: July 2009
Member
It sounds like you got one of the CVS builds (wtp-*.zip). At this moment,
the Web Tools project is still under heavy development. Only part of the
initial contribution code is checked into CVS. Therefore, the CVS builds do
not have a lot of stuffs in it. But I know that a lot folks are working
actively to get the code in there, so stay tuned.

If you want to get a sneak peek of what's going to be in the Web Tools
project, I suggest you download one of the initial code contribution
(objectweb.zip, ibm.zip or ibm-genuitec.zip). Do not extract objectweb.zip
and ibm.zip on top of the same Eclipse base. If you do that, you will likely
run into problems.

Thanks,

Jeff

"John Bailo" <jbailo@vestcom.com> wrote in message
news:cmgvmu$5ap$1@eclipse.org...
> Jeff Liu wrote:
> > Where did you get the plugins?
>
> Go here:
>
> http://www.eclipse.org/downloads/index.php
>
> It says:
>
> "Eclipse Tools downloads are here. Eclipse Technology downloads are
> here. Eclipse WebTools Platform downloads are here."
>
> So I clicked on that link for WebTools Platform and downloaded the *.zip
> and copied those into my Eclipse project directory.
>
> Are the WST tools not ready for prime time ?
>
>
>
>
> AFAIK, the Web service plugins are not in CVS
> > yet (will be soon). If you want to try out some of the Web services
tooling,
> > I suggest you get the initial code contribution. Here's what you need to
do:
> >
> > Go to http://download.eclipse.org/webtools/downloads/ , scroll down to
the
> > bottom of the page. You should see a section called "Initial Code
> > Contributions". Download ibm.zip or ibm-genuitec.zip and extract it on
top
> > of your Eclipse base. Click on the Getting Started Guide link, it has a
> > tutorial in there that takes you through the creation and consumption of
a
> > Web service.
> >
> > Thanks,
> >
> > Jeff
> >
> > "John Bailo" <jbailo@vestcom.com> wrote in message
> > news:cmgevj$92b$1@eclipse.org...
> >
> >>Steven Sholtis wrote:
> >>
> >>
> >>>I am running Eclipse Version: 3.0.1
> >>>Build id: 200409161125 with the IBM.zip plugins and features installed.
> >>>I am trying to follow the sample in the tutorial. I created my own
> >>>class, very simple, just gets a string and returns a string.
> >>>
> >>>I can create the web service and generate the proxy, but for some
> >>>reason, it fails every time when it goes to compile the JSP pages and
> >>
> >>I installed the WST direct from Eclipse.
> >>
> >>I am not sure what to do next, but I went ahead and selected Java Web
> >>Project.
> >>
> >>It lets me select a name, and the version of JSEE to use ( 1.2, 1.3 or
> >>1.4 ) but it doesn't let me select what type of project ( the drop down
> >>has no entries.
> >>
> >>I click Finish and it runs for a few minutes and then it says "cannot
> >>create project..."
> >>
> >>Has anyone been able to work with WST and create a Web Service ?
> >>
> >>Can you point me to a Step By Step ?
> >>
> >
> >
> >
Re: WebServices Create client fails [message #53113 is a reply to message #51935] Wed, 10 November 2004 19:52 Go to previous message
Kathy Chan is currently offline Kathy ChanFriend
Messages: 93
Registered: July 2009
Member
Hi Steven,

You might want to check to make sure that the proxy class the JSP is looking
for is in the WebContent/WEB-INF/classes directory. I tried with the
Eclipse 3.01 200409161125 build as well and was able to get the Web Service
Sample JSP to work properly.

BTW, on top of eclipse-SDK-3.0.1-win32.zip and ibm.zip, what other zips did
you extracted (EMF, GEF, JEM, XSD) and what versions of those zips did you
used?

Kathy Chan

"Steven Sholtis" <sholtis@hotmail.com> wrote in message
news:cme0a0$pbm$1@eclipse.org...
> I am running Eclipse Version: 3.0.1
> Build id: 200409161125 with the IBM.zip plugins and features installed.
> I am trying to follow the sample in the tutorial. I created my own class,
> very simple, just gets a string and returns a string.
>
> I can create the web service and generate the proxy, but for some reason,
> it fails every time when it goes to compile the JSP pages and test the
> service. The web services explorer works fine and the service does work.
> Its only the jsp thats generated that seems to fail.
>
> The following error shows that it cant find the class for the proxy that
> it is creating. It creates another project for the proxy and puts the
> proxy code it generates in it. But, it cant find it for some reason. I am
> guessing that its because Tomcat cant get access to the proxy that it
> created, but, why ? It created the project to begin with and did the
> deployment.
>
>
>
C:\packages\jakarta-tomcat-4.1.31\work\Standalone\localhost\ BOEWebService\sa
mple\Result_jsp.java:49:
> cannot resolve symbol
> symbol : class testProxy
> location: package sample
> sample.testProxy sampleid = null;
>
> Its like the jsp page that its generating cant find the proxy class that
> it generated. Is this because I am missing something so when it goes to
> deploy it, it fails ?
>
> Thanks,
>
> Steven Sholtis
>
Previous Topic:Opening files with a non standard XML extension fails
Next Topic:Creating a Web Service using WTP
Goto Forum:
  


Current Time: Sat Nov 09 01:07:51 GMT 2024

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

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

Back to the top