Ignore:
Timestamp:
06/11/14 10:09:54 (11 years ago)
Author:
pharms
Message:
  • prevention of error due to unparseable SOAP message
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/HTTPLogParser.java

    r1561 r1564  
    200200                 
    201201                InputStream in = new ByteArrayInputStream(content.getData().getBytes(encoding)); 
    202                 return soapMessageFactory.createMessage(null, in); 
     202                SOAPMessage message = soapMessageFactory.createMessage(null, in); 
     203                 
     204                // try to access something to see, if everything worked fine. 
     205                message.getSOAPHeader(); 
     206                message.getSOAPBody(); 
     207                 
     208                return message; 
    203209            } 
    204210            catch (Exception e) { 
Note: See TracChangeset for help on using the changeset viewer.