This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes SOAP validateUser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAP validateUser " Watch "SOAP validateUser " New topic

SOAP validateUser

Joshua Hilditch

Joined: Sep 06, 2011
Posts: 3
Hey guys. I'm basically trying to create an android application here.#

I'm up to passing the username and password given on the login page and trying to verfy that with a SOAP XML file.

Here is my SOAP 1.1 file on the server.

Now I'm wondering if there are any tutorials or source code I could view to pass the parametres to the form and then get the response confirming the correct username and password.
This will be the first time I've done this so any help would be thanked
Joshua Hilditch

Joined: Sep 06, 2011
Posts: 3
I am using Ksoap2 by the way. I just added the jar to my library.
Joshua Hilditch

Joined: Sep 06, 2011
Posts: 3
This is the code I've tried to implement but I do not think it is working.

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
If you are trying to do basic authentication, then the way you have used is not quite the way it should be done.
Take a look at section 4 in chapter 8 of my electronic book, which you can download freely from, for an example on how to do basic authentication in connection to SOAP web services.
Best wishes!

My free books and tutorials:
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: SOAP validateUser
Similar Threads
unable to connect to .Net web service using axis with java
SOAP Fault for SOAP Action property
how to set an attribute like SOAPAction in the Header?
error while connecting to webservices
how to write soap sending message with java?