Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: String Values ​​Going Empty! KSOAP2 (Android(Java) & SOAP)

  1. #1
    Junior Member
    Join Date
    Aug 2021
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation String Values ​​Going Empty! KSOAP2 (Android(Java) & SOAP)

    Hello there,

    I am connecting to web service with SOAP using KSOAP2 library. I'm currently having a problem that I can't get out of for the user login section.

    When I send data via **** POST, it returns "successful" as 'result'. However, when I test the web service with SOAP, the email or password does not reach the other party.

    Actually I did not detect this issue in java debug mode. I kept a log on the web service server and noticed that there was no data coming. The problem is that when I check in java string values ​​appear full. So the data is lost somewhere on the way

    Could you help?

    You can view my code here. I couldn't share it here because the code contains URL.

    stackoverflow.com/questions/68792989/with-http-post-the-data-goes-fine-when-i-send-data-with-soap-it-goes-empty-null

  2. #2
    Junior Member
    Join Date
    Aug 2021
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: String Values ​​Going Empty! KSOAP2 (Android(Java) & SOAP)

    I forgot to add "/" sign at the end of Namespace. Yes, that's the only problem and solution

Similar Threads

  1. Continuously get user's input until an empty string is entered
    By help_desk in forum Java Theory & Questions
    Replies: 6
    Last Post: July 26th, 2014, 01:40 PM
  2. Compile error - empty string?
    By mrivera85 in forum What's Wrong With My Code?
    Replies: 6
    Last Post: July 2nd, 2014, 02:03 PM
  3. Replies: 3
    Last Post: October 26th, 2012, 02:19 PM
  4. SAAJ - Empty SOAP Response / Null Pointer Exception
    By adisarun in forum Member Introductions
    Replies: 0
    Last Post: January 26th, 2012, 06:49 AM
  5. Simple Java SOAP client
    By andy in forum Java Networking
    Replies: 3
    Last Post: December 16th, 2010, 04:05 PM

Tags for this Thread