I need to send 3 things from my app to a web service: username + password and a message which contains more XML.
request.addProperty("username", username);
request.addProperty("password", password);
request.addProperty("message", UitVoer); // uitvoer is a String that contains XML
I use the ksoap2 librabry which always worked great for android <-> web service, but atm I’m not sure if it still works for what I need.
When I check my envelope.bodyOut, all tags and < > signs look like they should.
But then I get an error message from the web service with the XML I sent, and it shows the HTML code for those signs.
Does ksoap2 replace the signs and should I use another way to send my stuff to the web service, or is there something wrong on the web service side?
(I have no control over the web service so I have no clue what it does on that side.)
This is how you build an xml request; hope this helps:)