File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes JAVA/mySQL/Tomcat/SOAP problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JAVA/mySQL/Tomcat/SOAP problem" Watch "JAVA/mySQL/Tomcat/SOAP problem" New topic

JAVA/mySQL/Tomcat/SOAP problem

erika berlam

Joined: Jul 16, 2011
Posts: 1
I have a Java client which is supposed to pass "username" and "password" to the SOAP server which in turn does a query on the mySQL DB and returns an answer. I get a `NullPointerException` error, no matter if the username and passwords are valid or not:

Server Code:

Client encounters the error at `Response risposta = chiamata.invoke(indirizzo, "");`.

This is what i have my localhost_access_log(the last lines):

this is the content of my Catalina:
NFO: Starting service Catalina
Jul 16, 2011 4:26:52 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.14
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jul 16, 2011 4:26:56 PM org.apache.catalina.startup.Cata
Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

I believe, you have not listed the full Stack Trace. Is it possible for you to do so, please?

Not many get the right opportunity !
I agree. Here's the link:
subject: JAVA/mySQL/Tomcat/SOAP problem
Similar Threads
Unable to resolve target object:
Need Assistance With Apache SOAP Issue
Quest to make Client SOAP freely communicate with a SOAP service
Some Doubts in Web service : Error opening socket to