• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

SOAP validateUser

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Ksoap2 by the way. I just added the jar to my library.
 
Joshua Hilditch
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is the code I've tried to implement but I do not think it is working.

 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
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 http://www.slideshare.net/krizsan/scdjws-5-study-notes-3085287, for an example on how to do basic authentication in connection to SOAP web services.
Best wishes!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic