hi please help with the error.i have mobile app which is connecting to mssql using a webservice .i am getting the following output :

<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope"><faultcode>S:Client</faultcode><faultstring>Couldn't create SOAP message due to exce
output :ption: XML reader error: com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character (NULL, unicode 0) encountered: not valid in any content&#xD;
at [row,col {unknown-source}]: [1,1]</faultstring></S:Fault></S:Body></S:Envelope>

Apache server is showing messsge:

Caused by: com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character (NULL, unicode 0) encountered: not valid in any content

Following is the code with which am connecting to the webservice:

 HttpConnection connection=null;
  DataInputStream input;
  DataOutputStream output;
 String URL ="http://localhost:8084/Authenticate/authenticate";
 
 connection = (HttpConnection) Connector.open(URL);
 connection.setRequestMethod(HttpConnection.POST);
 
     connection.setRequestProperty("Content-Type","text/xml");
     connection.setRequestProperty("Accept","text/xml");
 
     output = connection.openDataOutputStream();
 
       output.write(strParam.getBytes());
      output.write(strParam1.getBytes());
 
     output.close();
        try {
                input=connection.openDataInputStream();
        } catch (Exception e) {
            e.printStackTrace();
        }
 
     byte[] b = new byte[255];
 
   while((ch = input.read(b))>0)
     {
         String s = new String(b, 0, ch);
         System.out.println("output :"+s);
 
     }
 
     input.close();