AW: [Axis2] How to debug NPE

2011-09-26 Thread Stadelmann Josef
Betreff: Re: [Axis2] How to debug NPE I finally found the source of the problem. The name of the service in the WSDL and services.xml files were different than the name set in the last part of the endpoint (.../services/ServiceName). I did not know those had to match. A lot of debugging turned

Re: [Axis2] How to debug NPE

2011-09-19 Thread Jack Sprat
. From: Jack Sprat To: "java-user@axis.apache.org" Sent: Tuesday, September 13, 2011 5:20 PM Subject: Re: [Axis2] How to debug NPE I was able to get the error returned in the SOAP response after removing the custom handler.  It is: The service cannot be found for th

Re: [Axis2] How to debug NPE

2011-09-13 Thread Amila Suriarachchi
null. > > This handler is called from the AxisEngine class, which is called from the > HTTPTransportUtils class. What would be causing the MessageContext object > in the HTTPTransportUtils class to have the null fields? > > Thanks for any tips. > > -

Re: [Axis2] How to debug NPE

2011-09-13 Thread Jack Sprat
G:>> "   [\n]" Tue Sep 13 17:09:00 EDT 2011:DEBUG:>> "  test 2011-09-13 at 1640[\n]" Tue Sep 13 17:09:00 EDT 2011:DEBUG:>> "   [\n]" Tue Sep 13 17:09:00 EDT 2011:DEBUG:>> "" What can I check to find out why Axis2 cannot find

Re: [Axis2] How to debug NPE

2011-09-13 Thread Jack Sprat
Utils class.  What would be causing the MessageContext object in the HTTPTransportUtils class to have the null fields? Thanks for any tips. From: Jack Sprat To: "axis-u...@ws.apache.org" Sent: Monday, September 12, 2011 3:51 PM Subject: [Axis2] H

Re: [Axis2] How to debug NPE

2011-09-12 Thread Jack Sprat
reply. From: Deepal Jayasinghe To: java-user@axis.apache.org Sent: Monday, September 12, 2011 6:09 PM Subject: Re: [Axis2] How to debug NPE Could you please send us the complete stack trace ? Deepal The Websphere server is running in debug mode.  I have a breakpoint already set in the

Re: [Axis2] How to debug NPE

2011-09-12 Thread Deepal Jayasinghe
ervice? How can I tell where the NPE is occurring? > > Thanks. > > > *From:* Deepal jayasinghe > *To:* java-user@axis.apache.org > *Sent:* Monday, September 12, 2011 4:46 PM > *Subject:* Re: [Axis2] How

Re: [Axis2] How to debug NPE

2011-09-12 Thread Jack Sprat
. From: Deepal jayasinghe To: java-user@axis.apache.org Sent: Monday, September 12, 2011 4:46 PM Subject: Re: [Axis2] How to debug NPE You need to do the remote debugging, or else you can setup the server code in your IDE and start a simple HTTP server and test your code. Look at

Re: [Axis2] How to debug NPE

2011-09-12 Thread Deepal jayasinghe
You need to do the remote debugging, or else you can setup the server code in your IDE and start a simple HTTP server and test your code. Look at "Listing 2. Deploying a POJO in Axis2" here - http://www.ibm.com/developerworks/library/ws-axis2soap/index.html Deepal > I've got a new Axis2 1.5.2 web

[Axis2] How to debug NPE

2011-09-12 Thread Jack Sprat
I've got a new Axis2 1.5.2 web service using XML Beans binding.  The code was generated with WSDL2Java.  I can access the WSDL using the ?wsdl link. There is a simple echo operation to test connectivity.  This yields a Null Pointer exception in the SOAP reply. My question is how do I debug this?