java.lang.NullPointerException

2006-07-17 Thread ybei

I got java.lang.NullPointerException error when I'm creating web service
using 'message' service type. 

The specific method I used is 'public void method(SOAPEnvelope req,
SOAPEnvelope resp);'

For example, my request SOAP is 
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
   xmlns:xsd=http://www.w3.org/2001/XMLSchema;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 /soapenv:Header
 soapenv:Body
gid xmlns=5/gid
 /soapenv:Body
/soapenv:Envelope

In the server side,  I was tring to get the value of 'gid'. After I got the
value and I was going to use this value to query database, ERROR occured.  I
also tried to just System.out.println(that value), ERROR still remained.
It seems that any use of that value will get this error.

soapenv:Body
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;soapenv:Faultfaultcodesoapenv:Server.userException/faultcodefaultstringjava.lang.NullPointerException/faultstringdetailns1:stackTrace
xmlns:ns1=http://xml.apache.org/axis/;java.lang.NullPointerException
at customize.groupList1.deleteSQL(groupList1.java:158)
at customize.groupList1.deleteGroups(groupList1.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider.java:155)
at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at 
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at 
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
/ns1:stackTracens2:hostname
xmlns:ns2=http://xml.apache.org/axis/;manticore/ns2:hostname/detail/soapenv:Fault/soapenv:Body

Any help??

Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/java.lang.NullPointerException-tf1954438.html#a5359933
Sent from the Axis - User forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Where can I find a detail user guide for Axis?

2006-07-17 Thread ybei

The user guide available in the website is too simple. The example attached
with axis package is also too simple. 

Where can I find more detail user guide for Axis?
-- 
View this message in context: 
http://www.nabble.com/Where-can-I-find-a-detail-user-guide-for-Axis--tf1954674.html#a5360690
Sent from the Axis - User forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]