A HTTP 400 error code is a "Bad Request". Can you reach the site with a browser? I see you are attempting to upload some data. Is there a service on the server side that can receive data?
hey joe i will let you know. my friend who did the server side module modified the code to accept an xml with base64 rather than sending the inputstream byte array when http posting