dev@jax-ws.java.net

javax.xml.ws.WebServiceException: com.sun.istack.XMLStreamException2

From: LeRoy Hall <leroy_e_hall_at_yahoo.com>
Date: Wed, 16 Jul 2008 11:34:40 -0700 (PDT)

I was wondering if anyone has ever encountered this exception:
 
javax.xml.ws.WebServiceException: com.sun.istack.XMLStreamException2
 
From what I can find on the internet it seems to be coming out of the SAAJMessage class as the result of a SOAPException, but I have found no known causes of the Exception. 
 
Here's the SOAP response that caused the exception:
 
HTTP/1.1 200 OK
Content-Type: text/xml;charset=UTF-8
Content-Length: 733
Date: Wed, 16 Jul 2008 18:29:14 GMT
Server: Tracteur Turbo
 
<?xml version="1.0" encoding="UTF-8"?>
   <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> 
      <S:Header>   
         <wsp:authentication xmlns:wsp="http://xmlota.wspan.com/webservice/">     
            <wsp:userid>***</wsp:userid>     
            <wsp:password>***</wsp:password>     
            <wsp:payloadVersion>2007B</wsp:payloadVersion>   
         </wsp:authentication> 
      </S:Header> 
      <S:Body>   
         <OTA_HotelAvailRS xmlns="http://www.opentravel.org/OTA/2003/05" TimeStamp="2008-07-16T20:29:14.014+02:00" Version="1.006" PrimaryLangID="en" Target="Test" EchoToken="AV">     
            <Errors>       
               <Error Type="3" Code="400">HOTEL NOT IN THE DATA BASE</Error>     
            </Errors>   
         </OTA_HotelAvailRS> 
      </S:Body>
   </S:Envelope>