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
.
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
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.
>
> -
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
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
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
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
.
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
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
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?
10 matches
Mail list logo