Note that there are some explanatory texts on larger screens.

plurals
  1. POCreate web service using Eclipse
    text
    copied!<p>I am trying to create my first webservice using eclipse javaEE under Axis2, i am following this turorial <a href="http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html" rel="nofollow">eclipse tutorial</a> to learn how to make it.I make the webservice but when i want to assure that the ws has been deployed through viewing it through URL, an HTTP status 400 occure. How can I know what is the error?? here what i make exactly:</p> <ul> <li>i make the settings in preferences [ ant , axis2, tomcat and java ].</li> <li>New -> New dynamic web page</li> <li>new ->java (I create the class i want to convert to ws)</li> <li>new ->web service (i want to create bottom up ws).</li> <li>type <a href="http://localhost:8080/Axis2/services/listservices" rel="nofollow">http://localhost:8080/Axis2/services/listservices</a> in the url of browser</li> </ul> <p>this what return <strong>HTTP Status 404 - /services/listservices</strong> </p> <p>can some one tell me how can i know what is the error? or how can i define it?</p> <p><strong>EDIT:</strong> an exception happen in the console of eclipse which is :</p> <pre><code>org.apache.axis2.transport.http.AxisAdminServlet java.lang.ClassNotFoundException: org.apache.axis2.transport.http.AxisAdminServlet </code></pre> <p>what should I do ,in the configuration i specify where is axis2 and eclipse shows </p> <pre><code>Axis2 runtime loaded successfully </code></pre> <p>after creating new work space and create webservice again, this is the output appears in console</p> <pre><code> Dec 20, 2010 8:32:04 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_18\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;F:/alaa college/year 4/1st semester/Advance sw/Libraries/eclipse/jre/bin/client;F:/alaa college/year 4/1st semester/Advance sw/Libraries/eclipse/jre/bin;D:\app\AloOoSh\product\11.1.0\db_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.6.0_18\bin;%ANT_HOME%\bin;%AXIS2_HOME%\bin;%CATALINA_HOME%\bin;C:\Program Files\MATLAB\R2008a\bin;C:\Program Files\MATLAB\R2008a\bin\win32; Dec 20, 2010 8:32:05 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:testFirst' did not find a matching property. Dec 20, 2010 8:32:05 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Dec 20, 2010 8:32:05 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 401 ms Dec 20, 2010 8:32:05 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Dec 20, 2010 8:32:05 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.29 [INFO] Deploying module: addressing-1.4 - file:/D:/EclipseExcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testF irst/WEB-INF/modules/addressing-1.4.mar [INFO] Deploying module: metadataExchange-1.4 - file:/D:/EclipseExcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testFirst/WEB-INF/modules/mex-1.4.mar [INFO] Deploying module: ping-1.4 - file:/D:/EclipseExcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testFirst/WEB-INF/modules/ping-1.4.mar [INFO] Deploying module: script-1.4 - file:/D:/EclipseExcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testFirst/WEB-INF/modules/scripting-1.4.mar [INFO] Deploying module: smtpfault - file:/D:/EclipseExcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testFirst/WEB-INF/modules/smtpfault.mar [INFO] Deploying module: soapmonitor-1.4 - file:/D:/EclipseExcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testFirst/WEB-INF/modules/soapmonitor-1.4.mar [INFO] Deploying Web service: Converter - file:/D:/EclipseExcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testFirst/WEB-INF/services/Converter/ [INFO] Deploying Web service: version.aar - file:/D:/EclipseExcercises/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/testFirst/WEB-INF/services/version.aar Dec 20, 2010 8:32:06 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Dec 20, 2010 8:32:06 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Dec 20, 2010 8:32:06 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/19 config=null Dec 20, 2010 8:32:06 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 1383 ms </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload