I'm trying to send simple xml data/file to my HTTP server via my android app. My http server is already receiving XMl data from other services, so I know it's not my XML receiver. I found this example (attached as code):
However, I can not get this to work. Is the above the correct way of sending a string as XML, or is there some encoding involved? Can someone provide me with a working example?