Hi
I am using the tomcat to deploy my web service,i placed the axis2.war file
in the webapps folder. Then i placed the .aar file in "....Tomcat
5.5\webapps\axis2\WEB-INF\services". The problem is that I am getting this
error message when i try to see the wsdl "
http://localhost:8080/axis2/services/HelloWorld?wsdl" i get the below
error. I just followed the tutorial buti want toknow if i want to know
where to include third part jar files. The tutorial never talks about where
to place the WSDL file?
"org.apache.axis2.AxisFault: null; nested exception is:
java.lang.NullPointerException
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:732)
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:597)
org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:186)
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:181)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
*note* *The full stack trace of the root cause is available in the Apache
Tomcat/5.5.23 logs.*"
The stack trace shows "May 17, 2007 1:18:02 PM
org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet AxisServlet threw exception
org.apache.axis2.AxisFault: null; nested exception is:
java.lang.NullPointerException
at org.apache.axis2.description.AxisService.getWSDL(AxisService.java
:732)
at org.apache.axis2.description.AxisService.printWSDL(AxisService.java
:597)
at org.apache.axis2.transport.http.ListingAgent.processListService(
ListingAgent.java:186)
at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java
:181)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.apache.axis2.description.AxisService2OM.generateOM(
AxisService2OM.java:128)
at org.apache.axis2.description.AxisService.getWSDL(AxisService.java
:727)
... 19 more"
Thanks
Anil
On 5/17/07, Glen Mazza <[EMAIL PROTECTED]> wrote:
Sorry, I've never used SimpleHTTPServer before, so I'm unsure.
I would recommend getting the AXIS2.WAR file from the downloads, and
installing it on Tomcat instead of using SimpleHTTPServer. Then install
your web services within the Axis2 web application. If you don't know
how to use Tomcat, then you'll need to go to the Tomcat home page for
tutorial information. For the most part, you have to know basic Tomcat
(or another servlet container) functionality before you can work with
Axis2.
Glen
Anil Chukkapalli escribió:
> Hi
>
> Another newbie question. In the tutorial "http://wso2.org/library/95"
>
> ". The axis2-std-SNAPSHOT-bin distribution comes with a "bin" directory
> which contains a Linux shell script and a Windows batch file to start
> the SimpleHTTPServer: http-server.sh and http-server.bat Start the
> server pointing to my-axis2-repo directory:"
>
> where can i find "axis2-std-SNAPSHOT-bin" or the batch file
> "htp-server.bat". The intention is to "Start the server pointing to
> my-axis2-repo directory". if I can get the batch file then i can deploy
> the service and test out my Client.
>
> Thanks
> Anil
>
> On 5/17/07, * Glen Mazza* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Quite Literally:
> http://wso2.org/library/95
>
> Also, here's my attempt:
> http://www.jroller.com/page/gmazza?entry=creating_a_web_service_with
> <
http://www.jroller.com/page/gmazza?entry=creating_a_web_service_with>
>
> For more articles, check the library at WS02 (
http://wso2.org/library)
> and the Axis knowledge base
> (http://ws.apache.org/axis2/articles.html
> <http://ws.apache.org/axis2/articles.html>).
>
> Glen
>
>
> Am Donnerstag, den 17.05.2007, 10:22 -0700 schrieb Anil Chukkapalli:
> > Hi
> >
> > I am an newbie in Axis2 deployment. Can anyone provide me with a
> > hello world example for deploying an Axis2 web service in Java.
> >
> >
> > Thanks
> > Anil
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]