You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by wh...@apache.org on 2005/07/13 11:54:45 UTC

cvs commit: ws-axis/c/tests/auto_build/testcases/tests AwkwardErrorResponse.xml

whitlock    2005/07/13 02:54:45

  Added:       c/tests/auto_build/testcases/output
                        AwkwardErrorResponse.expected
                        AwkwardErrorResponse_ServerResponse.expected
               c/tests/auto_build/testcases/tests AwkwardErrorResponse.xml
  Log:
  Create the AwkwardErrorResponse unit test
  
  Revision  Changes    Path
  1.1                  ws-axis/c/tests/auto_build/testcases/output/AwkwardErrorResponse.expected
  
  Index: AwkwardErrorResponse.expected
  ===================================================================
  Exception : Error 500: Server caught unhandled exception from servlet [DataHandlerService]: WSWS3259E: Error: Error reading data stream:  WSWS3024E: Root part containing SOAP envelope not found.  contentId = 2
  ---------------------- TEST COMPLETE -----------------------------
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/output/AwkwardErrorResponse_ServerResponse.expected
  
  Index: AwkwardErrorResponse_ServerResponse.expected
  ===================================================================
  HTTP/1.1 500 Internal Server Error
  Server: WebSphere Application Server/5.1
  Content-Type: text/html;charset=ISO-8859-1
  Content-Language: en-GB
  Transfer-Encoding: chunked
  
  c7
  Error 500: Server caught unhandled exception from servlet [DataHandlerService]: WSWS3259E: Error: Error reading data stream:  WSWS3024E: Root part containing SOAP envelope not found.  contentId = 2
  
  0
  
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/tests/AwkwardErrorResponse.xml
  
  Index: AwkwardErrorResponse.xml
  ===================================================================
  <test>
      <name>AwkwardErrorResponse</name>
      <description>
  This is a non-SOAP error that I once got back from WAS that was triggered by a bug in Axis C++. Axis C++ could
  not cope with this error since it is not XML. I've now fixed the bug in Axis C++ so I've added in this unit test
  to check that Axis C++ can continue to cope with such error responses.
      </description>
      <clientLang>cpp</clientLang>
      <clientCode>CalculatorDocClient.cpp</clientCode>
      <wsdl>CalculatorDoc.wsdl</wsdl>
      <expected>
          <output>
              AwkwardErrorResponse.expected
          </output>
          <serverResponse>
  		AwkwardErrorResponse_ServerResponse.expected
          </serverResponse>
      </expected>
  	<endpoint>http://localhost:80/axis/CalculatorDoc</endpoint>
  </test>