tutorial at the following link

18 views
Skip to first unread message

WebServicesNewbie

unread,
Sep 4, 2009, 10:34:16 AM9/4/09
to vogella
http://www.vogella.de/articles/Webservice/article.html

This tutorial, I have several problems:

When I try to use the link supplied in the tutorial:

http://localhost:8080/de.vogella.webservice.soap.axis2/axis2-web/index.jsp

I get an error message:

The requested resource is not available


I also see errors in the console for Tomcat:

java.lang.NoClassDefFoundError: org/apache/http/HttpResponseFactory
at org.apache.axis2.transport.http.SimpleHTTPServer.init
(SimpleHTTPServer.java:116)
at org.apache.axis2.engine.ListenerManager.init(ListenerManager.java:
74)
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:
449)
at org.apache.catalina.core.StandardWrapper.loadServlet
(StandardWrapper.java:1173)
at org.apache.catalina.core.StandardWrapper.allocate
(StandardWrapper.java:809)
at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
454)
at java.lang.Thread.run(Unknown Source)


Any help would be appreciated.

Thanks

Lars Vogel

unread,
Sep 4, 2009, 11:26:48 AM9/4/09
to vog...@googlegroups.com
Which version of axis2 are you using?

2009/9/4 WebServicesNewbie <v.kr...@gmail.com>:
--
Lars
http://www.vogella.de - Tutorials about Java, Eclipse and Web programming
http://www.twitter.com/vogella - Lars on Twitter

veena pandit

unread,
Sep 4, 2009, 11:32:40 AM9/4/09
to vog...@googlegroups.com
axis2-1.5
 
Thanks for taking a look.
 
Veena

Lars Vogel

unread,
Sep 4, 2009, 11:37:27 AM9/4/09
to vog...@googlegroups.com
Please check http://www.vogella.de/articles/Webservice/article.html
for the correct version to use..

2009/9/4 veena pandit <v.kr...@gmail.com>:

veena pandit

unread,
Sep 4, 2009, 12:55:37 PM9/4/09
to vog...@googlegroups.com
I hope you can help me.  I tried to extrapolate the example to a project at work.
I keep getting a class not found exception.  But that class it is complaining about
is in the project->properties->java build path->libraries.
 
Is that the real problem or is it something else?
 
org.apache.axis2.AxisFault: missing class.
 
Thanks,
 
Veena

WebServicesNewbie

unread,
Sep 7, 2009, 10:44:04 AM9/7/09
to vogella
I have included the jar files that the classes need in a lib directory
and
zipped it in the aar file before I deploy it to Axis2. I am still
getting an
error. Anybody out there who can help me?

Thanks,

WebServicesNewbie.

On Sep 4, 12:55 pm, veena pandit <v.kri...@gmail.com> wrote:
> I hope you can help me.  I tried to extrapolate the example to a project at
> work.
> I keep getting a class not found exception.  But that class it is
> complaining about
> is in the project->properties->java build path->libraries.
>
> Is that the real problem or is it something else?
>
> org.apache.axis2.AxisFault: missing class.
>
> Thanks,
>
> Veena
>
> On Fri, Sep 4, 2009 at 11:37 AM, Lars Vogel <lars.vo...@googlemail.com>wrote:
>
>
>
>
>
> > Please checkhttp://www.vogella.de/articles/Webservice/article.html
> > for the correct version to use..
>
> > 2009/9/4 veena pandit <v.kri...@gmail.com>:
> >  > axis2-1.5
>
> > > Thanks for taking a look.
>
> > > Veena
>
> > > On Fri, Sep 4, 2009 at 11:26 AM, Lars Vogel <lars.vo...@googlemail.com>
> > > wrote:
>
> > >> Which version of axis2 are you using?
>
> > >> 2009/9/4 WebServicesNewbie <v.kri...@gmail.com>:
>
> > >> >http://www.vogella.de/articles/Webservice/article.html
>
> > >> > This tutorial, I have several problems:
>
> > >> > When I try to use the link supplied in the tutorial:
>
> >http://localhost:8080/de.vogella.webservice.soap.axis2/axis2-web/inde...
> > >>http://www.vogella.de- Tutorials about Java, Eclipse and Web
> > programming
> > >>http://www.twitter.com/vogella- Lars on Twitter
>
> > --
> > Lars
> >http://www.vogella.de- Tutorials about Java, Eclipse and Web programming
> >http://www.twitter.com/vogella- Lars on Twitter- Hide quoted text -
>
> - Show quoted text -

vogella

unread,
Sep 10, 2009, 5:27:34 AM9/10/09
to vogella
Hello,

Axis 2 1.5 is not supported. Please see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=282466

Best regards, Lars
> > > >>http://www.vogella.de-Tutorials about Java, Eclipse and Web
> > > programming
> > > >>http://www.twitter.com/vogella-Lars on Twitter
>
> > > --
> > > Lars
> > >http://www.vogella.de-Tutorials about Java, Eclipse and Web programming
> > >http://www.twitter.com/vogella-Lars on Twitter- Hide quoted text -

veena pandit

unread,
Sep 10, 2009, 8:26:22 AM9/10/09
to vog...@googlegroups.com
Hi Lars,
 
Thanks so much for getting back to me.  I had to use the eclipse plug in tools the Service Archiver to
generate the archive file and that works.
So I was able to generate the service, but now I am having other problems.  I can't pass in two arguments
to the service.  for example:
 
 
 
But please note that in place of IBM it is a big string separated by spaces and has special characters,
 
Any suggestions?
 
Veena

Lars Vogel

unread,
Sep 10, 2009, 8:32:07 AM9/10/09
to vog...@googlegroups.com
Hi,


Best regards, Lars


2009/9/10 veena pandit <v.kr...@gmail.com>
Reply all
Reply to author
Forward
0 new messages